Quiz #1

Quiz
•
Computers
•
University
•
Hard
Rajinikanth B
Used 5+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
C-QUEST QUIZ BEE

Quiz
•
University
16 questions
PSC ALM QUIZ

Quiz
•
University
12 questions
Array

Quiz
•
University
12 questions
javaquizvivek

Quiz
•
University
20 questions
EST102 : PROGRAMMING IN C TEST 1

Quiz
•
University
15 questions
Array Java

Quiz
•
University
16 questions
A "C" Event-the backbone of modern coding.

Quiz
•
University
20 questions
C Quest 2.0

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade