Object Oriented Concepts Through CPP
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
RAHUL SONAWANE
Used 4+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When can an inline function be expanded?
Runtime
Compile time
Never gets expanded
All of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Choose the option below which is not a member of class.
Friend function
Static function
Virtual function
Const function
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Data members and member functions of a class are private by default. True or False?
True
False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does polymorphism stand for?
a class that has four forms
a class that has two forms
a class that has only a single form
a class that has many forms
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which principle of OOP is illustrated by defining different methods with the same name but different parameters?
Inheritance
Polymorphism
Encapsulation
Abstraction
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of default arguments in function definitions?
To specify what value a function returns
To give a default value to a parameter if no argument is passed
To make a parameter optional
To overload a function
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does encapsulation in C++ refer to?
Creating multiple copies of the same function
Protecting data by making it private
The process of combining data and functions into a single unit
Linking different classes together
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
EVALUACIÒN PARCIAL - INNOVACIÒN TECNOLOGICA Y IA
Quiz
•
University
20 questions
Microsoft Excel
Quiz
•
KG - Professional Dev...
15 questions
Herramientas de Google
Quiz
•
12th Grade - University
20 questions
data structures1
Quiz
•
University
16 questions
Quiz on List and Tuples
Quiz
•
University
20 questions
Week 5: Test your understanding part 1
Quiz
•
University
20 questions
DI (EM24) - Diseño de Perfiles (T5)
Quiz
•
University - Professi...
15 questions
Digital Etiquette
Quiz
•
4th Grade - University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
9 questions
Principles of the United States Constitution
Interactive video
•
University
18 questions
Realidades 2 2A reflexivos
Quiz
•
7th Grade - University
10 questions
Dichotomous Key
Quiz
•
KG - University
25 questions
Integer Operations
Quiz
•
KG - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University
20 questions
SER vs ESTAR
Quiz
•
7th Grade - University
