wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

ПРОГРАММИРОВАНИЕ НА С++ 8 КЛАСС

Total questions: 8

Worksheet time: 5mins

Name
Class
Date
1.

The whole data type is...?

a)

int

b)

float

c)

duble

d)

doudle

2.

What numbers are called real?

a)

int

b)

long int

c)

float

d)

char

3.

Select Loop with option

a)

For

b)

While

c)

Do while

d)

if then else

4.

The n number is a multiple of 4

a)

n % 10 == 4

b)

n % 0 == 4

c)

n % 4 == 0

5.

FOR statement syntax...

a)

for(int i=1; i<=10; i++) {Body of the loop }

b)

{Body of the loop } for(int i=1; i<=10; i++)

c)

for(int i<=10; i=1; i++) {Body of the loop }

6.

Input operator

a)

COUT

b)

CIN

c)

Return

d)

if

7.

Output operator

a)

COUT

b)

CIN

c)

RETURN

d)

IF

8.

WHAT WILL BE THE IMPORTANCE AFTER THE CYCLE IS COMPLETED FOR (INT X=0; X<100; X++)?

a)

100

b)

110

c)

101

d)

99