Kankali Secondary School
Chandragiri-13, Purano Naikap,KTM
SEE Prepatory Examination-2080
Subject: Data Structure & OOP in C++ F.M:09
Class: Ten Time: 10 minutes P.M:03
Name : ........................................................................
Group 'A' Multiple Choice Questions . (9 x 1 =9 marks) Tick the best answer.
1. Who invented OOP?
a) Andrea Ferro b) Adele Goldberg c) Alan Kay d) Dennis Ritchie
2. Which is not a feature of OOP in general definitions?
a) Efficient Code b) Code reusability c) Modularity d)Duplicate/Redundant data
3. Which feature of OOP indicates code reusability?
a) Abstraction b) Polymorphism c) Encapsulation d) Inheritance
4. Which header file is required in C++ to use OOP?
a) OOP can be used without using any header file b) stdlib.h c) iostream.h d) stdio.h
5. Which among the following doesn’t come under OOP concept?
a) Data hiding b) Message passing c) Platform independent d) Data binding
[Link] feature by which one object can interact with another object is _____________
a) Message reading b) Message Passing c) Data transfer d) Data
7. How many types of access specifiers are provided in OOP (C++)?
a) 4 b) 3 c) 2 d) 1
8. What is an abstraction in object-oriented programming?
a) Hiding the implementation and showing only the features
b) Hiding the important data
c) Hiding the implementation
d) Showing the important data
9. In which access should a constructor be defined, so that object of the class can be created
in any function?
a) Any access specifier will work
b) Private
c) Public
d) Protected
Chandragiri-13, Purano Naikap,KTM
SEE Prepatory Examination-2080
Kankali Secondary School Subject: Data Structure & OOP in C++ F.M:41
Chandragiri-13, Purano Naikap,KTM
SEE Prepatory Examination-2080 Class: Ten Time: 2 hours P.M:18
Subject: Data Structure & OOP in C++ F.M:41
Class: Ten Time: 2 hours P.M:18 Group 'B' Short Questions ( 5 x 5 =25 marks)
Group 'B' Short Questions ( 5 x 5 =25 marks) 10. Explain the different operations performed on data structure.(5)
11. How abstraction is achieved ? Explain with example. (2+3)
10. Explain the different operations performed on data structure.(5)
12. What is hierarchical inheritance? Write C++ program to show
11. How abstraction is achieved ? Explain with example. (2+3) hierarchical inheritance. (2+3)
12. What is hierarchical inheritance? Write C++ program to show 13. State different types of polymorphism .(5)
hierarchical inheritance. (2+3)
14. Explain the features of OOP.(5)
13. State different types of polymorphism .(5)
OR
14. Explain the features of OOP.(5)
Write C++ program to illustrate the concept of function overriding.
OR
Group 'C' Long Questions ( 8 x 2 =16 marks)
Write C++ program to illustrate the concept of function overriding.
Group 'C' Long Questions ( 8 x 2 =16 marks) 16. Define Function Overloading . Write a program in C++ to input a
number and check whether it is prime or composite. (2 +4)
16. Define Function Overloading . Write a program in C++ to input a OR
number and check whether it is prime or composite. (2 +4)
Write C++ program to display fibonacci series. How can you achieve
OR multiple inheritance. (4+4)
Write C++ program to display fibonacci series. How can you achieve 17. What is data structure? Explain different types of linear and non-
multiple inheritance. (4+4) linear data structure. (2 + 6)
17. What is data structure? Explain different types of linear and non- Best of Luck
linear data structure. (2 + 6)
Best of Luck
Kankali Secondary School