Roll No.
of Pages : 4
Questions:9] [ Total No.
Total No. of
67004-N
MCA 1st Semester (Regular)
Examination, March-2022
(MCA 2 Year Programme)
(w.e.f. 2020-21)
Paper-20MCA21C1
OBJECT ORIENTED PROGRAMMING
USING JAVA
[Maximum Marks: 80
Time: Three Hours]
candidates should ensure that
Before answering the questions,
they have been supplied the correct and complete questio
will be entertained after
paper No complaint in this regard,
examination.
Note-Attempt five questions in all, selecting one question
from each Unit. Q. No. 1 is compulsory. All
questions carry equal marks.
1. Write short answers to the following questions
(a) What is Java's class ?
(b) Define Garbage.
67004-N (1) RR-585 P.T.O.
What is the use of package ? (b) What is abstract class ? How is abstraction
Write syntax of an interface. achieved in Java ? What is the purpose of
(d)
using final modifier during class
(e) What is exception ?
definitions? 8,8
( Define a process w.r.t. Java ?
What is Inheritance ? Explain different
5. (a)
Why are frames used in Java ?
types of inheritance that is possible in
(h) What do you understand by font metrics Java by drawing its structures and write its
2x8=16
Unit-I syntax.
2. What is Java Program Structure ? Explain What packages ? How many types of
(b) are
various access modifiers used in Java giving there ? Explain how packages
packages are
suitable examples. 16 are added and their access protection is
Describe any four string operations used maintained in Java classes. 8,8
3.
3 (a)
in Java by taking examples and explaining Unit-Il
the results. the problems
6. (a) What is Polling ? What are
by String Buffer
(b) What do you understand associated with it ?
Class ? How is it different from usual ? Explain the applet life
(b) What are Applets
strings ? Explain with examples. 8,8 8,8
cycle.
Unit-II relation between
7. What is a Thread ? Explain the
What is CLASSPATH ? Explain its role main thread. Explain
4.
4. (a) the main) method and the
How threads and
in execution of the Java programs. the process of creating multiple
16
is it set from command prompt and using maintaining their synchronization.
interface ? RR-585 P.T.O.
67004-N
(3)
(2) RR-585
67004-N
Unit-IV
8. What are AWT controls ? Show the
of Java AWT
diagrammatic representation
Hierarchy. Explain its role in drawing of objects
in Java. 16
9. Differentiate between the followingg
GridLayout and GridBagLayout
ii) Check boxes and Radio buttons 8,8
67004-N (4) RR-585