0% found this document useful (0 votes)
65 views

Adv Java question paper 2024

This document outlines the examination structure for the B.C.A. Degree in Java and J2EE for the June/July 2024 session, detailing the maximum marks, time duration, and question format. It includes two parts: Part A with short answer questions and Part B with detailed questions from various units covering topics like enumeration, Java Beans, collection framework, servlets, and JDBC. The document serves as a guide for students to prepare for their advanced Java examination.

Uploaded by

akshayamith887
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
65 views

Adv Java question paper 2024

This document outlines the examination structure for the B.C.A. Degree in Java and J2EE for the June/July 2024 session, detailing the maximum marks, time duration, and question format. It includes two parts: Part A with short answer questions and Part B with detailed questions from various units covering topics like enumeration, Java Beans, collection framework, servlets, and JDBC. The document serves as a guide for students to prepare for their advanced Java examination.

Uploaded by

akshayamith887
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 2
reg. No. [_| BCACACN 602 1 B.C.A. Degree Examination, June/July 2024 3 - 2024 Batch Onwards) JAVA AND J2EE ty Sixth Semester! (NEP 2020) (202: ADVANCED J: Max. Marks : 60 Time : 2 Hours rt — A and any one Note; Answer any six questions from Pa full question of each Unit from Part — B. PART -A reated ? (6x2=12) a) What is an enumeration ? How enumeration can be cr b) List two advantages of Java Beans. c) Whatis collection framework ? List any two goal d) Write the differences between hasNext() and next() method. e) Provide the syntax and an example for the charAt() method to extract characters from a string. f) State two advantages of using dist computing. g) What are serviets ? h) What is the difference between the execul methods of a statement object in JDBC ? Is of collection framework. ributed computing over centralized teQuery() and executeUpdate() PART -B Unit -1 . a) Demonstrate the usage of the valueOf() and values() methods with an example. b) With an example explain how enumeration values are used to control a switch statement. a) What is Autoboxing and Unboxing ? Explain with an example. (6+6) b) Write short note on the following : i) Bound and constrained properties ii) Persistence. (646) P.T.0. Scanned with CemScanner Bcacacn 602 4. a) MUAHHH Hey Unit — 1 ist interface wit in with an exam ‘ava program that demo; strates the y 9 strings in reverse order, S2€ ofa custom co 5. a) Explain the roles and Fesponsibilities of the components in the MVC architecture, b) Explain the usage Of the for-each loop in yu, Compare and contrast the for-each loo, Pen working with Collections, using an Iterator. ‘he traditional approaen of )) List any three Methods of Li ii) What is an iterator 2 Explai b) Write ay, for sortin th its, Purpose, ple, Mparator (646) Moder, View ang Controlter (646) Unit — 1 6. a) With an example explain the four Methods of StringButter class. b) Outline the key steps involved in developing a basic Remote Method Invocation (RMI) Application. (68) 7. a) Whatis the usage of delete() and deleteCharAt() ‘methods ? Explain them using their syntax and an example. b) Explain the Advantages and Disadvantages of distributed computing. (6+6) Unit - IV i it let (init(), service(), 8. a) Explain the three key methods in the lifecycle of a servlet (init() destroy()). terface with their i) HttpServietRequest inter b) Explain the following methods of Http’ syntax i) getCookies ii) getMethod ) fa 0 iti) getPathint fa Java Server Page (JSP). iv) getSession. involved in the lifecycle of 2 in the key stages involve lain. (6+6) 9. a) Explain JDBC statements ? Exp b) i) What are the in the steps to conne| t to the database In java. ps to connec! t the ii) Explai Scanned with CemScanner

You might also like