(Autonomous)
COMPUTER SCIENCE AND ENGINEERING
III Semester
20CS302 – OBJECT ORIENTED PROGRAMMING
Regulations 2020
Question Bank
UNIT – IV MULTITHREADING AND
GENERIC PROGRAMMING
PART- A
Q.No Questions Marks CO BL
1 Identify the different states in thread. 2 CO4 R
2 Define threads in Java. 2 CO4 R
3 Define multithreading. 2 CO4 R
4 List out the motivation needed in generic programming. 2 CO4 R
5 Tell the methods of executors. 2 CO4 R
6 State the notify methods in multithreading. 2 CO4 R
7 Tell the synchronization concepts multithreading. 2 CO4 R
8 Identify the concepts of generic code. 2 CO4 R
9 What is the need for generic code? 2 CO4 R
10 Define the life cycle of thread. 2 CO4 R
11 List the types of thread priority. 2 CO4 R
12 Given the properties of thread. 2 CO4 R
13 Show the different states in thread. 2 CO4 R
14 List the interface of thread constructor. 2 CO4 R
15 Tell the benefits of multitasking. 2 CO4 R
16 Why the thread is a light weight process? 2 CO4 R
17 What is the uses of Run() and Start() method in java? 2 CO4 R
18 Differentiate the concepts of weight and sleep method. 2 CO4 R
19 How java interface must be implemented by all threads? 2 CO4 R
20 Name the two ways to create a thread in Java. 2 CO4 R