C++ misc-1

Quiz
•
Computers
•
University
•
Hard
Mustafa Buzun
Used 14+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Creating a new variable without value
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the function that all C/C++ programs must contain?
start()
mail()
main()
func()
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is a correct comment?
*/ Comments */
** Comment **
/* Comment */
{ Comment }
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which escape sequence moves the cursor to the next line?
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following is NOT a logical operator in C/C++ language?
&
&&
||
!
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output ?
int main(){
int a=32;
do{
cout << a << " ";
a++;
if( a > 35 )
break;
}
while(1);
return 0;
}
No Output
32 33 34
32 33 34 35
Compiler error
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Choose all correct statements.
a++ is POST INCREMENT Operator
a-- is POST DECREMENT Operator
--a is PRE DECREMENT Operator
++a is PRE INCREMENT Operator
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Struktur Data

Quiz
•
University
15 questions
quiz pertemuan 2 asik ddp

Quiz
•
University
19 questions
STII (AD23) - Arreglos en C++ (T4)

Quiz
•
University
17 questions
QUIZ PF ON TOPIC 1 & 2

Quiz
•
University
15 questions
Quiz Ke 6 alprog if-09

Quiz
•
University
11 questions
Quiz 2: C++ Basics

Quiz
•
University
20 questions
UAS Struktur Data 2022

Quiz
•
University
15 questions
FOP - RECAP CHAP 3

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