Chapter 2 Input Processing and Output – Flashcards
Unlock all answers in this set
Unlock answersquestion
Which error produces incorrect results but does not prevent the program from running?
answer
Logic
question
Programmers start writing code as the first step when they begin a new project
answer
F
question
The structure of the camelCase naming convention is to write the first word of the variable name in lowercase letters and then to capitalize the first character of the second and subsequent words
answer
T
question
The expressions (a + b) / c and a + b / c will always yield identical results.
answer
F
question
An uninitialized variable is a variable that has been declared and automatically initialized to zero
answer
F
question
A named constant can be assigned a value using a Set statement.
answer
F
question
A sequence of characters that is used as data is called a string in programming.
answer
T
question
Ovals are used as terminal symbols marking the starting and end of the pseudocode.
answer
T
question
Programmers use pseudocode to create "mock-ups" of programs because they do not have to worry about syntax rules.
answer
T
question
It has been proven by a group of mathematicians that all programs can be written using only three structures.
answer
T
question
A variable is a storage location in memory that is represented by a name and can hold different values during the execution of the program.
answer
T
question
If you mistakenly write pseudocode into an editor for an actual programming language, such as Python or Visual Basic, errors will result.
answer
T
question
Most programming languages do not automatically print spaces between multiple items that are displayed on the screen
answer
T
question
The program development cycle is made up of ________ steps that are repeated until no errors can be found in the program
answer
Five
question
What is the informal language that programmers use to create models of programs that have no syntax rules and are not meant to be compiled or executed?
answer
Pseudocode
question
The ________ is a diagram that graphically depicts the steps that take place in a program.
answer
Flowchart
question
A ________ structure is a set of statements that execute in the order they appear.
answer
Sequence
question
Which symbol is used for an assignment statement in a flowchart?
answer
None of the above
question
Which mathematical operator is used to raise five to the second power?
answer
^
question
The value of the expression 12 - 4 * 3 / 2 + 9 is ________.
answer
15
question
Which of the following is not a variable data type?
answer
Number
question
A(n) ________ is a name that represents a value that cannot be changed during the program's execution.
answer
Named constant
question
________ documentation is a reference guide that describes the features of the program, designed for the user
answer
External
question
The process where the programmer steps through each of the program's statements one by one is called ________.
answer
Hand Tracing
question
What is another term used for "desk checking"?
answer
Handtracing
question
The following is an example of what type of statement:
Set rate = 5.75
answer
Assignment
question
What symbol is used to mark the beginning and end of a string?
answer
Quotation
question
Which of the following is not an actual programming language?
answer
Psuedocode
question
What is the first step of the program development cycle?
answer
Design the program
question
What term is used for a string that appears in the actual code of a program?
answer
String literal