Q Bank
Q Bank
NIT-1
PART-A
1. Mention some of the separators used in java programming?
2. How dynamic initialization of variables is achieved in java?
3. What is the output of the main method in the
given code?
4. What is java virtual machine?
5. What are the features of java?
6. Define object and classes ?(nov/dec2018)
7. Why are classes important in OO technology?
8. Difference between objects and classes?(apr/may2013),(nov/dec2018)
9. Difference between static and non static variables?
10. Define encapsulation?(nov/dec2015)
11. What is an abstract class?
12. Define class with example?
13. Difference between structure and class?
14. What is the default access to a member in a class?
15. What is meant by private accesss specifier?
16. What do you mean by instance variable?
2
17. Define constructor?
18. What is static in java?
19. Define API package?
20. Define the term CLASS PATH?(apr/may2017)
21. What are the components in file structure?
22. Define polymorphism?(apr/may2018)
23. What is an abstract type?(apr/may2018)
PART-B
Object Oriented Programming - Abstraction – objects and classes -
Encapsulation- Inheritance – Polymorphism:
1.Explain the features of oops concept with example? (nov/dec2018)
OOP in Java :
2.Explain the oop in java with example program?(13)(apr/may2017)
Characteristics of Java
3.Decsribe the Characteristics of Java?(13) (nov/dec2018)
The Java Environment
4.Explain the java environment with suitable example?(13)
Java Source File -Structure – Compilation
5.Explain the Java Source File Structure and Compilation with example program(13)
Fundamental Programming Structures in Java
6.Explain the Fundamental Programming Structures in Java with example
program?(07)
Classes In Java
7.Explain the classes in Java with example program?(07)
Constructors, Methods
8..Explain the constructors and methods with example program? (13)
Access Specifiers
9.Explain the different types of access specifiers with example program ?(7)
3
Static Members
10.Describe the static members functions with example program?(13)(nov/dec2016)
Comments:
11..Explain the java comments types with example?
Data Types:
12.Explain the different types of data types with example?(13)(nov/dec2015)
Variables
1.Explain the variables with example program?(7)
Operators:
1.Explain the types of operator with example program?(13)
Control Flow
1.Explain the types of control flow with example program?(13)
Arrays :
1.Explain the arrays concept with example program?(13)
Packages :
1.Describe the packages in java with example program?(13)
JavaDoc comments
1.Explain the javadoc comments.(7)
PART-C
1. .Explain the oops concept with example?(15)
2. Explain the Fundamental Programming Structures in Java ?(15)
3. Explain the types of operator with example program?(15)
4.Explain the characteristic of oop with example? (nov/dec2018) ?(apr/may2018)(15)
5.Compare c++ and java? ?(apr/may2018)
UNIT-2
PART-A
1.What is inheritance mention its uses?
2.Write the syntax of interfaces?
4
3.What modifier may be used with an interfaces
declaration?
4.What is copying?
5.What is cloning?
6.What is object cloning? (nov/dec2018)
7.What is an anonymous inner class?
8.How does the inner class differ from the declaration of an anonymous inner class?
9.What is inner class?
10. Define anonymous class?
11..Why the variables in interfaces static and final?(apr/may2017)
12.What is the purpose of nested interfaces?
13.What are the properties of nested interfaces?
14.What is extending interface?
15.What is multiple inheritances?
16.What are the types of inner classes?
17.Define static member classes?(nov/dec2017)
18.What is member classes?
19.Define local classes?
20.Define array list?
21.What is class hierarchy with example? (nov/dec2018)
PART-B
Inheritance
1. 1.What is inheritance? Explain types of inheritance with example program?
(nov/dec2018) ?(apr/may2018)(13)
5
2. .Explain multiple inheritances with example program?(apr/may2015)(13)
Super classes
3.Explain the super classes in inheritances with example program?(13)
sub classes
4.Explain the sub classes in inheritances with example program?(10)
Protected members
5.Explain the protected members in inheritances with example program?(10)
Constructors in sub classes
6.Explain the constructor in super classes in inheritances with example program?(10)
The Object class
7. Explain the object classes with example program?(7)
Abstract classes and methods
8. Explain the abstract classes and methods in heritances with example program?(nov/dec2017)(13)
Final methods and classes
9.Explain the final keywords and its types with example program?
Defining an interface
10.Define an interfaces with example?(5)
Implementing interface
11.Explain the various way of interface implementation?(13) (nov/dec2018)
What is Multithreading? Explain Thread Life Cycle in detail. (10)
b) Explain use of Static variables and methods in Java. (10)
Q.3) a) Explain the features of java Language. (10)
b) Write a java program to demonstrate use of final keyword. (10)
Q.4) a) Explain any Five swing components in Java with suitable program. (10)
b) What is Exception? Explain in detail Checked Exception and Unchecked Exception. (10)
Q.5) a) What is Package in Java? Explain Package with access modifier.