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

oops qp

This document outlines the model examination for the Object Oriented Programming course (CS3391) at Arunai Engineering College for the second year, third semester. It includes details about the exam date, time, and structure, which consists of three parts: Part A with short answer questions, Part B with detailed questions, and Part C with a practical application task. The exam covers various topics related to Java programming, including encapsulation, constructors, inheritance, exception handling, and JavaFX.

Uploaded by

renugasoundharya
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 views

oops qp

This document outlines the model examination for the Object Oriented Programming course (CS3391) at Arunai Engineering College for the second year, third semester. It includes details about the exam date, time, and structure, which consists of three parts: Part A with short answer questions, Part B with detailed questions, and Part C with a practical application task. The exam covers various topics related to Java programming, including encapsulation, constructors, inheritance, exception handling, and JavaFX.

Uploaded by

renugasoundharya
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/ 3

​ ​ Reg.

No
N 5104 - ARUNAI Reg. No:
ENGINEERING COLLEGE 5104 - ARUNAI ENGINEERING COLLEGE
TIRUVANNAMALAI TIRUVANNAMALAI
104-COMPUTER SCIENCE AND ENGINEERING 104-COMPUTER SCIENCE AND ENGINEERING
YEAR: II SET-B​ SEMESTER: III YEAR: II SET-B​ SEMESTER: III
MODEL EXAMINATION - NOV/DEC 2023 MODEL EXAMINATION - NOV/DEC 2023
CS3391 – OBJECT ORIENTED PROGRAMMING CS3391 – OBJECT ORIENTED PROGRAMMING
__________________________________________________________________ __________________________________________________________________
Date: 02-01-2024 (FN) ​ ​ Maximum: 100 Marks Date: 02-01-2024 (FN) ​ ​ Maximum: 100 Marks
Time: 9.30am to 12.30pm​ ​ ​ ​ ​ Time: 9.30am to 12.30pm​ ​ ​ ​
Answer ALL questions. Answer ALL questions.
PART – A (10X2 =20 Marks) PART – A (10X2 =20 Marks)
1.​ Define encapsulation in Java. 1.​ Define encapsulation in Java.
2.​ What is a constructor? 2.​ What is a constructor?
3.​ Exemplify the use of super keyword. 3.​ Exemplify the use of super keyword.
4.​ What are the differences between classes and interfaces? 4.​ What are the differences between classes and interfaces?
5.​ What is the purpose of finally clause? Give example. 5.​ What is the purpose of finally clause? Give example.
6.​ What are the uses of streams? What are the two types of streams? 6.​ What are the uses of streams? What are the two types of streams?
7.​ What is the need for synchronization? How it can be implemented? 7.​ What is the need for synchronization? How it can be implemented?
8.​ Differentiate Multithreading and Multitasking 8.​ Differentiate Multithreading and Multitasking
9.​ Short note on JavaFX event and event Handling. 9.​ Short note on JavaFX event and event Handling.
10. Enlist any two features of JavaFX. 10. Enlist any two features of JavaFX.

PART – B (5X13 =65 Marks) PART – B (5X13 =65 Marks)

11.a) What are the three categories of control statements used 11.a) What are the three categories of control statements used
in Java? Explain each category with example.​ in Java? Explain each category with example.​
OR OR
b) (i) Discuss the OOP principles in detail.​ (7) b) (i) Discuss the OOP principles in detail.​ (7)
(ii)Discuss in detail about constructor concept with example(6) (ii)Discuss in detail about constructor concept with example(6)
2.Ms.M.Sowndharya,AP/CSE​ HOD/CSE
12.a)(i)Discuss in detail about interface with example. (6) 12. a)(i)Discuss in detail about interface with example (6)
(ii) Explain in detail any three types of inheritance with example.(7) (ii)Explain in detail any three types of inheritance with example.(7)
​ ​ ​ ​ ​ ​
OR OR
b) (i)Illustrate how to add classes in package and how to access these b) (i)Illustrate how to add classes in package and how to access
classes in another package. (7) these classes in another package. (7)
(ii)Explain java final with inheritance (6) (ii)Explain java final with inheritance (6)
​ ​
13.a)(i)Discuss in detail about try,catch and finally keywords in 13.a)(i)Discuss in detail about try,catch and finally keywords in
exception handling with examples. (7) exception handling with examples. (7)
(ii)List and explain data types and their corresponding class(6) (ii)List and explain data types and their corresponding class.(6)
​ ​ ​ ​ ​ OR ​ ​ ​ ​ ​ OR
b) What is Inter thread communication? Explain suspending, resuming b) What is Inter thread communication? Explain suspending, resuming
and stopping threads in java and stopping threads in java

14.a) Explain in detail about the following :​ 14.a) Explain in detail about the following :​
i) Buffered Inputstream (7) i) Buffered Inputstream (7)
ii) Buffered Outputstream (6) ii) Buffered Outputstream (6)
​ ​ ​ OR ​ ​ ​ OR
b) Explain in detail about String handling functions with example b) Explain in detail about String handling functions with example
15. a) Enlist the JavaFX UI controls along with their purpose 15.a) Enlist the JavaFX UI controls along with their purpose
​ ​ ​ ​ OR ​ ​ ​ ​ OR
b) Describe handling keys and Mouse events ​ ​ ​ b) Describe handling keys and Mouse events ​ ​ ​
PART – C (1X15=15 Marks) PART – C (1X15=15 Marks)
16. a)(i) Label the different states of threads with example.(8) 16. a)(i) Label the different states of threads with example.(8)
(ii) Discuss in detail about Streams. (7) (ii) Discuss in detail about Streams (7)
OR OR
b) Create a bank database application program to illustrate the use of b) Create a bank database application program to illustrate the use of
Multithreads. Multithreads.

Prepared By,​ ​ ​ ​ Verified By, Prepared By,​ ​ ​ ​ Verified By,


1.Mr.N.Anandhakumar,AP/CSE ​ ​ Mrs.V.Umadevi, 1.Mr.N.Anandhakumar,AP/CSE ​ ​ Mrs.V.Umadevi,
2.Ms.M.Sowndharya,AP/CSE​ HOD/CSE

You might also like