verified to pass 2025
What number is represented in binary as 1000? - correct answer eight
How is the number one written in binary? - correct answer 1
The literal "4.5" is of what data type? - correct answer string
The literal '4' is of what data type? - correct answer character
The most recent attempt to map bit patterns to characters is the __________
standard, which can be indefinitely extended to include additional characters
as needed in the future. - correct answer unicode
The literal '+' is of what data type? - correct answer character
The literal "Hello" is of what data type? - correct answer string
The literal "4" is of what data type? - correct answer string
The literal 6.0 is of what data type? - correct answer float
The program called a(n) __________ translates the contents of a source code
file into machine language - correct answer complier
,The rules for structuring statements in a programming language are called its
__________. - correct answer syntax
Identifying the tasks and subtasks involved in the design of a program is
called __________ programming. - correct answer modular
Module names in C and C++ programs are case sensitive. - correct answer
true
Which of the following are used to create comments in a C or C++ source
code file? - correct answer // and /* */
The word __________ refers to the numbers, words, or more generally, any
collection of symbols that is manipulated by a program. - correct answer data
The most recent attempt to map bit patterns to characters is the __________
standard, which can be indefinitely extended to include additional characters
as needed in the future. - correct answer unicode
A string with no characters ("") is called the __________ or empty string. -
correct answer null
How is the number eight written in binary? - correct answer 1000
How is the number four written in binary? - correct answer 100
The literal "4" is of what data type? - correct answer string
,The result of using a compiler to translate a program written in source code
into machine language is a(n) __________ file. - correct answer object
The literal 6.0 is of what data type? - correct answer float
The literal 4 is of what data type? - correct answer integer
What number is represented in binary as 10? - correct answer two
The program called a(n) __________ translates the contents of a source code
file into machine language. - correct answer compiler
Module names in C and C++ programs are case sensitive. - correct answer
true
When representing data in a computer, a group of eight bits is called a
__________. - correct answer byte
The rules for structuring statements in a programming language are called its
__________. - correct answer syntax
How is the number one written in binary? - correct answer 1
The result of using a compiler to translate a program written in source code
into machine language is a(n) __________ file. - correct answer object
How is the number two written in binary - correct answer 10
, What is the value of the literal "4+5"? - correct answer "4+5"
Only the main module of a program can invoke other modules. - correct
answer false
The literal '+' is of what data type? - correct answer Character
Which of the following is a legal variable name? - correct answer last_name
A __________ is a quantity that can change its value during the execution of
a program.
1 variable
2 statement
3 data type
4 constant - correct answer variable
Each variable in a C or C++ program must be declared separately; only one
variable can be declared per statement.
1 true
2 false - correct answer false
Which of the following would appear at the beginning of a C++ statement that
displays something on the screen?
1 std::cout >>
2 std::cin >>
3 std::cout <<
4 std::cin << - correct answer std::cout <<