wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

C++ quiz

Total questions: 10

Worksheet time: 6mins

Name
Class
Date
1.
The process of creating a new variable without value
a)
declaration
b)
naming
c)
instantiation
d)
assigning
2.
A programmer is:
a)
person who writes code and communicates instructions to a computer
b)
person who types
c)
person who studies computers
d)
error or mistake in your code
3.

C++ is (a)   oriented programming language

4.

Evaluate the following expressions to true or false


3!=4-1

a)

true

b)

False

5.

The assignment operator is used to assign a data type to a variable

a)

True

b)

False

6.

C++ supports

a)

Top down programming Approach

b)

Bottom Up programming Approach

c)

Both Top down & Bottom Up programming Approach

d)

Non of these

7.

Applications of C++ Programming

a)

Application Software Development

b)

Programming Languages Development

c)

Computation Programming

d)

Computation Programming

e)

Embedded System

8.

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

a)

{ }

b)

-> and <-

c)

BEGIN and END

d)

( and )

9.

Which of the following is a correct comment?

a)

*/ Comments */

b)

** Comment **

c)

/* Comment */

d)

{ Comment }

10.
A list of instructions that enable a computer to perform a specific task is a...
a)
Computer Program
b)
Algorithm
c)
Machine Code
d)
Binary Code