Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

QP CODE: (18IT301) Reg.

No.
SRI KRISHNA COLLEGE OF TECHNOLOGY
An Autonomous Institution, (Approved by AICTE and affiliated to Anna University)
Accredited by NAAC with “A” grade
Coimbatore, Tamil Nadu
END SEMESTER ARREAR EXAMINATIONS – NOV/DEC 2021
Regulation – 2018
Programme(s) Course Code(s) Course Title
B.TECH - IT 18IT301 OBJECT ORIENTED PROGRAMMING
Time: Three Hours Max Marks: 100
No. of Pages: 2
COURSE OUTCOMES:
CO1 Understand the features of Object Oriented Programming
CO2 Use the forms of inheritance and constructor in real world scenario
CO3 Implement programs using package and interface concepts
CO4 Utilize input and output functionality to code basic file operations and experiment with exception
handling
CO5 Apply the concepts of Multithreading ,Event handling, Collection framework and swing to develop
real time applications

PART – A (10 X 2 = 20 MARKS) BT CO Marks


ANSWER ALL QUESTIONS
1. List the advantage of OOPs over Procedure-oriented programming U 1 2
language
2. Differentiate between interface and abstract class U 1 2
3. Interpret Constructor U 2 2
4. How can we create an instance of a class in java? AP 3 2
5. State the use of exception handling in java U 4 2
6. Interpret Character Stream U 4 2
7. Write the two ways of creating thread U 5 2
8. Infer Daemon Thread AN 5 2
9. Mention the purpose of protected Access Modifiers U 4 2
10. Identify the purpose of Import statement AN 3 2

PART – B (5 X 16 = 80 MARKS) BT CO Marks


ANSWER ANY FIVE QUESTIONS
11. Enumerate the various concepts of object oriented programming in detail U 1 16
with examples

12. How packages are used to resolve naming conflicts in Java? With an AP 3 16
example how to add classes to packages and how to import packages in
classes.

SKCT-November/December 2021
13. Illustrate various types of inheritance with example program AP 2 16

14. i)Write a java program to read any text file and count the number of words AP 3 8
in the file

(ii)Discuss two byte stream classes in java with an example U 4 8

15. Write a program to perform the following functions using classes, objects, AP 2 4
constructors and destructors where essential.
a. Get as input the marks of 5 students in 5 subjects
AP 2 8
b. Calculate the total and average
c. Print the formatted result on the screen AP 2 4

16. Identify the importance of Exception handling in java and explain in detail AP 4 16
about it
17. Write a simple Java program to implement basic Calculator operations. AP 5 16

18. Discuss the various parameter passing methods in Java. Illustrate with U 4 16
examples.

//END//

SKCT-November/December 2021

You might also like