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.

7
Questions
45
Marks
Back to All Chapters

How do you execute SQL statements using JDBC? Explain with an example.

MediumTHEORY5 marks2021(TU FOHSS Final)

Compare result set with row set. Explain a prepared statement with an example.

MediumTHEORY5 marks2021(TU FOHSS Final)

How the data can be accessed through a resultset object? Explain forward only, scroll-insensitive and scroll-sensitive resultsets.

MediumTHEORY5 marks2022(TU FOHSS Final)

What is the use of RowSet interface? Explain connected and disconnected rowsets.

MediumTHEORY5 marks2023(TU FOHSS Final)

Explain JDBC architecture. Write a program to insert three records into a table Item which is in the database Shop and contains the columns ItemID, Name, UnitPrice, Units and ExpiryDate.

HardTHEORY10 marks2023(TU FOHSS Final)

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

MediumTHEORY5 marks2024(TU FOHSS Final)

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.

HardTHEORY10 marks2024(TU FOHSS Final)
Showing 7 questions

Unit 2: Database Programming (7Hrs) chapter questions with answers for Advanced Java Programming (BCA Semester 6). Prepare for TU exams with our comprehensive question bank and model answers.