← All topics
Quiz: What Is OOP: questions with answers
10 questions, each with the answer and a short explanation.
Take the timed quiz + get a certificate →- Q1. A class is best described as:
- Q2. What does this print? (code)
- Q3. Which pillar means "show what it does, hide how it works"?
- Q4. Which is NOT a benefit of OOP?
- Q5. An object's data (like speed or brand) is called its:
- Q6. In procedural code (like C), what problem appears as a program grows?
- Q7. What does this print? (code)
- Q8. Which of these is behaviour (a method) rather than state of a BankAccount object?
- Q9. Which statement about OOP is correct?
- Q10. "pay() works for UPI, card or cash" describes which pillar?