JAVA Cat 1
JAVA Cat 1
Instructions:
IMP: Verify that you have received question paper with correct course, code, branch etc.
i) All questions are compulsory.
ii) Figure to the right indicate full marks.
iii) Assume suitable data wherever necessary.
Course Outcomes:
CO1- Articulate the concept of Java fundamentals, OOPs and Strings (K2)
CO2- Demonstrate the principles of inheritance, packages and interfaces with real time applications (K3)
Knowledge Level: K1-Remember, K2-Understand, K3-Apply, K4-Analyze&K5-Evaluate
Marks B. L CO’s
PART A (5*2=10 Marks)
Answer all the Questions
Q.1 Mention any two primitive data types in Java. 2 1 1
Differentiate between System.out.print() and
Q.2 2 2 1
System.out.println().
Q.3 What is a constructor? 2 1 1
Q.4 List the types of inheritance supported in Java. 2 1 2
Q.5 What is an abstract class? 2 1 2
PART B (4*5=20 Marks)
Answer all the Questions
Q.6 Explain type casting (widening and narrowing) with examples. 5 2 1
Q.7 Write a Java program to demonstrate the use of static keyword. 5 2 1
What is polymorphism? Explain compile-time and runtime
Q.8 5 2 2
polymorphism with code.
Q.9 Explain autoboxing and auto-unboxing with code examples. 5 2 2
PART C (2*10=20 Marks)
Answer any TWO Questions
Q.10 Explain method overloading with appropriate programs. 10 2 1
Create a class with nested class implementation and explain its
Q.11 10 2 1
working.
Discuss inheritance in Java. Explain all types of inheritance with
Q.12 10 2 3
real-time examples and code.
1. Whether the One third of the questions is straight and can be answered by all students.
Yes No
2. Whether One third of the questions need analysis and use of content covered as per
syllabus
Yes No
3. Whether remaining one third of the questions is not straight. Certain amount of thinking
analysis and mathematical knowledge are required to resolve.
Yes No
4. Whether all the questions in question paper contribute to attain CO’s or not.
Yes No
Yes No
Remarks: