NEW
Font size
WorksheetsReviewer Computer 10 - 4th Quarter
Total questions: 20
Worksheet time: 10mins
Which of the following utilizes the flowchart symbol below?
I/O box
Process capsule
Terminal interrupt
Connectors
Which of the following utilizes the flowchart symbol below?
I/O box
Process box
Program interrupt
Process capsule
Who conceptualized C++ programming language?
Bell labs
Guido Van Rossum
Simula
Bjarne Stroustrup
What type of identifier is i_do_not_know?
valid
Keyword
invalid
i_do_not_know
What symbol is used to insert comments in C++?
//
/* */
#
##
Which of the following symbols is used in a trigraph?
#
?
##
??
What is the output of the program below?
Error message
HELLO WORLD
Hello World
hello world
3.143 uses which type of data?
int
float
string
decimal point
Which of the following is not a keyword in C++?
volatile
extends
friend
this
What is the output of the program below?
True
Error messages
False
Syntax Error
Which of the following is the other term for constants?
const
literals
preprocessor
variables
What are the parts of the literal/constants?
integer numerals
floating-point numerals
string and Boolean values
all of the mentioned
What will be the output of the C++ program below?
5
Error
6
8
What is the size of the data type wchar_t in C++?
2
2 or 4
4
Based on the number bits in the system
Which of the following statements is true regarding int f (float)?
f is a function taking an argument of type int and returning a floating point number
f is a function taking an argument of type float and returning an integer
f is a function of type float
f is a function of type int
Which variable type holds true or false data?
bool
double
int
string
Which of the following statements is false regarding variables?
Variable values can change while a program runs.
All variables use the same amount of memory.
Variables make it possible to process almost any kind of data.
Variables must be stored in a database or file if they are to be retained when the program ends.
Which of the following data types CANNOT store the number 47, 255?
double
string
int
char
In C++, the syntax to declare a variable is: datatype variablename; Which of the following C++ declaration is invalid?
bool lives;
char Broiled;
integer intScore;
double DeCtuRn;
Which type is best suited to represent the logical values?
integer
character
boolean
float
