CONTINUOUS INTERNAL EVALUATION-I
March, 2025 – Academic Year 2024-25
Program: [Link]
Branch: ECE Year &Sem :III-II HALL TICKET NO:
R22 Regulation
Date of Exam: 20-03-2025 FN Max. Marks: 10
Subject Code Set No.
SUBJECT: OBJECT ORIENTED PROGRAMMING THROUGH JAVA
A1456 1
PART-A [MARKS: 10](All questions carry equal marks)
I. Choose the correct alternative.
1 Which one of the following is not a Java feature? [ ]
a) Object-oriented b) Use of pointers
c) Portable d) Dynamic and Extensible
2 What is the extension of java code files? [ ]
a) .js b) .txt c) .class d) .java
3 Which of the following is not an OOPS concept in Java? [ ]
a) Polymorphism b) Inheritance
c) Compilation d) Encapsulation
4 Which statement is true about Java? [ ]
a) Java is a sequence-dependent programming language
b) Java is a code dependent programming language
c) Java is a platform-dependent programming language
d) Java is a platform-independent programming language
5 Which of this keyword must be used to inherit a class? [ ]
a) super b) this c) extent d) extends
6 Which of these keywords is used to define packages in Java? [ ]
a) pkg b) Pkg1 c) package d) Packages
7 Which of the following is the correct way of importing an entire package ‘pkg’? [ ]
a) import pkg. b) Import pkg. c) import pkg.*; d) Import pkg.*
8 Which of these keywords is used by a class to use an interface defined previously? [ ]
a) import b) Import c) implement d) Implements
9 Which block must always be followed by at least one block that is either a catch [ ]
block or a finally block?
a) try b) catch c) finally d) All of these
10 Which of these keywords is not a part of exception handling? [ ]
a) try b) finally c) thrown d) catch
II Fill in the blanks
1 The output of the java compiler is known as ________________
2 The ______________________ statement is used to include another java package in a java
source file
3 A sub class can call a constructor method defined by its super class by use of the __________
keyword.
4 _____________ is a reference to the current object on which the method was invoked
5 Scanner class is stored in ________________________ package.
6 File class is included in__________________ package.
7 A java class inherits constants and methods of an interface using ____________ keyword.
8 All interface variables are____________ by default in java.
9 In ________________ exception, the exception will be generated during runtime in java.
10 All exceptions in java are derived from ____________
CONTINUOUS INTERNAL EVALUATION-I
March, 2025 – Academic Year 2024-25
Program: [Link]
Branch: ECE Year &Sem :III/II HALL TICKET NO:
R22 Regulation
Date of Exam: 20-03-2025 FN Max. Marks: 10
Subject Code Set No.
SUBJECT: OBJECT ORIENTED PROGRAMMING THROUGH JAVA
A1456 2
PART-A [MARKS: 10] (All questions carry equal marks)
I. Choose the correct alternative.
1 Which statement is true about Java? [ ]
a) Java is a sequence-dependent programming language
b) Java is a code dependent programming language
c) Java is a platform-dependent programming language
d) Java is a platform-independent programming language
2 Which of these keywords is used by a class to use an interface defined previously? [ ]
a) import b) Import c) implement d) Implements
3 Which of this keyword must be used to inherit a class? [ ]
a) super b) this c) extent d) extends
4 Which of these keywords is used to define packages in Java? [ ]
a) pkg b) Pkg1 c) package d) Packages
5 Which one of the following is not a Java feature? [ ]
a) Object-oriented b) Use of pointers
c) Portable d) Dynamic and Extensible
6 Which of the following is the correct way of importing an entire package ‘pkg’? [ ]
a) import pkg. b) Import pkg. c) import pkg.*; d) Import pkg.*
7 Which block must always be followed by at least one block that is either a catch [ ]
block or a finally block?
a) try b) catch c) finally d) All of these
8 What is the extension of java code files? [ ]
a) .js b) .txt c) .class d) .java
9 Which of the following is not an OOPS concept in Java? [ ]
a) Polymorphism b) Inheritance
c) Compilation d) Encapsulation
10 Which of these keywords is not a part of exception handling? [ ]
a) try b) finally c) thrown d) catch
II Fill in theblanks:
1 _____________ is a reference to the current object on which the method was invoked
2 All interface variables are____________ by default in java.
3 Scanner class is stored in ________________________ package.
4 File class is included in__________________ package.
5 The output of the java compiler is known as ________________
6 A java class inherits constants and methods of an interface using ____________ keyword.
7 In ________________ exception, the exception will be generated during runtime in java.
8 The ______________________ statement is used to include another java package in a java
source file
9 A sub class can call a constructor method defined by its super class by use of the __________
keyword.
10 All exceptions in java are derived from ____________
CONTINUOUS INTERNAL EVALUATION-I
March, 2025 – Academic Year 2024-25
Program: [Link]
Branch: ECE Year &Sem : III-II HALL TICKET NO:
R22 Regulation
Date of Exam: 20-03-2025 FN Max. Marks: 10
Subject Code Set No.
SUBJECT: OBJECT ORIENTED PROGRAMMING THROUGH JAVA
A1456 3
PART-A [MARKS: 10] (All questions carry equal marks)
I Choose the correct alternative.
1 Which of the following is the correct way of importing an entire package ‘pkg’? [ ]
a) import pkg. b) Import pkg. c) import pkg.*; d) Import pkg.*
2 Which block must always be followed by at least one block that is either a catch [ ]
block or a finally block?
a) try b) catch c) finally d) All of these
3 What is the extension of java code files? [ ]
a) .js b) .txt c) .class d) .java
4 Which of the following is not an OOPS concept in Java? [ ]
a) Polymorphism b) Inheritance
c) Compilation d) Encapsulation
5 Which of these keywords is not a part of exception handling? [ ]
a) try b) finally c) thrown d) catch
6 Which statement is true about Java? [ ]
a) Java is a sequence-dependent programming language
b) Java is a code dependent programming language
c) Java is a platform-dependent programming language
d) Java is a platform-independent programming language
7 Which one of the following is not a Java feature? [ ]
a) Object-oriented b) Use of pointers
c) Portable d) Dynamic and Extensible
8 Which of these keywords is used by a class to use an interface defined previously? [ ]
a) import b) Import c) implement d) Implements
9 Which of these keywords is used to define packages in Java? [ ]
a) pkg b) Pkg1 c) package d) Packages
10 Which of this keyword must be used to inherit a class? [ ]
a) super b) this c) extent d) extends
II Fill in the blanks
1 A java class inherits constants and methods of an interface using ____________ keyword.
2 In ________________ exception, the exception will be generated during runtime in java.
3 The ______________________ statement is used to include another java package in a java
source file
4 A sub class can call a constructor method defined by its super class by use of the __________
keyword.
5 All exceptions in java are derived from ____________
6 _____________ is a reference to the current object on which the method was invoked
7 The output of the java compiler is known as ________________
8 All interface variables are____________ by default in java.
9 File class is included in__________________ package.
10 Scanner class is stored in ________________________ package.
CONTINUOUS INTERNAL EVALUATION-I
March, 2025 – Academic Year 2024-25
Program: [Link]
Branch: ECE Year &Sem : III-II HALL TICKET NO:
R22 Regulation
Date of Exam: 20-03-2025 FN Max. Marks: 10
Subject Code Set No.
SUBJECT: OBJECT ORIENTED PROGRAMMING THROUGH JAVA
A1456 4
PART-A [MARKS: 10] (All questions carry equal marks)
I Choose the correct alternative.
1 What is the extension of java code files? [ ]
a) .js b) .txt c) .class d) .java
2 Which block must always be followed by at least one block that is either a catch [ ]
block or a finally block?
a) try b) catch c) finally d) All of these
3 Which one of the following is not a Java feature? [ ]
a) Object-oriented b) Use of pointers
c) Portable d) Dynamic and Extensible
4 Which of this keyword must be used to inherit a class? [ ]
a) super b) this c) extent d) extends
5 Which of the following is the correct way of importing an entire package ‘pkg’? [ ]
a) import pkg. b) Import pkg. c) import pkg.*; d) Import pkg.*
6 Which of these keywords is used to define packages in Java? [ ]
a) pkg b) Pkg1 c) package d) Packages
7 Which of these keywords is not a part of exception handling? [ ]
a) try b) finally c) thrown d) catch
8 Which of these keywords is used by a class to use an interface defined previously? [ ]
a) import b) Import c) implement d) Implements
9 Which statement is true about Java? [ ]
a) Java is a sequence-dependent programming language
b) Java is a code dependent programming language
c) Java is a platform-dependent programming language
d) Java is a platform-independent programming language
10 Which of the following is not an OOPS concept in Java? [ ]
a) Polymorphism b) Inheritance
c) Compilation d) Encapsulation
II Fill in the blanks:
1 The ______________________ statement is used to include another java package in a java
source file
2 In ________________ exception, the exception will be generated during runtime in java.
3 The output of the java compiler is known as ________________
4 Scanner class is stored in ________________________ package.
5 A java class inherits constants and methods of an interface using ____________ keyword.
6 File class is included in__________________ package.
7 All exceptions in java are derived from ____________
8 All interface variables are____________ by default in java.
9 _____________ is a reference to the current object on which the method was invoked
10 A sub class can call a constructor method defined by its super class by use of the __________
keyword.