HamiIT
Sign inGet started
Home
Theme
ADD CONTENT

Sign in Required

Please sign in to add content

Sign In
ProgramsBCASemester 6Advanced Java Programming2024

BCA Semester 6 – Advanced Java Programming 2024 TU FOHSS Final Exam Questions & Answers

10 Questions•65 Marks•TU FOHSS

Tribhuvan University

Faculty of Humanities & Social Sciences

OFFICE OF THE DEAN

2024

Bachelor in Computer Applications
Course Title: Advanced Java Programming

Semester: Semester 6

Full Marks: 60

Pass Marks: 24

Time: 3 hours

Candidates are required to answer the question in their own words as far as possible.

Group B

Attempt any SIX question.

2

What is the use of WindowEvent? List different methods of WindowListener interface with its uses.

3

How can you display images in GUI using Java? Explain.

4

Why do we need to create JavaBeans? Explain the steps involved in the creation of a JavaBean.

5

What is the use of PreparedStatement? Differentiate between Statement and PreparedStatement.

6

What are declaration and expression tags in JSP? Explain with examples.

7

What is RMI? Write a RMI client and server program to find the greater number among two numbers.

8

Write short notes on (Any two):

a) JMenuBar

b) Session handling in Servlet

c) Marshalling and Unmarshalling of arguments in RMI

Group C

Attempt any TWO questions

9

Why do we need to use layout managers in GUI programming? Write a program to create a GUI form that takes data about a customer including cid, name, address, email and age and insert these data into the Customer table of the Shop database.

10

Explain the lifecycle of a Java Servlet. Write a servlet program that takes three numbers from an HTML page and computes the sum of natural numbers up to the greatest number among the three numbers.

11

What is directive element in JSP? Explain in detail. Create a JSP page that verifies the username and password entered form an HTML file and if the username and password are correct it displays a greetings message. Otherwise, it redirects to the register page.

Showing 10 questions

*** END OF QUESTION PAPER ***

Exam Years

Sample Questions

What is the use of WindowEvent? List different methods of WindowListener interface with its uses.

Marks: 5Chapter: Unit 1: GUI Programming (12Hrs)

WindowEvent in Java Definition: A WindowEvent represents events generated by window actions such as opening, closing, minimizing, maximizing, or activating a window in Java GUI applications. Use:

How can you display images in GUI using Java? Explain.

Marks: 5Chapter: Unit 1: GUI Programming (12Hrs)

Displaying Images in Java GUI Definition In Java GUI, images can be displayed using Swing components like JLabel or Canvas by loading the image into an ImageIcon or Image object. --- Steps to Displa

Why do we need to create JavaBeans? Explain the steps involved in the creation of a JavaBean.

Marks: 5Chapter: Unit 3: JavaBeans (7Hrs)

Why We Need to Create JavaBeans Definition: A JavaBean is a reusable software component written in Java that can be manipulated visually in a builder tool. It follows specific conventions for proper

What is the use of PreparedStatement? Differentiate between Statement and PreparedStatement.

Marks: 5Chapter: Unit 2: Database Programming (7Hrs)

PreparedStatement in Java Definition: PreparedStatement is a precompiled SQL statement in JDBC that allows you to execute parameterized queries. It is used to improve performance, security, and read

What are declaration and expression tags in JSP? Explain with examples.

Marks: 5Chapter: Unit 4: Servlets and JSP (14Hrs)

Declaration and Expression Tags in JSP JSP provides scripting elements to embed Java code within HTML pages. Two important scripting tags are declaration and expression tags. --- 1. Declaration Tag <

And more questions available on this page.

About Advanced Java Programming Past Questions

This page contains the complete 2024 TU FOHSS Final examination paper for Advanced Java Programming, part of the BCA Semester 6 curriculum. All questions are from official Tribhuvan University (TU) exam papers.

How to Use This Resource

  • Practice each question thoroughly before checking the answer
  • Use the answers as reference to understand the expected format
  • Time yourself to simulate exam conditions
  • Review chapter concepts if you struggle with any question
  • Link to specific questions using #q1, #q2, etc. in the URL

Related Resources

← Back to Advanced Java Programming Chapters

Advanced Java Programming 2024 TU FOHSS Final past questions with answers for BCA students in Nepal. Prepare for Tribhuvan University (TU) exams with our comprehensive question bank and model answers.

H
Hami IT

Empowering IT students with quality education resources and comprehensive exam preparation materials.

Programs

  • Flutter
  • Java
  • DevOps

Company

  • About Us
  • Contact
  • Terms of Service
  • Privacy Policy

Contact

  • 📧contact@hamiit.com
  • 📞+977 9813706443
  • 📍Kathmandu, Nepal

Community

  • Join Discord
  • Report a bug
  • Request feature

© 2026 Hami IT. All rights reserved.