Question Bank BCS306A
Question Bank BCS306A
WITH JAVA
Course code: BCS306A
QUESTION BANK
MODULE 1 AND MODULE 2
1. Brief the overview on JAVA
2. List and explain the features of JAVA .
3. Explain the object oriented principles.
4. Explain different lexical issues in JAVA
5. Describe the process and running of JAVA application with the help
of simple programs.
6. Describe the meaning of each keyword public static void main with
example.
7. Write a program to find the sum of elements by using for each loop in
an array .
8. Write a program using control statements .
9. List and explain different types of operators with example.
10. Write a program using switch to stimulate calculator.
11. Briefly explain command line arguments and its applications.
12. Develop a program in JAVA, find average and standard deviation of
elements in an array.
13. Using ternary operator find the biggest among 3 numbers.
14. Find the sum of two matrices of suitable order N.
15. Explain the concept and fundamentals of class and objects with
suitable examples.
16. Brief method overloading with suitable examples.
17. What is constructors and it types.
18. Briefly explain this and static keywords with examples each.
19. Explain access modifiers in JAVA
20. Describe parameter passing techniques with examples.
21. By using methods compute the average of three numbers.
22. What is recursion ?
23. Describe JAVA inner class or nested class.
24. What is IS -A relationship and its types with examples.
25. Brief a note on final keyword with suitable examples.
26. By using final keyword with inheritance write a simple program.
27. Write a program of employee with empid, dob,salary as attributes and
create read and display methods to initialize and print the employee
details.
28. What is method overriding?
29. Write a program creating a class Vehicle with properties name and
model,create a subclass Car that extends vehicle and add a method
color() that print the color of the car. Then create another subclass Bus
that also extends Vehicle and includes a method buscolor() that prints
the color of bus.
30. Explain multilevel inheritance with example.
31. Differentiate between method overloading and method overriding
with examples.
32. Write a simple program and develop method overriding .