0% found this document useful (0 votes)
5 views1 page

Java Programming - Internal

This document outlines the internal test for the I M.Sc Computer Science program at Government Arts and Science College, focusing on Advanced Java Programming. It includes multiple-choice questions, short answer questions, and detailed explanation prompts covering topics such as event handling, RMI, threading, and distributed application architecture. The test is structured into three parts, with varying marks allocated to each section.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views1 page

Java Programming - Internal

This document outlines the internal test for the I M.Sc Computer Science program at Government Arts and Science College, focusing on Advanced Java Programming. It includes multiple-choice questions, short answer questions, and detailed explanation prompts covering topics such as event handling, RMI, threading, and distributed application architecture. The test is structured into three parts, with varying marks allocated to each section.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

GOVERNMENT ARTS AND SCIENCE COLLEGE, KOMARAPALAYAM – 638183

DEPARTMENT OF COMPUTER SCIENCE


I [Link] COMPUTER SCIENCE
EVEN SEMESTER- INTERNAL TEST –I
ADVANCED JAVA PROGRAMMING
Date: Marks:50
Time: 2.00 hrs
PART A — (10 x 1 = 10 marks)
Answer ALL questions.
1. Which of these methods are used to register a keyboard event listener?
(a) keyListener() (b) addKistener() (c) addKeyListener() (d) eventKeyboardListener()
2. Thread priority in Java is
(a) Integer (b) Float (c) Double (d) Long
3. Which of these class is super class of all the events?
(a) EventObject (b) EventClass (c) ActionEvent (d) Item Event
4. Which of these methods are member of Remote class?
(a) checkIP() (b) addLocation() (c) AddServer() (d) None of the mentioned
5. Which of these package is used for all the text related modifications? (a) [Link] (b) [Link]
(c) [Link] (d) [Link]
6. A typical ______ program obtains a remote reference to one or more remote objects on a
server and then invokes methods on them.
(a) Server (b) Client (c) Thread (d) Concurrent
7. ______ package contains all the classes and methods required for Event handling in java.
(a) [Link] (b) [Link] (c) [Link] (d) [Link]
8. Which of these package contains classes and interfaces for networking?
(a) [Link] (b) [Link] (c) [Link] (d) [Link]
9. Which of these package is used for remote method invocation?
(a) [Link] (b) [Link] (c) [Link] (d) [Link]
10. RMI uses stub and skeleton for communication with the ______ object.
(a) client (b) remote (c) server (d) any
PART B — (2 x 5 = 10 marks)
Answer any TWO questions.

11. Exemplify any two looping statements available in Java.


12. Write the significance of Java Spaces.
13. Explain the following: (a) Stubs (b) Skeletons

PART C — (3 x 10 = 30 marks)
Answer ALL questions.
14. (a) Exemplify the Arithmetic and relational operators available in Java.
Or
(b) How to create threads using the thread class? Explain with suitable example.

15. (a) Briefly explain about Distributed Application Architecture.


Or
(b) Discuss in detail about Object Serialization with suitable example.

16. ((a) Explain the following in Java: (i) Thread Life Cycle (ii) Thread Priorities.
Or
(b) Write a Java Socket Programming where a client sends a text and a server receives and print it.

You might also like