M.Sc.- I (Computer Science) (CBCS Pattern) Sem-l PSCSCTOI - Paper-I
Advanced Java
P. Pages : 2 GUG
Time : Three Hours Max. Marks : 80
Notes :
- All the questions are compulsory and carry equal marks
- Draw neat and labeled diagram wherever necessary.
- Avoid vague answer and write answers relevant and specific to question only.
Note: Answers to questions will be updated as soon as possible.
1. Either:
a) Explain data types in Java. 8M
b) Explain While loop with example. 8M
OR
c) What is constructor? Explain it with suitable example. 8M
d) Write a java program to create a class "Student" with rollno, sub1, sub2, sub3 as a data
Members and getData() and printData() as member functions. 8M
2. Either:
3. Either:
4. Either:
a) What is Servlet? Explain the Life Cycle of Servlet. 8M
b) What do mean by JSP? Explain the role of JSP Server. 8M
OR
c) Explain the Handing of Get and Post Request (Http). 8M
d) Explain the Mixing
Scriptlet and HTML with suitable example. 8M
5. Attempt all the questions:
a) Write a features of
Advanced Java.
b) Write a Short note
on AWT panel.
c) Write steps to connect Java application with
access database.
d) Write advantages of Servlet.