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

OOPS MODEL

Uploaded by

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

OOPS MODEL

Uploaded by

hod
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

REG. NO.

PMC/EC/frm -06
PMC/Mod/2.3.5 /IT

DEPARTMENT OF INFORMATION TECHNOLOGY


MODEL EXAMINATION
PUCS3PCO4 - OBJECT ORIENTED PROGRAMMING
SEMESTER-3
Date: 7-12-2024 Duration: 3 Hrs Max.Marks: 100
Answer all the Questions
PART - A (10*2=20)
1 Write the structures of Java source file. CO1 Analyze
2 Difference between method and constructor. CO1 Remember
3 What is the use of final keyword? CO2 Understand

4 Write the syntax of interface and mention its uses CO2 Analyze

5 List any four JavaDoc comments. CO3 Remember

6 What are Java’s built-in exceptions? CO3 Remember

7 Define generic class with an example. CO4 Understand

8 List any two advantages of type parameters. CO4 Understand


9 Differentiate Hbox and Vbox CO5 Understand

10 List any two forms of checkbox menuItems constructor. CO5 Remember


PART B (5*16=80)
11 a Describe the features of Java with an example (16) CO1 16 Understand
OR
b What are arrays in Java? Explain in detail about one-dimensional and
CO1 16 Understand
multi-dimensional arrays with examples.(16)

12 a i)Explain in detail about static, nested and inner classes with syntax.
(8)
CO2 16 Remember
ii) What is constructors in Java? Discuss the types of constructors with
suitable examples.(8)
OR
b What are the types of inheritance in Java? Explain each type with
CO2 16 Remember
examples.(16)
13 a i)Discuss about try, catch and finally keyword in exception handling with
an example.(8) CO3 16 Remember
ii) How can you create and use a user-defined exception? (8)
OR
b i) How do you create multiple threads in Java? Explain in details CO3 16 Remember
about creating a threads.(8)

Page 1 of 2
ii) What is inter-thread communication? Explain wait(), notify(),
and notify All() methods.(8)

14 a i)Write a sample java program(i) Reading from a file (ii) Writing in a


file(8)
CO4 16 Analyze
ii) How do generic classes and methods improve code reusability?
Provide examples.(8)
OR
14 b Apply the string handling function to do the following operations and
write a java program (16)
(i) Compare the two string CO4 16 Analyze
(ii) Reverse the string “ HAPPY”
(iii) Concatenate two strings
15 a Explain different JavaFX layout managers with examples.(16) CO5 16 Understand
OR
15 b Explain how to create menus in JavaFX. Write a program to demonstrate
CO5 16 Understand
a menu bar with multiple menu items.(16)

Prepared by Verified by Approved


by

Page 2 of 2

You might also like