OBJECT ORIENTED CONCEPTS
[As per Choice Based Credit System (CBCS) scheme]
(Effective from the academic year 2017 - 2018)
SEMESTER - VI
Subject Code 18CS45
IA Marks 40
Number of Lecture Hours/Week 4
Exam Marks 60
18CS45 - OBJECT ORIENTED CONCEPTS
Important Questions - MODULE - 4
These Questions are being framed for helping the students in the "FINAL Exams" Only (Remember for Internals the Question Paper is set by your respective teachers). Questions may be repeated, just to show students how VTU can frame Questions.
- ADMIN
18CS45 - OBJECT ORIENTED CONCEPTS
Important Questions - MODULE - 4
1. What is thread? Explain two ways of creation of threads. (07 Marks) (Dec.2019/Jan.2020 | 17 Scheme)
2. Describe thread priority. How to assign and get the thread priority. (07 Marks) (Dec.2019/Jan.2020 | 17 Scheme)
3. Explain the following with syntax and example,
(i) wait ( ) (i) notify ( ) (ii) notifyAll ( ). (06 Marks) (Dec.2019/Jan.2020 | 17 Scheme)
4. What is meant by deadlock? How to avoid deadlock? Give example. (10 Marks) (Dec.2019/Jan.2020 | 17 Scheme)
5. Briefly explain the role of inner class and anonymous inner class in java. (05 Marks) (Dec.2019/Jan.2020 | 17 Scheme)
6. What is an event class? List and explain different event classes available in java. (05 Marks) (Dec.2019/Jan.2020 | 17 Scheme)
7. Describe the thread priority. How to assign and get the thread priority? (06 Marks) (Dec.2019/Jan.2020 | 15 Scheme)
8. What is Synchronization? Explain the role of Synchronization with product consumer problem. (10 Marks) (Dec.2019/Jan.2020 | 15 Scheme)
9. With the syntax explain the use of is Alive ( ) and join ( ) methods. (06 Marks) (Dec.2019/Jan.2020 | 15 Scheme)
10. Discuss delegation event model with components based on its model. (06 Marks) (Dec.2019/Jan.2020 | 15 Scheme)
11. Explain any two event listener interface with its functions or methods. (04 Marks) (Dec.2019/Jan.2020 | 15 Scheme)
12. Explain the concepts of multithreading in Java. Explain the two ways of making class threadable with examples. (10 Marks) (June/July 2019 | 17 Scheme)
13. With a syntax, explain isAlive( ) and join( ) with suitable program. (10 Marks) (June/July 2019 | 17 Scheme)
14. Write short notes on Event Listener interface and explain any two interfaces with syntax. (08 Marks) (June/July 2019 | 17 Scheme)
15. Write short notes on Event class and explain any two with syntax. (08 Marks) (June/July 2019 | 17 Scheme)
16. How inner classes are used in Java? Explain. (04 Marks) (June/July 2019 | 17 Scheme)
17. Explain isAlive( ) and join( ) methods with an example program. (08 Marks) (June/July 2019 | 15 Scheme)
18. Explain how thread can be created by implementing runnable interface with an example program. (08 Marks) (June/July 2019 | 15 Scheme)
19. Explain delegation event model used to handle events in Java. (08 Marks) (June/July 2019 | 15 Scheme)
20. Briefly explain various sources of events. (08 Marks) (June/July 2019 | 15 Scheme)
21. What is thread? Explain two ways of creating a thread in JAVA with example. (08 Marks) (Dec.2018/Jan.2019 | 15 Scheme)
22. What is the need of synchronization? Explain with an example how synchronization is implemented in JAVA. (08 Marks) (Dec.2018/Jan.2019 | 15 Scheme)
23. Explain the delegation event model used to handle events in JAVA. What are events, event listener and event sources? (06 Marks) (Dec.2018/Jan.2019 | 15 Scheme)
24. With the syntax. explain the use of isAlive( ) and join( ) methods. (04 Marks) (Dec.2018/Jan.2019 | 15 Scheme)
25. Explain Adapter class and Inner classes with example. (06 Marks) (Dec.2018/Jan.2019 | 15 Scheme)
26. Define the concept of multithreading in Java and explain the different phases in the life cycle of a thread, with a neat sketch. (08 Marks) (June/July 2018 | 15 Scheme)
27. Discuss briefly Synchronization in Java (2). (02 Marks) (June/July 2018 | 15 Scheme)
28. Write an example Program for implementing static synchronization in Java. (06 Marks) (June/July 2018 | 15 Scheme)
29. Elucidate the two ways of making a class threadable, with examples. (08 Marks) (June/July 2018 | 15 Scheme)
30. Describe the delegation event model and explain what happens internally at a button click. (08 Marks) (June/July 2018 | 15 Scheme)
31. How synchronization can be achieved for threads in Java? Explain with syntax. (06 Marks) (June/July 2017 | 15 Scheme)
32. Explain the adaptor class with an example. (04 Marks) (June/July 2017 | 15 Scheme)
33. With the syntax explain the use of isAlive( ) and Join( ) methods. (06 Marks) (June/July 2017 | 15 Scheme)
34. What are the differences between suspending and stopping the threads? (05 Marks) (June/July 2017 | 15 Scheme)
35. Discuss delegation event model with suitable examples. (06 Marks) (June/July 2017 | 15 Scheme)
36. Explain inner class with example. (05 Marks) (June/July 2017 | 15 Scheme)
-ADMIN
ANSWER SCRIP FOR THESE QUESTIONS WILL BE UPLOADED "AS SOON AS POSSIBLE"
Visit: https://hemanthrajhemu.github.io/AnswerScript/
For immediate Notification Join the Telegram Channel
-ADMIN
T = Text book
QB = Question Bank
AS = Amswer Script
-ADMIN