
C++Quiz#1
Authored by Swarup Sarkar
Computers
Professional Development
Used 97+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 5 pts
A.The program will print the output 0
B.The program will print the output 33.
C.The program will print the output Garbage.
D.The program will report compile time error.
Answer explanation
Explanation:cannot call member function 'void Test::Display()' without object
2.
MULTIPLE CHOICE QUESTION
2 mins • 5 pts
A.45 22
B.46 22
C.45 23
D.46 23
3.
MULTIPLE CHOICE QUESTION
2 mins • 5 pts
A.The program will print the output me!.
B.The program will print the output Wel.
C.The program will print the output !em.
D.The program will print the output Welcome!.
E. The program will result in a compile time error.
4.
MULTIPLE CHOICE QUESTION
2 mins • 5 pts
A.The program will print the output 1 2 3.
B.The program will print the output 2 3 4 .
C.The program will print the output 4 5 6.
D.The program will report compile time error.
5.
MULTIPLE CHOICE QUESTION
2 mins • 5 pts
A.0
B.5
C.10
D.15
E.The program will report compile time error.
6.
MULTIPLE CHOICE QUESTION
2 mins • 5 pts
A.The program will print the output 1 2.
B.The program will print the output 0 1.
C.The program will print the output 1 1.
D.The program will print the output 1.
E.The program will report compile time error.
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
A. The program will print the output 80 80.
B. The program will print the output 81 80.
C. The program will print the output 81 81.
D. It will result in a compile time 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?