
C++ misc-1
Authored by Mustafa Buzun
Computers
University
Used 14+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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
Software Engineering Quiz 1
Quiz
•
University
10 questions
Machine Learning (Introduction)
Quiz
•
University
10 questions
Entorno Financiero Digital 2do test
Quiz
•
University
11 questions
Determining System Requirements
Quiz
•
University
15 questions
1.1.1 The structure and function of the processor
Quiz
•
11th Grade - University
20 questions
Network topologies
Quiz
•
8th Grade - University
10 questions
Google Apps
Quiz
•
10th Grade - Professi...
18 questions
CIS2303 Week 4_5 Ch_3
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