C++ Quiz

C++ Quiz

11th - 12th Grade

17 Qs

quiz-placeholder

Similar activities

C++ Mini Quiz

C++ Mini Quiz

12th Grade - University

22 Qs

Toán tử trong C ++

Toán tử trong C ++

10th - 12th Grade

20 Qs

GCSE Computing: Computational Logic 2.4

GCSE Computing: Computational Logic 2.4

11th - 12th Grade

15 Qs

Pseudocode

Pseudocode

9th - 12th Grade

20 Qs

C++ Practice

C++ Practice

9th - 11th Grade

12 Qs

Arithmetic Types Declare Initialize Relation Logical Ops

Arithmetic Types Declare Initialize Relation Logical Ops

9th Grade - University

16 Qs

Computer Science Refreshment

Computer Science Refreshment

12th Grade

19 Qs

Pseudocode Practice Questions

Pseudocode Practice Questions

9th - 12th Grade

20 Qs

C++ Quiz

C++ Quiz

Assessment

Quiz

Computers

11th - 12th Grade

Easy

Created by

Sahar Abdelaziz

Used 24+ times

FREE Resource

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does <= mean?

less than

greater than

less than or equal to

greater than or equal to

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the only function all C++ programs must contain?

start()

system()

main()

program()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What punctuation is used to signal the beginning and end of code blocks?

{ }

-> and <-

BEGIN and END

( and )

4.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Which command moves the shown text to the next line?
\t
\n
\r
\s

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

After running the following code, what will be the value of x?
y = 3;
x = 5 * y;
3
5
15
0

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the output of this program?
Program
int main()
{
cout<<"Hi everybody";
return 0;
}
"Hi everybody"
Hi everybody"
Hi everybody
"Hi everybody

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

... variables store whole numbers (-4, 3, 51, etc). 
Float
Logical
Character
Integer

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?