17CS42 important question
Important Question OOC (15CS45)
Module 1
Introduction to object oriented concept
1. Explain oops Concepts
2. Difference between C & C++
3. Define pointer variable . write c++ program using reference variable.
4. Define function . Explain types of function
5. Explain function overloading
with an example
6. Define constructor . Explain
types of constructor
7. Explain static variable , static
function & static block.
8. Explain namespace
9. Define class . How class is declared & initialized with an example
10. Explain inline function with an example
11. Explain friend function with an example
Module 2
Introduction to Java
1. Explain how java is called " compile once & run anywhere".
2. Explain java buzz word(features).
3. Difference between C,C++ & Java
4. Explain any five types of operators in java
5. Explain byte code with an example
6. Explain JDK with an example.
7. Write a java program using array .
8. Explain type casting
Module 3
Introduction to object oriented concept
1. Explain oops Concepts
2. Difference between C & C++
3. Define pointer variable . write c++ program using reference variable.
4. Define function . Explain types of function
5. Explain function overloading
with an example
6. Define constructor . Explain
types of constructor
7. Explain static variable , static
function & static block.
8. Explain namespace
9. Define class . How class is declared & initialized with an example
10. Explain inline function with an example
11. Explain friend function with an example
Module 2
Introduction to Java
1. Explain how java is called " compile once & run anywhere".
2. Explain java buzz word(features).
3. Difference between C,C++ & Java
4. Explain any five types of operators in java
5. Explain byte code with an example
6. Explain JDK with an example.
7. Write a java program using array .
8. Explain type casting
Module 3
CLASSES, INHERITANCE, EXCEPTIONS PACKAGES AND INTERFACES
1.Describe the significance of final and super, with examples. (6M)
2. Define Classes. How class is declared & initialization with an example 6m
3. Define Constructor . Explain types of constructor with an example in java 8m
4.Why overriding methods are used in java? Example(8M)
5.What is meant by instance variable hiding? How to overcome it? 5m
6. Difference between Overloading and Overriding with an example ?[ July 2017 ]
7. What is an exception? Explain the different exception handling mechanisms, with an example, (8M) [Jan 2014, July 2015]
8. Define package. How package is created & implemented in java program. 6m
9. Explain interface, how interface helps in multiple inheritances. 6m
10. Define Inheritances . Explain types of inheritance with an example in java. 8m
11. List & Explain access protection in java. 6m
12. Explain the Java Garage collector? 6m
Module 4
Multi threading & Event handling
1. Explain multi threading . write a java program that create two thread with message.
2. Define thread. Explain types of thread
3. Explain synchronized with different block
4. Explain the role procedure & consumer problem
5. Explian briefly
i) Isalive ( ) ii) Join ( ) iii) thread priority iv)suspending & stopping thread
6. Explain inner class with an example
7. Explain bounded buffer
8. Explian delegates event model.
9 Explain Action event & adjustable event class
10. write a java program for keyboard event handling function
11. write a java program for mouse event handling function
Module 5
Applet & Swing
1. Explain the architecture of Applet
2. Explain Skeleton of Applet
3.Write a short on
i) Getdocumentbase ( )
ii) Getcodebase ( )
4.What are the deficiency of AWT that are overcome by swings? Explain the two key features of swings.
5. write a java program for
Multi threading & Event handling
1. Explain multi threading . write a java program that create two thread with message.
2. Define thread. Explain types of thread
3. Explain synchronized with different block
4. Explain the role procedure & consumer problem
5. Explian briefly
i) Isalive ( ) ii) Join ( ) iii) thread priority iv)suspending & stopping thread
6. Explain inner class with an example
7. Explain bounded buffer
8. Explian delegates event model.
9 Explain Action event & adjustable event class
10. write a java program for keyboard event handling function
11. write a java program for mouse event handling function
Module 5
Applet & Swing
1. Explain the architecture of Applet
2. Explain Skeleton of Applet
3.Write a short on
i) Getdocumentbase ( )
ii) Getcodebase ( )
4.What are the deficiency of AWT that are overcome by swings? Explain the two key features of swings.
5. write a java program for
i JButton ii) Jlabel iii) jtable iv) jcheckbox v) jlist vi) Jcombobox vii) jtextfield