21xxxxXX
Model Question Paper-1 with effect from 2021(CBCS Scheme)
USN
Sixth Semester B.E. Degree Examination
Programming in Java 21CS654
TIME: 03 Hours Max. Marks: 100
Note: 01. 02. Answer any FIVE full questions, choosing at least ONE question from each
MODULE.
03.
04.
*Bloom’s COs
Module -1 Taxonomy Marks
Level
Q.01 a Explain the three OOP principles ? L1 1 6
b L1 1 8
Explain the 8 primitives data types in Java
c L2 1 6
Explain type conversion with example.
OR
Q.02 a L2 1 8
Explain the concept of Array with a program
b Explain literals in java ? L1 1 6
c L1 1 6
What are keywords and identifiers ?List the rules and write the
identifiers?
Module-2
Q. 03 a List and Explain control statement syntax with program . L2 1 8
b Explain switch statement with a program L2 1 6
c L2 1 6
List and explain jump statements in Java
OR
Q.04 a Explain iteration statements in java L1 1 8
b Explain right shift and left shift with a program L2 1 6
c L2 1 6
Explain ternary operator with program.
Module-3
Q. 05 a What is a class? Give example . L1 2 6
b L2 2 8
Explain constructor overloading an method overloading with example
c Explain this keyword with an example L2 2 6
OR
Q. 06 a Explain inheritance with a program L2 2 6
b Explain usage of super keyword with a program. L2 2 8
Page 01 of 02
21xxxxXX
c Explain recursion with an example L2 2 6
Module-4
Q. 07 a L2 2 8
What is a package ? Illustrate with a program the steps in creating a user
defined package ?
b L1 2 6
Explain access protection with respect to packages .
c L1 2 6
Explain the role of interfaces while implementing multiple inheritance
OR
Q. 08 a What is exception ?Explain the syntax for try and catch block to handle L1 3 8
multiple exception with a program
b Explain with a program throw and throws . L2 3 6
c Explain with a program nested try and catch. L2 3 6
Module-5
Q. 09 a Explain Enumeration in Java with a program L2 4 8
b Explain String comparison with a program. L2 4 6
c List and Explain different wrapper class in Java . L2 4 6
OR
Q. 10 a L2 4 8
Explain String Constructors in Java
b L2 4 6
Explain String modify methods in Java .
c Explain StringBuffer and StringBuilder class in java . L2 4 6
*Bloom’s Taxonomy Level: Indicate as L1, L2, L3, L4, etc. It is also desirable to indicate the COs and POs to be
attained by every bit of questions.
Page 02 of 02