GIET MAIN CAMPUS AUTONOMOUS GUNUPUR – 765022
RN19001878
Registration No:
Total Number of Pages : 2 AR-18 [Link]
[Link] 3rd SEMESTER EXAMINATIONS, NOV/DEC 2019
BCSPC3050/BCSES3051/BITPC3050
Common to all Branches
OOPS THROUGH JAVA
Time : 3 Hours Maximum : 100 Marks
Answer ALL Questions
The figures in the right hand margin indicate marks.
PART – A: (Multiple Choice Questions) 10 x 2=20 Mark
Q.1. Answer All Questions
a Which of the following is the process of finding the internal parts of an object implementation and CO1PO1
allowing access to that object only through a defined interface?
a) Polymorphism
b) Encapsulation
c) Inheritance
d) Overriding
b Which of the following commands will compile a java source file, ‘short program java’? CO1PO1
a) java short program java
b) javac short program
c) java short program
d) javac short program java
c The syntax of the argument passed to main method of any application in java is CO1PO1
a) String args []
b) string args[]
c) String args
d) string args
d Among these operators *,++,=,&&, which operator has highest precedence CO2PO1
a) *
b) ++
c) =
d) &&
e Which of the following is java checked exception CO2PO1
a) ClassNotFoundException
b) ArthmeticException
c) ArrayIndexOutOfBoundException
d) ClassCastException
f The class thread is present in which of the following packages CO3PO1
a) [Link]
b) [Link]
c) [Link]
d) [Link]
g Which among these is not a method belonging to input stream classes CO3PO1
a) int read(char [] buff);
b) void reset ();
c) void flush ();
d) long sleep(int n);
h The applet class is the subclass of CO3PO1
a) panel
b) window
c) Frame
d) Dialog
i By default, the upper left corner of a GOI component has coordinates CO4PO1
GIET MAIN CAMPUS AUTONOMOUS GUNUPUR – 765022
RN19001878
a) (0,0)
b) (1024,1024)
c) (600,800)
d) (600,0)
j The layout manager is a CO4PO1
a) package
b) class
c) interface
d) abstract class
PART – B: (Short Answer Questions) 10X2=20 Marks
Q.2. Answer ALL questions
a Define Access specifiers in java CO1PO1
b List various Operators in java CO1PO1
c Write the uses of Super Keyword. CO1PO1
d What are Wrapper Classes? CO2PO1
e What are User defined exception classes? CO2PO1
f Define Demon thread CO2PO1
g Differentiate between Autoboxing and unboxing CO3PO1
h Write short note on Util package interface. CO3PO1
i What are Adapter classes? CO4PO1
j List the Class hierarchy of AWT. CO4PO1
PART – C: (Long Answer Questions) 4X15=60 Marks
Answer ALL questions
Q.3
a Explain the features of oops through java 8 CO1PO2
b Write about JVM and its signification in execution of the program 7 CO1PO2
OR
c Explain control structures in java 8 CO1PO2
d Arrays in java 7 CO1PO2
Q.4
a Explain polymorphism in java in detailed with suitable example 8 CO2PO2
b Write about Dynamic method dispatching 7 CO2PO2
OR
c Explain about abstract class 8 CO2PO2
d Explain types of exceptions hierarchy of exceptions class 7 CO2PO2
Q.5
a Explain java thread model in detailed 8 CO3PO2
b Explain about inter thread communication 7 CO3PO2
OR
c Explain about I/O stream 8 CO3PO2
d Explain about Serialization 7 CO3PO2
Q.6
a Explain life cycle of an applet 8 CO4PO2
b Explain component or container class 7 CO4PO2
OR
c Explain java applications v/s java applet 8 CO4PO2
d Explain different mechanism of event handling 7 CO4PO2
==0==