CIS 1400 Quiz Review
What is the value of the following expression? (12 - 4) * 3 / 2 + 9
21
The program development cycle is made up of ________ steps that are repeated until no errors can be found in the program.
5
What is the value of the variable result in the following expression? set result = (6 + 8) / 4 * 2
7
What is the first step of the program development cycle?
Design the program
A(n) ________ is a diagram that graphically depicts the steps that take place in a program.
Flowchart
Which of the following error types produces incorrect results but does not prevent the program from running?
Logic
A variable declaration typically specifies the variable's ________ and ________.
Name, Data type
Which of the following is not a variable data type?
Numeral
A(n) ________ symbol is used for an assignment statement in a flowchart.
Rectangle
What term is used for a string that appears in the actual code of a program?
String literal
The ________ operator is used to raise 5 to the second power.
^
Pseudocode
________ is the informal language used by programmers to create models of programs.
Which of the following is not an actual programming language?
a. Python b. Pseudocode c. Java d. C++ b. Pseudocode
What is the error in the following pseudocode? Display "What is your name?" Input userName Declare String userName
userName has been used before it is declared