AMP

Chapter 13: Introduction to Object Oriented Programming Techniques — Online MCQ Test

COMPUTER SCIENCE · CLASS 11th · Tamil Nadu State Board
Practice Chapter 13: Introduction to Object Oriented Programming Techniques with a free chapter-wise online MCQ test. This chapter covers: Focusing on object-oriented paradigms this chapter details core OOP concepts including encapsulation abstraction inheritance and polymorphism. Students compare procedural programmi.... AI-generated questions from basic to board-exam level, with instant results and explanations.

Start Exam on Full Site →

Chapter 13: Introduction to Object Oriented Programming Techniques — Important Questions & Answers

Which of the following is the process of bundling data and the methods that operate on that data into a single unit?
  • A. Encapsulation
  • B. Inheritance
  • C. Polymorphism
  • D. Abstraction
Answer: A. Encapsulation
Encapsulation combines data and functions into one unit, usually a class. It also helps protect data from direct access.
Which OOP concept allows a class to derive properties and methods from another class?
  • A. Abstraction
  • B. Inheritance
  • C. Encapsulation
  • D. Overloading
Answer: B. Inheritance
Inheritance lets a new class acquire features of an existing class. This helps reuse code efficiently.
Which statement best describes abstraction?
  • A. Showing only essential features while hiding internal details
  • B. Combining multiple classes into one
  • C. Reusing code from a child class
  • D. Using the same function name for different tasks only
Answer: A. Showing only essential features while hiding internal details
Abstraction focuses on essential features and hides unnecessary implementation details. This makes programs simpler to understand.
A bank application has a class Account with methods deposit() and withdraw(). Different account types such as SavingsAccount and CurrentAccount reuse these methods and add special rules. Which concept is mainly shown here?
  • A. Encapsulation only
  • B. Inheritance with reuse
  • C. Abstraction only
  • D. Compilation
Answer: B. Inheritance with reuse
The derived classes reuse common features from Account and add their own behavior. This is inheritance with code reuse.
Which of the following statements is most appropriate for a board-exam answer about OOP?
  • A. OOP is mainly used to write only mathematical programs
  • B. OOP improves modularity, reusability, and maintainability by using classes and objects
  • C. OOP avoids the use of methods
  • D. OOP is the same as machine language
Answer: B. OOP improves modularity, reusability, and maintainability by using classes and objects
OOP is designed to make software modular and reusable through classes and objects. These features also make maintenance easier.