Control statements in C++

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Malar Selvi
Used 18+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify the odd one from the keywords of jump statements:
break
switch
goto
continue
2.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of the following is called entry control loop?
(A) do-while
(B) for
(C) while
(D) if-else
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int a, b, c
a = 6 ;
b = 7 ;
c = (a++) – (- - b) ;
cout << c ;
The output of the above code, when it is executed is ……………
a) 0
b) 9
c) 11
d) error
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an Object Oriented Programming language?
a) C++
b) C
c) BASIC
d) FORTRAN
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A preprocessor directive starts with the symbol ………….
a) %
b) \
c) $
d) #
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A Program written in high level language is called as …………….
a) Object code
b) Source code
c) Executable code
d) All of these
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT true, related to functions?
a) The actual parameters can be passed in the form of constants to the formal parameters of value type.
b) The actual parameters can be passed only as variable to formal parameters of reference type.
c) The default value in the formal parameters can be given in the form of variable initialization.
d) The default value for an argument can be given in between the argument list
Create a free account and access millions of resources
Similar Resources on Wayground
11 questions
Python Function

Quiz
•
11th - 12th Grade
10 questions
Functions

Quiz
•
8th Grade - University
15 questions
MODULE 6 POST TEST

Quiz
•
10th Grade
10 questions
CS Python Fundamentals Test 12 PRACTICE

Quiz
•
9th - 12th Grade
20 questions
Intro to JavaScript

Quiz
•
9th - 12th Grade
10 questions
Office Scripts Quiz

Quiz
•
12th Grade
20 questions
Creative Coding Review

Quiz
•
8th - 12th Grade
18 questions
Programming concepts

Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade