BSC(Computer Science) QuestionBank
PAPER-II
Subject: Object Oriented Programming with Java and Data Structures
Unit-I
1. What is OOP? Explain the basic concepts of OOPS with examples?
2. What are the Benefits and Applications of OOPs?
3. What are the features of JAVA?
4. How much JAVA differs from C and C++?
5. How JAVA associated with internet and brings out its contribution to WWW?
6. What are web browsers? Explain various types?
7. What are the hardware and software requirements of java? Explain
the systems that supports java, required for java?
8. What are tools that are included in JDK. Explain with the flow chart? What are mostly used packages?
9. Explain a simple java program and the unique features of a program?
10. Write program to find the area of a room. Explain the basic structures of a java program?
11. What are java Tokens and five types of tokens in java?
12. Classification of java statements with diagram?
13. What are the steps involved in implementation of java program?
14. What are command line arguments? Explain with simple program?
15. What are the various types of constants which java supports?
16. What are the 2 ways .Through which we can assign values to variables?
17. Write a program to illustrate how to read data from the keyboard?
18. What are the 3 kinds of java variables .Describe briefly the problems which arise using symbolic constants?
19. What is type casting? Explain briefly? Program to illustrate to creation and casting of a program?
Unit-II
1.Explain abiut arithmetic operators with examples?
2.What are the different types of Relational operators.Explain with a program?
3.What are the different types of logical operators? Explain the concept of assignment operators with advantages using them?
4.How many types of If statements are there?Explain with syntax and examples.
5.Write a program which illustrates switch case statement?
6.What is looping?what are the four steps which are included in the looping process?Explain while loop with examples?
7.How is the execution of for loop done? Write a program to compute the ‘power of 2’using for loop?
8.How is the nesting done in for loops?
9.How are the jumps done in loops? Explain with example?
10.How are the labels defined in Java? Illustate it with the program?
11.What is class? How are variables and methods defined in class?
12.How do you create objects? How are the members of the class accessed using objects?
13.Write a program to calculate area of room using classes?
14.What is a Constructor? When the constructor is invoked and how?
15.Define method overloading? Write a program to illustrate it?
16.What is the purpose of using static members and write a program using static?
17.Explain the concept of inheritance with examples and also write a program?
18.What are the different types of inheritance .Explain?
19.What are access modifiers? How many types of access modifiers are there?
Unit-III
1.What is an Array? How is an array created in a one-dimensional array? Explain with examples?
2.Write a program to sort the elements in an array?
3.Explain two-dimensional arrays with examples?
4.Write a program to illustrate two dimensional array?
5.How can we implement strings? Write a program to sort the strings in alphabetical order?
6.Write a program to illustrate the manipulation of strings?
7.What is the class used to create generic dynamic arrays? What are its advantages?
8.What is the difference between autoboxing and unboxing>
9.What are the advantages of using enumerated types? Write a program to illustrate it?
10.What are interfacse? Define them with examples? How can they be extended?
11.How can ca class implement interfaces? Write a program using interfaces?
12.write a program to show that interfaces supports multiple inheritance?
13.What are packages? Briefly list the benefits of packages?
14.Differentiate between java API packages and system packages?
15.How can the packages be used in other classes or clients?
16.What is static import? Explain its use?
17.How will you declare a class inorder to hide them?
18.How can we add classes to an existing package? Explain briefly?
No comments:
Post a Comment