You are on page 1of 2

Exam Seat No:________________ Enrollment No:___________________

C.U.SHAH UNIVERSITY
Wadhwan City
Subject Code : 5CS03CJP1 Summer Examination-2014 Date: 21 /06/2014
Subject Name:- Core Java
Branch/Semester:-MCA (Lateral) /I Time:10:30 To 1:00
Examination: Remedial
Instructions:-
(1) Attempt all Questions of both sections in same answer book / Supplementary
(2) Use of Programmable calculator & any other electronic instrument is prohibited.
(3) Instructions written on main answer Book are strictly to be obeyed.
(4)Draw neat diagrams & figures (If necessary) at right places
(5) Assume suitable & Perfect data if needed
_______________________________________________________________________________________________________________________
SECTION-I

Q.1 Attempt the Following Questions: (07)


(1) What is JDK?
(2) What are javas Byte Codes?
(3) Difference between Checked and Unchecked Exception
(4) What is Typecasting?
(5) What is recursion?
(6) What is Wrapper class?
(7) What is different between class method and instance method?

Q.2 Attempt the Following Questions: (14)


(1) Explain the java oops concepts with examples.
(2) Write a program to find out that odd and even number with odd sum and even sum.
(3) Explain the use of finalize method with example.
OR
Q.2 Attempt the Following Questions: (14)
(1) Discuss pass by value and pass by reference in Java with proper example.
(2) What is a Constructor? Different between Method Overload & Method Overriding.
(3) Write a program to find out that given number is prime or not using command line

Q.3 Attempt the Following Questions: (14)


(1) Explain Access Modifier with suitable example.
(2) What is Package? Write a Step to create package with suitable examples
OR
Q.3 Attempt the Following Questions: (14)
(1) Discuss about initializer blocks and class initializer blocks.
(2) Explain nested class with suitable examples.

Page 1 of 2
21
SECTION-II
Q.4 Attempt the Following Questions: (07)
(1) What is Appletviewer?
(2) What is synchronization?
(3) What is a Vector?
(4) What is Super keyword?
(5) What is the difference between setCharAt and insert?
(6) What do you mean by AWT?
(7) What is the different between checkbox and checkboxgroup?
Q.5 Attempt the Following Questions: (14)
(1) Explain the uses of keywords Try, Catch, throw, throws and Finally with example
(2) What is Collection Framework? Explain set Interface with example.
(3) Write an applet to draw National flag with color.
OR
Q.5 Attempt the Following Questions: (14)
(1) Explain FileWriter and the PrintWriter Classes with examples.
(2) Explain List and Map Interface with examples.
(3) Write an Applet program to create Frame with Title name.
Q.6 Attempt the Following Questions: (14)
(1) Explain Event Delegation Model with example
(2) What is an Applet? Explain Applet life cycle with examples
OR
Q.6 Attempt the Following Questions: (14)
(1) What is Layout Manager? Explain FlowLayout, CardLayout and GridLayout with examples.
(2) What is a Thread? Explain Thread life cycle and Thread priority.

*******21***14****S

Page 2 of 2
21

You might also like