Chapter Study

BCA Semester 6 Advanced Java Programming () Questions & Answers | Past TU Exam Papers

Practice from Advanced Java Programming with detailed solutions and model answers from past Tribhuvan University exams.

9
Questions
65
Marks
Back to All Chapters

How do you set and get Cookie in Servlet? Explain using a suitable Java program.

MediumTHEORY5 marks2021(TU FOHSS Final)

Explain different scripting elements of JSP with examples.

MediumTHEORY5 marks2021(TU FOHSS Final)

What are the differences between servlets and Java applications? Explain different methods used for handling cookies in Java.

MediumTHEORY5 marks2022(TU FOHSS Final)

Differentiate between declaration and expression tags used in JSP. Also create a JSP page that contains three textboxes to input three numbers and a button. It should display the greatest number among three numbers when the button is clicked.

HardTHEORY10 marks2022(TU FOHSS Final)

What are the key methods provided in HttpSession interface for handling sessions? Explain.

MediumTHEORY5 marks2023(TU FOHSS Final)

Differentiate between servlet and JSP. Create a servlet that computes and displays the factorial of an input number entered from a page when the button from that page is pressed by the user.

HardTHEORY10 marks2023(TU FOHSS Final)

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

MediumTHEORY5 marks2024(TU FOHSS Final)

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.

HardTHEORY10 marks2024(TU FOHSS Final)

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.

HardTHEORY10 marks2024(TU FOHSS Final)
Showing 9 questions

Unit 4: Servlets and JSP (14Hrs) chapter questions with answers for Advanced Java Programming (BCA Semester 6). Prepare for TU exams with our comprehensive question bank and model answers.