Day 15 Assessment -Encapsulation & Abstraction, Exception-28June
Quiz
•
Professional Development
•
University
•
Medium
KVCH CORPORATE
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is encapsulation in C++?
Hiding the internal details and showing only the functionality
Creating multiple functions with the same name
Inheriting properties from another class
Allocating memory for objects
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you achieve encapsulation in C++?
By using classes and access specifiers
By using only global variables
By writing functions outside of classes
By using pointers
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which access specifier restricts access to the members of a class only to functions within the same class?
public
protected
private
static
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is abstraction in C++?
Using derived classes to extend base class functionality
Providing only essential information and hiding the background details
Allocating dynamic memory for objects
Overloading operators to work with user-defined data types
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How is abstraction typically implemented in C++?
Through the use of access specifiers
By using abstract classes and interfaces
By allocating memory dynamically
Through the use of global variables
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of exception handling in C++?
To write efficient code
To handle runtime errors gracefully
To manage memory allocation
To create multiple threads
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to throw an exception in C++?
catch
throw
try
finally
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
12 questions
Time Telling
Quiz
•
University
15 questions
EVALUACIÓN DIAGNÓSTICA PERIODONTOLOGÍA II
Quiz
•
KG - University
10 questions
Teaching terminologies
Quiz
•
University
10 questions
Gujarat State
Quiz
•
KG - Professional Dev...
10 questions
Soal PPPK
Quiz
•
University
10 questions
Pretend Play
Quiz
•
University
13 questions
Anime 99
Quiz
•
9th Grade - Professio...
10 questions
Syllogism Quiz
Quiz
•
University
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Professional Development
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
12 questions
Halloween
Quiz
•
3rd Grade - University
5 questions
Using Context Clues
Interactive video
•
4th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
14 questions
Eat Healthy,Be Healty
Quiz
•
4th Grade - University
7 questions
History of Halloween: Pagan or Christian?
Interactive video
•
11th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
