Automatically extracted historical question data. Academic accuracy and examination rules require verification.
Section marks require review. Marks charts are withheld.
Part A — 1
WhatWhat willwill bebe thethe OutputOutput ofof thethe belowbelow code?code? 2 1 L3
publicpublic classclass AA {{
publicpublic staticstatic voidvoid main(Stnng[]main(Stnng[] ergs)ergs)
{{
ifif (true)(true)
breat<;breat<;
}} 1
}}
Other Or UnclassifiedSource quality review required
Part A — 2
Define Autoboxing and Auto-unboxing. 2 1 L I
DefinitionSource quality review required
Part A — 3
What are the main differences between array and collection? 2 2 L2
' 4 After having started a child thread, how do we wait in the parent 2 Z L3
thread for the termination of the child thread?
DefinitionSource quality review required
Part A — 5
Identify the role of a callback function in performing a partial page 2 3 L2
update in an AJAX application.
Other Or UnclassifiedSource quality review required
Part A — 6
Write the speech synthesis processing steps in speech synthesis 2 3 L2
markup language.
Other Or UnclassifiedSource quality review required
Part A — 7
Distinguish between CGI and Servlets. 2 4 L2
ComparisonSource quality review required
Part A — 8
What is JDBC?What are the various drivers of J D B C 2 4 L I
DefinitionSource quality review required
Part A — 9
Differentiate NodeJS and Java script. 2 5 L I
ComparisonSource quality review required
Part A — 10
List the important components in android architecture. 2 5 L I
Short DescriptionSource quality review required
Part B — 11a
(a) Write a Java application to generate Electricity bill using 13 1 L4&S
inheritance and Java packages. Create a class with the following
members: Consumer no., consumer name, previous month
reading, current month reading, type of E B connection (i.e
domestic or commercial). Compute the bill amount using the
following tariff.
If the type of the E B connection is domestic.
calculate the amount to be paid as follows: First 100 units - Rs. 1 per unit •
101-200 units - Rs. 2.50 per unit
201 -500 units - Rs. 4 per unit
> 501 units - Rs. 6 per unit
If the type of the E B connection is commercial, lluJi
calculate the amount to be paid as follows: First 100 units - Rs. 2 per unit w
101-200 units - Rs. 4.50 per unit
201 -500 units - Rs. 6 per unit
> 501 units - Rs. 7 per unit
Other Or UnclassifiedSource quality review required
Part B — 11b
(b)(i) Write a Java program to calculate the area of rectangle, circle 6 1 13
and triangle using the concept of abstract class.
(ii) Write an application that inputs a telephone number as a string in 7 L2&3
the form (555) 555-5555. The application should use String
method split to extract the area code as a token, the first three
digits of the phone number as a token and the last four digits of
the phone number as a token. The seven digits of the phone
number should be concatenated into one string. Both the area
code and the phone number should be printed. Then add the
exception handling exceptions for the same problem.
Other Or UnclassifiedSource quality review required
Part B — 12a
(a) Assume you have a text file that contains student's records. Each 13 2 L3
line contains a record that has the following data: a student's
ID(int), name(string) and three grades(double) separated by
space characters. Write an application to read this file and create
a new file to save the same data using object serialization.
Then, display information about whether the file exists, whether
the file is readable, or writable, the type of file and the length of
the file in bytes.
Other Or UnclassifiedSource quality review required
Part B — 12b
(b)12(b) Design a connection oriented Chat Application using Java socket 13 _ 2 L3
programming, along with a Graphical User Interface (GUI) for the
server and client. The chat application should allow real-time
communication between a server and multiple clients, with a
user-friendly interface.
Other Or UnclassifiedSource quality review required
Part B — 13a
(a) Design a registration form for an email account, including all 13 L3
necessary validations using JavaScript and accessing its DOM
Elements using Java Script and JQuery Objects
DesignSource quality review required
Part B — 13b
(b) Build an online shopping website using XML and JSON based 13 3 L3
AJAX and give Dynamic Access and Manipulate the Web Pages
using Java Script and JQuery
Other Or UnclassifiedSource quality review required
Part B — 14a
(a) Write a program that allows the user to select a favorite 13 4 L3
programming language and post the choice to the server. The
response is a web page in which the user can click a link to view
a list of book recommendations. The cookies previously stored on
the client are read by the servlet and form a web page containing
the book recommendation.
Other Or UnclassifiedSource quality review required
Part B — 14b
(b) Explain J S F architecture with its features and develop a J S F 13 4 L3
program to display the grade of a student by accepting the marks
of five subjects.
ExplanationSource quality review required
Part B — 15a
(a) Explain Node J S programming fundamentals and develop a 13 5 L3
responsive website for Online Bus Ticket Booking using Node J S
ExplanationSource quality review required
Part B — 15b
(b) Explain all J2ME Basics with its architecture and components and 1 3 5 L3
write a simple MIDIet code to print some message on the mobile
phone.
PART-.0(1x15=1 SMarks)
ExplanationSource quality review required
Part B — 16
Develop a Railway Reservation System with a web-based 1 5 3,4,5 L3,5
reservation form that enables users to book train tickets and
check seat availability. The form should include the following
fields:
Train ID
Train Name
Journey Date
Class (e.g., Sleeper, AC, etc.)
Number of Seats to Book
Frontend Requirements:
a. Form Validation & AJAX Submission: Use JavaScript for
form validation (e.g., no past dates) and submit data
asynchronously to a Servlet backend without reloading the page.
b. Real-Time Seat Availability Check: Enable users to check
seat availability by Train ID, Class, and Journey Date, updating
the display dynamically via AJAX.
c. Session and Cookie Management; Store user preferences
(like last selected Train Class and Train ID) in cookies and prefill
these values on future visits.
Backend Requirements:
a. Servlets & Database Integration; Use Servlets to handle
form submissions, store reservations, update seat availability,
and process AJAX requests for seat availability.
b. 'Session Handling for Login: Implement session
management to keep users logged in, ensuring that only logged-
in users can make reservations, and manage session handling for
user interactions.
DesignSource quality review required