
Robotics quiz 2
Authored by joshua igoni
Science, Computers
1st - 12th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How does a C++ compiler differ between overload postfix and prefix operators?
C++ doesn't allow both operators to be overloaded in a class
A postfix ++ has a dummy parameter
A prefix ++ has a dummy parameter
By making prefix ++ as a global function and postfix a member function
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The binding of data and functions into a single entity is known as?
Polymorphism
Encapsulation
Overloading
Inheritance
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The class body has _______ access specifiers.
1
2
3
4
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following concepts means determining at what runtime, what method to invoke?
Data hiding
Dynamic typing
Dynamic loading
Dynamic binding
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following statements is correct?
Base class pointer can not point to derived class
Derived class pointer can not point to the base class
Pointer to Derived class can not be created
Pointer to Bass class can not be created
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Predict the output of the following C++ program
A non-zero value
0
Compiler error
Runtime error
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Predict the outcome of the code
0
Garbage value
Compile error
Access all questions and much more by creating a free account
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?