wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Reviewer Computer 10 - 4th Quarter

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

Which of the following utilizes the flowchart symbol below?

a)

I/O box

b)

Process capsule

c)

Terminal interrupt

d)

Connectors

2.

Which of the following utilizes the flowchart symbol below?

a)

I/O box

b)

Process box

c)

Program interrupt

d)

Process capsule

3.

Who conceptualized C++ programming language?

a)

Bell labs

b)

Guido Van Rossum

c)

Simula

d)

Bjarne Stroustrup

4.

What type of identifier is i_do_not_know?

a)

valid

b)

Keyword

c)

invalid

d)

i_do_not_know

5.

What symbol is used to insert comments in C++?

a)

//

b)

/* */

c)

#

d)

##

6.

Which of the following symbols is used in a trigraph?

a)

#

b)

?

c)

##

d)

??

7.

What is the output of the program below?

a)

Error message

b)

HELLO WORLD

c)

Hello World

d)

hello world

8.

3.143 uses which type of data?

a)

int

b)

float

c)

string

d)

decimal point

9.

Which of the following is not a keyword in C++?

a)

volatile

b)

extends

c)

friend

d)

this

10.

What is the output of the program below?

a)

True

b)

Error messages

c)

False

d)

Syntax Error

11.

Which of the following is the other term for constants?

a)

const

b)

literals

c)

preprocessor

d)

variables

12.

What are the parts of the literal/constants?

a)

integer numerals

b)

floating-point numerals

c)

string and Boolean values

d)

all of the mentioned

13.

What will be the output of the C++ program below?

a)

5

b)

Error

c)

6

d)

8

14.

What is the size of the data type wchar_t in C++?

a)

2

b)

2 or 4

c)

4

d)

Based on the number bits in the system

15.

Which of the following statements is true regarding int f (float)?

a)

f is a function taking an argument of type int and returning a floating point number

b)

f is a function taking an argument of type float and returning an integer

c)

f is a function of type float

d)

f is a function of type int

16.

Which variable type holds true or false data?

a)

bool

b)

double

c)

int

d)

string

17.

Which of the following statements is false regarding variables?

a)

Variable values can change while a program runs.

b)

All variables use the same amount of memory.

c)

Variables make it possible to process almost any kind of data.

d)

Variables must be stored in a database or file if they are to be retained when the program ends.

18.

Which of the following data types CANNOT store the number 47, 255?

a)

double

b)

string

c)

int

d)

char

19.

In C++, the syntax to declare a variable is: datatype variablename; Which of the following C++ declaration is invalid?

a)

bool lives;

b)

char Broiled;

c)

integer intScore;

d)

double DeCtuRn;

20.

Which type is best suited to represent the logical values?

a)

integer

b)

character

c)

boolean

d)

float