Pandian Saraswathi Yadav Engineering College, Arasanoor-630561
Department of Computer Science and Engineering
Exam :Revision Test II Max. Marks : 100
Date : Time : 1.00 P.M to 4.00 P.M
Sub Code : CS3391 Subject Name : OOPS
Year &Sem : II & III Name of The Faculty : [Link] AP/CSE
PART A (Answer all the questions) (10*2=20)
Q.N BT
QUESTIONS M CO’s
O
1 What is Thread Pool? 2 1 2
2 Difference between String and StringBuffer. 2 1 2
3 How to declare a java generic bounded type 1
2 2
parameter?
4 State the two challenges of generic 2 1
2
programming in virtual machines.
5 What do you mean by generic programming? 2 3 3
6 2 3 2
7 2 4 2
8 2 4 1
9 2 5 2
10 2 5 2
Answer all the questions(5×13=65)
Q. Question M CO BTL
No
11. Apply the string handling functions to do the
following operations (i) Compare the two
strings. (ii) 3 Reverse the String.”Happy”
12. (i) Explain the all the string operators with
syntax and example.
(ii) Write a program to receive the name of a
file within a text field and then displays its
contents within a text area.
12.(a)
12.(b)
13.(a)
13.(b)
14.(a)
14.(b)
15.(a)
15.(b)
Part C
Answer all the questions(1×15=15 marks)
Q. No Question M CO BTL
16.(a) Explain the string comparison methods with an 15 4 2
example.
OR
16.(b) What are the different data types in JAVA? Explain 15 1 3
each of them with example.
M – Mark; COs – Course Outcome; BT – Bloom Taxonomy 1- Remember 2-
Understand 3- Apply 4-Analyze 5- Evaluate and 6-Create
STAFF IN-CHARGE HOD VICE-PRINCIPAL PRINCIPAL