0% found this document useful (0 votes)
5 views2 pages

Java 1

The document is an examination paper for Object Oriented Programming Using Java, consisting of multiple choice questions, short answer questions, and long answer questions. It covers various topics related to Java, including features, data types, operators, and concepts of object-oriented programming. The paper is structured into four sections with a total of 100 marks.

Uploaded by

Nancy Rathi
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views2 pages

Java 1

The document is an examination paper for Object Oriented Programming Using Java, consisting of multiple choice questions, short answer questions, and long answer questions. It covers various topics related to Java, including features, data types, operators, and concepts of object-oriented programming. The paper is structured into four sections with a total of 100 marks.

Uploaded by

Nancy Rathi
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

No. of Printed Pages : 4 180841/170841 Q5. An Array Index start with?

Roll No. .................. a) -1 b) 1


c) 0 d) 2
4th Sem. / Comp
Subject : Object Oriented Programming Using Java Q.6 Type of Integers are
a) Short b) Int
Time : 3 Hrs. M.M. : 100
c) Long d) All of these
SECTION-A Q.7 Java programs are converted into machine language
Note: Multiple choice Questions. All Questions are with the help of
compulsory. (10x1=10) a) An Interpreter
Q.1 Which of the following is not a java feature? b) A compiler
a) Dynamic b) Architecture neutral c) An Interpreter & A Compiler
c) Use of Pointers d) Object oriented d) None of these
Q.8 Which keyword is used to create an object of a class
Q.2 Java Language was initially called as
is java.
a) C++ b) Oak a) Create b) New
c) Pine d) C# c) Object d) Instance
Q.3 Which of the following is a method having same Q.9 Java does not directly implement following type of
name as that of its class? inheritance
a) Finalize b) Delete a) Hierarchical Inheritance b)Multiple Inheritance
c) Multilevel Inheritance d) None of the above
c) Class d) Constructor
Q.10 Which keyword is used to add a package in java
Q.4 || and && are ________ operator? program?
a) Logical b) Relational a) Include b) Import
c) Arithematic d) Bitwise c) add d) try

(1) 180841/170841 (2) 180841/170841


SECTION-B Q25 What is Array? Describe different types of arrays in
Note: Objective type questions. All questions are Java.
compulsory. (10x1=10) Q.26 Explain various forms of IF statement.
Q.11 Full form of JVM is ____. Q.27 Write short note on constructors.
Q.12 >= is a ______ operator. (Relational / Logical) Q.28 Differentiate between Method overloading and
Q.13 Java was developed by __________. Method overriding.
Q.14 The symbol used to assign a value to a variable is Q.29 What do you mean by relational operators in Java?
__________. (-> or =) Explain with examples.
Q.15 Object is an instance of class. (True/False) Q.30 Explain Polymorphism in Java.
Q.16 Binary operator has ____ operands. Q.31 Write the structure of a Java program.
Q.17 For loop is used for iteration. (True/False) Q.32 What do you mean by Exception? How exceptions
Q.18 If-self statement is used for decision making. are handled in Java?
(True/False) Q.33 Describe basic concepts of OOPS.
Q.19 Array elements are stored in ____ memory locations Q.34 How multiple inheritances can be achieved in Java?
(Sequential / Random) Q.35 Write short note on history of Java Programming.
Q.20 Keywords are also called reserved words.
(True/False) SECTION-D
SECTION-C Note: Long answer type questions. Attempt any two
Note: Short answer type Questions. Attempt any twelve questions out of three Questions. (2x10=20)
questions out of fifteen Questions. (12x5=60)
Q.36 Define Inheritance. Explain various types of
Q.21 Why is Java called an object oriented programming inheritance used in Java with examples.
Language?
Q.37 What do you mean by loop constructs in Java.
Q.22 Define the keywords: try, throw, catch and finally? Explain various loop constructs used in Java with
Q.23 Explain for loop and while loop with example. example.
Q.24 What is the difference between a base class and Q.38 Explain different data types used in Java.
derived class?

(3) 180841/170841 (1700) (4) 180841/170841

You might also like