HamroCSIT Logo
HAMRO CSIT
  • Course New
  • Entrance
    • Entrance Preparation
    • MCQ Questions
    • Colleges
    • Entrance Class
    • Entrance Books
    • Free Entrance Video Course
  • Semester
    • First Semester
    • Second Semester
    • Third Semester
    • Fourth Semester
    • Fifth Semester
    • Sixth Semester
    • Seventh Semester
    • Eight Semester
  • Questions
  • Subscription Automated
  • Notices
  • Articles
  • More
    • Ask Question
    • College Ambassadors
    • Financial Support Program
    • Contribute
    • Contact Us
Login Register
Hamro CSIT User Account
  • Sign In
  • Create Account


Shape | Hamro CSIT Shape | Hamro CSIT Shape | Hamro CSIT Shape | Hamro CSIT
Subject

Advanced Java Programming

This course familiarizes students with basic as well as advanced features of Java Programming Emphasis will be given to GUI and event-driven programming, Database Connectivity, Socket Programming, Servlets and JSP Technology, and Distributed Programming.

Subject Image | Hamro CSIT
  • Chapters
  • Syllabus
  • Question Banks
  • Questions
  • Text Book
  • Practical
  • Viva

Exam Year

  • Advanced Java Programming 2082
  • Advanced Java Programming Model Set II
  • Advanced Java Programming 2081
  • Advanced Java Programming 2080
  • Advanced Java Programming Model Set
  • Advanced Java Programming 2079
  • Advanced Java Programming 2078
  • Advanced Java Programming 2077

Tribhuvan University

Institute of Science and Technology

Model-Set-II

Bachelor Level / seventh-semester / Science

Computer Science and Information Technology( CSC409 )

Advanced Java Programming

Full Marks: 60 + 20 + 20

Pass Marks: 24 + 8 + 8

Time: 3 Hours

Candidates are required to give their answers in their own words as far as practicable.

The figures in the margin indicate full marks.

Section A

1

Why is multithreading important? Explain thread life cycle with proper state diagram. Write a program that reads data of employees from the keyboard and write it into the file emp.doc using proper exception handling with try…catch blocks.

2

Write a program that divides the frame into five regions by using border layout and then add panels in the east, north and center region. Finally add some descriptive label in the north panel, buttons with icon in the east panel and a sample form in the center panel. You can further subdivide the center panel, if necessary. Prepare a program with three text boxes First Number, Second Number, and Result and four buttons add, subtract, multiply and divide. Handle the events to perform the required operation and display results.

3

What is Servlet? Create an application where an HTML file displays a form containing field company name, city and ESTD and a save button and when we click on save button it must save records in the database.

Section B

4

What is the difference between final, finally, and finalize keywords in Java?

5

How is exception different from error? Differentiate throws and throw keywords. When is the block finally important?

6

Explain flow layout manager with suitable constructors and demonstrate it by using suitable java code.

7

Write a program to create a form with employee id, name, salary fields and two buttons add and cancel using appropriate components.

8

What is an adapter class? Explain advantages of adapter classes over listener interfaces with suitable examples.

9

What is a prepared statement? When is it useful? Explain its use with suitable java code.

10

Write the steps for writing client and server programs using TCP with a suitable example.

11

What is JavaFX? How it is different from swing. Write a JavaFX program to create a form to read two numbers and display their sum on button click.

12

What is RMI? Discuss stub and skeleton. Explain its role in creating distributed applications.

Advanced Java Programming Question Bank Solution Model-Set-II
Solution Video
Solution
Share

Share this link via

Or copy link

logoHAMROCSIT

Hamro CSIT is a comprehensive web and mobile platform that provides B.Sc. CSIT students with resources like notes, syllabi, question banks, solved past papers, practical files, and free entrance preparation materials — all in one place.

  • [email protected]
Semester
  • First Semester
  • Second Semester
  • Third Semester
  • Fourth Semester
  • Fifth Semester
  • Sixth Semester
  • Seventh Semester
  • Eighth Semester
Links
  • About Us
  • FAQs
  • Sitemap
  • Privacy Policy
  • Terms and Conditions
  • College Ambassadors
  • Financial Support Program
Hits Counter
20119804
Google Play App Store
Follow Us

Copyright 2026 | HAMROCSIT | All Right Reserved

Official Payment Partner Esewa Logo
Seventh Sem Discount - Limited Spots

HAMROCSIT.COM

Copyright 2024 | HAMROCSIT.COM | All Right Reserved - Nymna Technology