Advanced Java Programming (CSC419) 2079 BS Past Questions & Solutions

Tribhuvan University (TU) 2079 BS board exam question paper with verified step-by-step solutions for BSc CSIT Seventh Semester.

TRIBHUVAN UNIVERSITY

INSTITUTE OF SCIENCE AND TECHNOLOGY

2079 B.S.

Bachelor Level: B.Sc. CSIT

Semester: Seventh Semester

Subject: Advanced Java Programming (CSC419)

Full Marks: 60 / 80

Pass Marks: 24 / 32

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

Group A

Long Answer Questions

Attempt any Two questions.

  1. 1
    Explain features of object-oriented programming. Create a class Distance with private variables feet of type integer and inches of type floating point. Use suitable constructor, and methods for adding and comparing two distance objects. [Hint: 1 feet = 12 inches]
  2. 2
    Why do we need layout management? Explain any two layout managers with example. Write a simple GUI program that displays "Hello World" in a text field. The program should display output if user clicks a button.
  3. 3
    Define JSP. What are the benefits of using JSP? Create a HTML file with two text fields to first name and last name. Create a JSP file that reads data from the HTMLform and display full name.

Group B

Short Answer Questions

Attempt any Eight questions.

  1. 4
    What is multithreading? How can you create multithreaded program in Java? Explain.
  2. 5
    What is grid layout? Compare grid layout with grid bag layout.
  3. 6
    Why do we need event handling? Explain the use of action event with example.
  4. 7
    Explain JDBC driver types. What is scrollable result set?
  5. 8
    Write Java programs that send messages with each other using TCP socket.
  6. 9
    What is JavaFX? Compare it with swing. Explain FlowPane layout of JavaFX.
  7. 10
    Compare JSP with servlet. What are different implicit objects in JSP?
  8. 11
    Define RMI. Explain architecture of RMI.
  9. 12
    Write short notes on: a. Final class b. Result set
Advanced Java Programming (CSC419) 2079 BS Past Questions | BSc CSIT 7th Sem