X

Object Oriented Programming B.Tech Question Bank : tits.ac.in

Name of the College : Turbomachinery Institute of Technology &Sciences (TITS)
University : JNTU Hyderabad
Department : Computer Science Engineering
Subject Name : Object Oriented Programming
Degree : B.Tech
Year/Sem : II/II
Website : tits.ac.in
Document Type : Question Bank

Download Model Question Paper : https://www.pdfquestion.in/uploads/tits.ac.in/3055-javaqb.pdf

TITS Object Oriented Programming Question Bank

Unit I

1) What are the OOPs features?
2) Explain the importance of OOP languages?
3) What are the applications of oops?

Related : Turbomachinery Institute of Technology & Sciences Data Base Management Systems B.Tech Question Bank : www.pdfquestion.in/3051.html

4) What is data abstraction and encapsulation?
5) Explain about inheritance and polymorphism with an example?
6) Compare Procedural and OOP Languages?
7) What is a class inheritance hierarchy? How is it linked to classes and behavior?
8) Write a short notes on:
a) Inheritance
b) Polymorphism
c) Abstraction
d) Encapsulation
9) Explain the importance of Object-oriented programming languages.
10)Differentiate runtime and compile time polymorphism.

Unit II

1) Explain about buzzwords of java?
2) What are the data types used in java? Give examples?
3) Explain about control statements in java?
4) What is type casting and conversion? When it is required?
5) Explain the general syntax of writing an application in java. Also explain the steps to run the application
of java program?
6) What is an array? How arrays are declared in java with an example?
7) Explain operator precedence in java?
8) Write a java program for multiplication of matrices?
9) What is a constructor? What are its special properties?
10) Explain about class and object?
11) Explain about method overloading with example?
12) Explain about constructor overloading with example?
13) Write a java program for finding factorial of a given no.?
14) Explain about parameter passing technique?
15) Write a program to compute
15) Explain the use of static, final, public, and private keywords?

Unit III

Inheritance: Hierarchical abstractions, Base class object, subclass, subtype, substitutability, forms of inheritance- specialization, specification, construction, extension, limitation, combination, benefits of inheritance, costs of inheritance. Member access rules, super uses, using final with inheritance, Polymorphismmethod overriding, abstract classes, the object class
1) Discuss about Hybrid inheritance with an example?
2) Discuss about hierarchical inheritance with an example?
3) Explain about abstract class with an example?
4) Explain about the usage of super keyword with an example?
5) What is method overriding? How methods overriding is achieved in Java, with an example?
6) What happens when the final keyword is used for inheritance? Explain with an example?
7) Explain about benefits of inheritance. Define inheritance write a java program for simple inheritance
8) What is an abstract class? Can an abstract class have constructor? Explain?
9) Explain final keyword with all its usages. Support explanation with a program.
10)What is inheritance? How is it different from Aggregation?

Unit IV

Packages and Interfaces: Defining, Creating and Accessing a Package, Understanding CLASSPATH, importing packages, differences between classes and interfaces, defining an interface, implementing interface, applying interfaces, variables in interface and extending interfaces. Exploring java.io.
1) Prove that all the methods in interface are public. Explain with an example?
2) What is package? Explain the procedure to create package with an example?
3) List the advantages of packages and interfaces?
4) What is the usage of import statement? Explain with an example?
5) Explain how interfaces are implemented with an example?
6) Explain in detail the process of defining, creating, importing and accessing a package with example?
7) How interfaces can be extended? Explain with an example?
8) Give difference between abstract class and interface?
9) How multiple inheritances are achieved in java with the interfaces? Explain with an example?
10)Differentiate between Packages and Interfaces? Explain different types of java packages?

Unit V

Exception Handling: Concepts of exception handling, benefits of exception handling, Termination or resumptive models, exception hierarchy, usage of try, catch, throw, throws, finally, built in exceptions, creating own exception sub classes. String handling, Exploring java.util.
1) When you use nested try statements. Explain nested try statements with the help of an example?
2) Explain the following: try, catch, throw, throws, finally
3) What are the checked Exceptions and Unchecked Exceptions? Explain some of these exceptions with an example and also give the difference between them.
4) In JAVA, is exception handling implicit or explicit or both. Explain with the help of example java programs.
5) Explain about different types of exception handling techniques in java program.
6) a) Write a java program to demonstrate exception chaining.
b) Can we catch the exception without catch block? Explain?
7) How user can create user defined exceptions. Explain with an example?
8) Explain Logging in Java with all its levels.
9) What is Collection in Java? Can you identify any real life example which is similar to a collection in Java?
10) Explain the difference between: i) Vector and ArrayList. ii) Enumeration and Iterator.

Tags: tits.ac.in
Anusha:
www.pdfquestion.in © 2022 Contact Us   Privacy Policy   Site Map