0% found this document useful (0 votes)
11 views

btech-cse-5-sem-object-oriented-programming-pcc-cs503-2024

This document is an examination paper for Object Oriented Programming at Maulana Abul Kalam Azad University of Technology, West Bengal. It consists of three groups of questions: very short answer type, short answer type, and long answer type, covering various topics related to Java programming. The paper is structured to assess knowledge on concepts such as threads, exceptions, applet life cycle, and object-oriented principles.
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)
11 views

btech-cse-5-sem-object-oriented-programming-pcc-cs503-2024

This document is an examination paper for Object Oriented Programming at Maulana Abul Kalam Azad University of Technology, West Bengal. It consists of three groups of questions: very short answer type, short answer type, and long answer type, covering various topics related to Java programming. The paper is structured to assess knowledge on concepts such as threads, exceptions, applet life cycle, and object-oriented principles.
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
You are on page 1/ 1

CS/B.

TECH(N)/ODD/SEM-5/5504/2023-2024/I019
MAULANA ABUL KALAM AZAD UNIVERSITY OF TECHNOLOGY, WEST BENGAL
Paper Code : PCC-CS503/PCCCS50 3/PCCCS503 Object Oriented Programming
UPID : 005504

Time Allo ed : 3 Hours Full Marks :70


The Figures in the margin indicate full marks.
Candidate are required to give their answers in their own words as far as prac cable

Group-A (Very Short Answer Type Ques on)


1. Answer any ten of the following : [ 1 x 10 = 10 ]
(I) Give an example of illegal iden fier.

(II) What is bytecode in context of java?


(III) Applet can be used for genera ng sta c or dynamic webpage?
(IV) Arrays in java are objects or classes?
(V) Java compiler is wri en in which language?
(VI) What cannot be used for variable name in java?
(VII) What is a package in java?
(VIII) Why java is called robust programming language?
(IX) JVM is pla orm independent or not?
(X) The rela on between classes can be represented by what?
(XI) Excep on created by try block is caught in which block?
(XII) When finalize() method is called _____.

Group-B (Short Answer Type Ques on)


Answer any three of the following : [ 5 x 3 = 15 ]
2. What is thread? Explain thread crea on methods. [5]
3. Write down the differences between procedure-oriented and object-oriented programming. [5]
4. What does the JVM do? Why java is called compiler-interpreter language? [5]
5. How inheritance is incorporated in java? Is it possible in java to implement mul ple inheritance? [5]
6. Discuss Applet life cycle indica ng the func ons. [5]

Group-C (Long Answer Type Ques on)


Answer any three of the following : [ 15 x 3 = 45 ]
7. a) What are excep ons? Explain the user defined excep ons and system defined excep ons with suitable [ 15 ]
examples.
b) How do we define try and catch block? Is it essen al to catch all types of excep ons?
8. a) How applet is different from frame and panel? Explain. [ 15 ]
b) How threads are made to communicate with each other? Explain with example.
c) Explain any three events with suitable example.
9. Write short notes from any three of the following: [ 15 ]
a) Interface
b) Abstrac on
c) Inheritance
d) Encapsula on
e) Virtual method table
10. a) Explain method overloading with an example. [ 15 ]
b) What is class? How does it accomplish data hiding?
c) What is constructor? What does the finalize method() do?
11. a) Explain thread life cycle [ 15 ]
b) Discuss Applet life cycle indica ng the func ons
c) What are wrapper classes? Why do we need wrapper classes? What is byte code?

*** END OF PAPER ***


1/1

You might also like