
Quiz #1
Authored by Rajinikanth B
Computers
University
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Who invented C++?
Dennis Ritchie
James Gosling
Bjarne Stroustrup
Guido van Rossum
2.
MULTIPLE SELECT QUESTION
10 sec • 1 pt
Select the valid IDENTIFIERS
hello
_
1_2_3
hello123
Int
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is a correct way to declare an integer variable in C++?
int 1num;
integer num;
int num;
int-number;
4.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
What is the output of the given code?
4
5
6
Compilation Error
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following is not a valid C++ data type?
string
bool
integer
double
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which loop will always execute its body at least once, regardless of the condition?
for loop
do-while loop
while loop
None of the above
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the purpose of the break statement in C++?
To terminate the current loop or switch statement
To terminate the program
To skip the current iteration
To restart the loop
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?
Similar Resources on Wayground
20 questions
Review Quiz (Chapter 3&4)
Quiz
•
University
20 questions
C Programming Unit-1 Test-2
Quiz
•
University
15 questions
ລະບົບຖານຂໍ້ມູນ ທົດສອບ1
Quiz
•
University
20 questions
Microprocessor
Quiz
•
University
17 questions
Đề ôn tập cuối HKI lớp 5
Quiz
•
6th Grade - University
20 questions
Java Quiz 1
Quiz
•
University
18 questions
Fiber Optic
Quiz
•
University
20 questions
ICT Short Quiz
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade