Sanjivani College of Engineering, Kopargaon
Department of Electronics & Telecommunication Engineering
______________________________________________________________________________
Question Bank
Subject: Object Oriented Programming (OOP)
Prepared by: Prof. Shailesh Kulkarni, Prof. Nitin Bhopale
1. Which are the different Applications of C++
2. What are the benefits and applications of OOP
3. What is Reference variables, explain with example
4. What is use of Scope resolution operator(::)
5. Define Class & Object
6. What is the role of JDK, JRE, JVM in Java
7. What are the major issues facing the software industry today?
8. What is Procedure Oriented Programming (POP) ?
9. Describe how data are shared by functions in procedure-oriented programs?
10. What is OOP? What are the difference between POP and OOP?
11. How are data and functions organized in an object-oriented program?
12. What are the unique advantages of an object-oriented programming paradigm?
13. Distinguish between the following terms: (a) Object and classes (b) Data
abstraction and data encapsulation (c) Inheritance and polymorphism (d) Dynamic
binding and message passing (e) C and C++ (f) C++ and Java (g)Interface and class
(h)throw and throws
14. Describe inheritance with suitable example
15. What do you mean by dynamic binding? How it is useful in OOP?
16. What is the use of preprocessor directive #include<iostream>?
17. How does a main() function in c++ differ from main() in c?
18. Describe the major parts of a c++ program.
19. Write a program in C++ to read two numbers from the keyboard and display the
larger value on the screen.
20. Write a program in C++ to input an integer value from keyboard and display on
screen“SANJIVANI COE”that many times.
21. What is friend function?
22. What is abstraction?
23. What are virtual functions?
24. Which are the data types in Java
25. What do you mean by pure virtual functions, how to identify it
26. How to do Member allocation for objects
27. How to identify Constructors & Destructors in the program
28. What are types of constructor
29. What is constructor overloading
30. What is Operator overloading concept explain with example
31. What is Inheritance and types of Inheritance
32. What is a function ? How will you define a function in C++ ?
33. How are the argument data types specified for a C++ function? Explain with
Suitable example.
34. What types of functions are available in C++ ? Explain.
Sanjivani College of Engineering, Kopargaon
Department of Electronics & Telecommunication Engineering
______________________________________________________________________________
Question Bank
Subject: Object Oriented Programming (OOP)
Prepared by: Prof. Shailesh Kulkarni, Prof. Nitin Bhopale
35. What is recursion? While writing any recursive function what thing(s) must be
taken care of ?
36. What is string class
37. What is inline function? When will you make a function inline and why ?
38. What is a class? How objects of a class are created ?
39. What is difference between structure and class
40. Define data members , member function, private and public members with
example.
41. What is inline function?
42. What is the meaning of each term in “public static void main()”
43. Describe briefly the features of I/O system supported by C++.
44. How does cout, cin work?
45. Explain new and delete operator
46. Explain run time polymorphism with example
47. Why it is necessary to include the file iostream in programs?
48. Enlist the Java features
49. What are Java Tokens and Java Statements
50. Explain Inheritance in Java ,which are the different access specifiers in Java
51. Exaplain different types of inheritance with diagram and syntax
52. Explain the use of this keyword
53. What is Garbage collection, How Garbage collector works
54. What is Method Overloading
55. How to compile and run the Java program using command prompt.
56. Explain Command line arguments.
57. Explain Method overriding and Method overloading
58. Explain Dynamic method dispatch with example
59. What is Abstract class and its use
60. What is the use of final keyword in inheritance
61. What is Object class
62. What is Package and how it can be used
63. How to use package in a program, How to compile and run such program
64. Explain Access protection
65. What is Interface and its use with example
66. What is Multithreading and compare it with Multitasking
67. What is Concept of Exception handling and how finally keyword is used in it.
68. Explain Reading console inputs, Writing Console output.
69. Explain different functions supported by console I/O
70. What is an Applets
71. Explain life cycle of an applet with use of different methods and states
72. Which are the different types of applets
73. Explain with suitable example procedure to create a simple applet.
Sanjivani College of Engineering, Kopargaon
Department of Electronics & Telecommunication Engineering
______________________________________________________________________________
Question Bank
Subject: Object Oriented Programming (OOP)
Prepared by: Prof. Shailesh Kulkarni, Prof. Nitin Bhopale
74. Which are different types of errors
75. What are differences between applets and applications
76. Write down syntax to create object
77. Write down the syntax to create the thread in java by two ways
78. Write down the syntax to handle exception
79. Explain the use of try,catch,throw,throws,extends,implements,finally keywords
80. Explain super keyword in Java
81. Which operators cannot be overloaded in C++
82. What is byte code, when it is generated
83. What is the extension of file with byte code
84. Which are the dereferencing operator
85. What is mean by function prototyping
86. How to identify default constructor and default value constructor in program
87. When constructor and destructor are called in program
88. Can integer be typecasted to string and vice versa
89. What will happen if a double value is typecasted to integer
90. What are keywords, how they are grouped in Java
91. Whether the main method can be overloaded and override in Java
92. What is instance variable and static variable
93. Is it possible to change the value of final variable
94. Can final method be overridden
95. Is it possible to create the object of abstract class
96. Can we extend the final class
97. How the variable are declared inside the interface
98. List out the classes you have used
99. Enlist the interfaces you have used
100.How string concatenation is performed in Java
Note : It is expected that students should prepare all programs listed in the file along
with this Question Bank.
*** ALL THE BEST ***

Oop question-bank

  • 1.
    Sanjivani College ofEngineering, Kopargaon Department of Electronics & Telecommunication Engineering ______________________________________________________________________________ Question Bank Subject: Object Oriented Programming (OOP) Prepared by: Prof. Shailesh Kulkarni, Prof. Nitin Bhopale 1. Which are the different Applications of C++ 2. What are the benefits and applications of OOP 3. What is Reference variables, explain with example 4. What is use of Scope resolution operator(::) 5. Define Class & Object 6. What is the role of JDK, JRE, JVM in Java 7. What are the major issues facing the software industry today? 8. What is Procedure Oriented Programming (POP) ? 9. Describe how data are shared by functions in procedure-oriented programs? 10. What is OOP? What are the difference between POP and OOP? 11. How are data and functions organized in an object-oriented program? 12. What are the unique advantages of an object-oriented programming paradigm? 13. Distinguish between the following terms: (a) Object and classes (b) Data abstraction and data encapsulation (c) Inheritance and polymorphism (d) Dynamic binding and message passing (e) C and C++ (f) C++ and Java (g)Interface and class (h)throw and throws 14. Describe inheritance with suitable example 15. What do you mean by dynamic binding? How it is useful in OOP? 16. What is the use of preprocessor directive #include<iostream>? 17. How does a main() function in c++ differ from main() in c? 18. Describe the major parts of a c++ program. 19. Write a program in C++ to read two numbers from the keyboard and display the larger value on the screen. 20. Write a program in C++ to input an integer value from keyboard and display on screen“SANJIVANI COE”that many times. 21. What is friend function? 22. What is abstraction? 23. What are virtual functions? 24. Which are the data types in Java 25. What do you mean by pure virtual functions, how to identify it 26. How to do Member allocation for objects 27. How to identify Constructors & Destructors in the program 28. What are types of constructor 29. What is constructor overloading 30. What is Operator overloading concept explain with example 31. What is Inheritance and types of Inheritance 32. What is a function ? How will you define a function in C++ ? 33. How are the argument data types specified for a C++ function? Explain with Suitable example. 34. What types of functions are available in C++ ? Explain.
  • 2.
    Sanjivani College ofEngineering, Kopargaon Department of Electronics & Telecommunication Engineering ______________________________________________________________________________ Question Bank Subject: Object Oriented Programming (OOP) Prepared by: Prof. Shailesh Kulkarni, Prof. Nitin Bhopale 35. What is recursion? While writing any recursive function what thing(s) must be taken care of ? 36. What is string class 37. What is inline function? When will you make a function inline and why ? 38. What is a class? How objects of a class are created ? 39. What is difference between structure and class 40. Define data members , member function, private and public members with example. 41. What is inline function? 42. What is the meaning of each term in “public static void main()” 43. Describe briefly the features of I/O system supported by C++. 44. How does cout, cin work? 45. Explain new and delete operator 46. Explain run time polymorphism with example 47. Why it is necessary to include the file iostream in programs? 48. Enlist the Java features 49. What are Java Tokens and Java Statements 50. Explain Inheritance in Java ,which are the different access specifiers in Java 51. Exaplain different types of inheritance with diagram and syntax 52. Explain the use of this keyword 53. What is Garbage collection, How Garbage collector works 54. What is Method Overloading 55. How to compile and run the Java program using command prompt. 56. Explain Command line arguments. 57. Explain Method overriding and Method overloading 58. Explain Dynamic method dispatch with example 59. What is Abstract class and its use 60. What is the use of final keyword in inheritance 61. What is Object class 62. What is Package and how it can be used 63. How to use package in a program, How to compile and run such program 64. Explain Access protection 65. What is Interface and its use with example 66. What is Multithreading and compare it with Multitasking 67. What is Concept of Exception handling and how finally keyword is used in it. 68. Explain Reading console inputs, Writing Console output. 69. Explain different functions supported by console I/O 70. What is an Applets 71. Explain life cycle of an applet with use of different methods and states 72. Which are the different types of applets 73. Explain with suitable example procedure to create a simple applet.
  • 3.
    Sanjivani College ofEngineering, Kopargaon Department of Electronics & Telecommunication Engineering ______________________________________________________________________________ Question Bank Subject: Object Oriented Programming (OOP) Prepared by: Prof. Shailesh Kulkarni, Prof. Nitin Bhopale 74. Which are different types of errors 75. What are differences between applets and applications 76. Write down syntax to create object 77. Write down the syntax to create the thread in java by two ways 78. Write down the syntax to handle exception 79. Explain the use of try,catch,throw,throws,extends,implements,finally keywords 80. Explain super keyword in Java 81. Which operators cannot be overloaded in C++ 82. What is byte code, when it is generated 83. What is the extension of file with byte code 84. Which are the dereferencing operator 85. What is mean by function prototyping 86. How to identify default constructor and default value constructor in program 87. When constructor and destructor are called in program 88. Can integer be typecasted to string and vice versa 89. What will happen if a double value is typecasted to integer 90. What are keywords, how they are grouped in Java 91. Whether the main method can be overloaded and override in Java 92. What is instance variable and static variable 93. Is it possible to change the value of final variable 94. Can final method be overridden 95. Is it possible to create the object of abstract class 96. Can we extend the final class 97. How the variable are declared inside the interface 98. List out the classes you have used 99. Enlist the interfaces you have used 100.How string concatenation is performed in Java Note : It is expected that students should prepare all programs listed in the file along with this Question Bank. *** ALL THE BEST ***