MSC 1 Sem Computer Science Programming in Java 2950 Summer 2019
MSC 1 Sem Computer Science Programming in Java 2950 Summer 2019
com
NRT/KS/19/2950
Master of Science (M.Sc.) Semester–I (CBCS) (Computer Science) Examination
PROGRAMMING IN JAVA
Paper–2
Paper–II
Time : 3 Hours] [Maximum Marks : 80
N.B. :— (1) All questions are compulsory and carry equal marks.
(2) Draw neat and labelled diagrams wherever necessary.
EITHER
1. (A) What is an Exception ? Explain structure of Exception Handling. 8
(B) Write a program to demonstrate constructor overloading. 8
OR
(C) Explain Interthread communication in Java. 8
(D) Write a program to show the use of static variable and static method. 8
EITHER
2. (A) What is an Applet ? Explain life cycle of an Applet. 8
(B) Write a program to demonstrate the Border layout. 8
OR
(C) Write a program to create an Applet to show Lamp shape using graphics class. 8
(D) What is an Event ? Explain Event Handling in Java programming using swings. 8
EITHER
3. (A) Write a program to create RMI server and client. 8
(B) Explain the JDBC Architecture in detail. 8
OR
(C) Write a program to create TCP/IP server socket and client socket. 8
(D) Describe types of Drivers of JDBC. Explain JDBC-ODBC Bridge Driver. 8
EITHER
4. (A) Write a servlet program to read servlet parameters. 8
(B) Explain types of JSP tags giving example of each. 8
OR
(C) Describe servlet life cycle in detail. 8
(D) Write a program to develope Beam using BDK. 8
5. (A) What is Bytecode ? Explain all datatypes used in Java. 4
(B) Describe HTML APPLET Tag. 4
(C) What is Datagram ? Explain. 4
(D) What are Cookies ? Explain. 4
CLS—13639
http://www.rtmnuonline.com