Get premium membership and access revision papers, questions with answers as well as video lessons.

Procedural Programming 2 (Java) Question Paper

Procedural Programming 2 (Java) 

Course:Bachelor Of Science In Computer Technology

Institution: Karatina University question papers

Exam Year:2012




Exam Name: COM 210
Course: Procedural programing 2
Institution/Board: Moi University Main Campus
Exam Year: 2011
Answer all the questions

1. What is Collection API?
2. Is Iterator a Class or Interface? What is its use?
3. What is similarities/difference between an Abstract class and Interface?
4. How to define an Abstract class?
5. How to define an Interface?
6. If a class is located in a package, what do you need to change in the OS environment to be able to use it?
7. How many methods in the Serializable interface?
8. How many methods in the Externalizable interface?
9. What is the difference between Serializalble and Externalizable interface?
10. What is a transient variable?
11. Which containers use a border layout as their default layout?
12. How are Observer and Observable used?
13. What is synchronization and why is it important?
14. What are synchronized methods and synchronized statements?
15. What are three ways in which a thread can enter the waiting state?
16. Can a lock be acquired on a class?
17. What's new with the stop(), suspend() and resume() methods in JDK 1.2?
18. What is the preferred size of a component?
19. What's the difference between J2SDK 1.5 and J2SDK 5.0?
20. What would you use to compare two String variables - the operator == or the method equals()?
21. What is thread?
22. What is multi-threading?
23. How does multi-threading take place on a computer with a single CPU?
24. How to create a thread in a program?
25. Can Java object be locked down for exclusive use by a given thread?
26. Can each Java object keep track of all the threads that want to exclusively access to it?
27. Does it matter in what order catch statements for FileNotFoundException and IOExceptipon are written?
28. What invokes a thread's run() method?
29. What is the purpose of the wait(), notify(), and notifyAll() methods?
30. What are the high-level thread states?






More Question Papers


Popular Exams


Mid Term Exams

End Term 1 Exams

End Term 3 Exams

Opener Exams

Full Set Exams



Return to Question Papers