Objected oriented programming in C++
Quiz by Sandhya
Feel free to use or edit a copy
includes Teacher and Student dashboards
Measure skillsfrom any curriculum
Measure skills
from any curriculum
Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.
With a free account, teachers can
- edit the questions
- save a copy for later
- start a class game
- automatically assign follow-up activities based on students’ scores
- assign as homework
- share a link with colleagues
- print as a bubble sheet
5 questions
Show answers
- Q1What is an object in object-oriented programming (OOP)?A way to prevent code executionA mechanism to organize data in a databaseAn instance of a classA process of converting code to machine language30s
- Q2What is inheritance in object-oriented programming (OOP)?A process of creating a new objectA way to delete data from memoryA technique to hide data from other classesA mechanism by which a class can inherit properties and methods from another class30s
- Q3What is encapsulation in object-oriented programming (OOP)?The bundling of data and methods together within a classA technique to prevent code executionA process of converting code to machine languageA method for storing data in a file30s
- Q4What is polymorphism in object-oriented programming (OOP)?The ability of an object to take on many formsA way to delete data from memoryA technique to prevent code executionThe process of converting code to machine language30s
- Q5What is the difference between a class and an object in object-oriented programming (OOP)?A class is an instance of an object, while an object is a blueprint or templateA class and an object are the same thingA class is a blueprint or template for creating objects, while an object is an instance of a classA class has data while an object has methods30s