CIST1305-PROGRAM DESIGN & DEVELOPMENT – Flashcards

Unlock all answers in this set

Unlock answers
question
True/False: Programmers start writing code as the first step when they begin a new project. A) True B) False
answer
TRUE
question
True/False: An uninitialized variable is a variable that has been declared and automatically initialized to zero. A) True B) False
answer
FALSE
question
What is the first step of the program development cycle? A) Write the code B) Correct syntax errors C) Debug the code D) Test the executable code E) Design the program
answer
Design the program
question
The process where the programmer steps through each of the program's statements one by one is called ________. A) Hand tracing B) Debug C) Execute D) Run E) Checking
answer
A) Hand tracing
question
The program development cycle is made up of ________ steps that are repeated until no errors can be found in the program. A) Five B) Four C) Three D) Six E) None of these
answer
A) Five
question
Which mathematical operator is used to raise five to the second power? A) MOD B) * C) D) / E) ~
answer
C)
question
A(n) ________ is a name that represents a value that cannot be changed during the program's execution. A) Uninitialized variable B) Named variable C) Named constant D) Input variable E) None of these
answer
C) Named constant
question
The ________ is a diagram that graphically depicts the steps that take place in a program. A) Program B) Flowchart C) Algorithm D) Code E) Pseudocode
answer
B) Flowchart
question
________ documentation is a reference guide that describes the features of the program, designed for the user. A) Internal B) External C) Program D) Block E) Line
answer
...
question
Which of the following is not a variable data type? A) Number B) Integer C) Real D) String E) None of these
answer
A) Number
question
What is another term used for "desk checking"? A) Hand tracing B) Debug C) Execute D) Run E) Checking
answer
A) Hand tracing
question
What symbol is used to mark the beginning and end of a string? A) Slash B) Asterisk C) Quotation D) Comma E) Question
answer
Quotation
question
Which error produces incorrect results but does not prevent the program from running? A) syntax B) logic C) grammatical D) human E) None of these
answer
B) logic
question
True/False: The expressions (a + b) / c and a + b / c will always yield identical results. A) True B) False
answer
False
question
True/False: If you mistakenly write pseudocode into an editor for an actual programming language, such as Python or Visual Basic, errors will result. A) True B) False
answer
True
question
True/False: Programmers use pseudocode to create "mock-ups" of programs because they do not have to worry about syntax rules. A) True B) False
answer
True
question
True/False: 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. A) True B) False
answer
True
question
True/False: It has been proven by a group of mathematicians that all programs can be written using only three structures. A) True B) False
answer
True
question
Which symbol is used for an assignment statement in a flowchart? A) Processing B) I/O C) Terminal D) Parallelogram E) None of these
answer
A) Processing
question
What term is used for a string that appears in the actual code of a program? A) String literal B) Virtual string C) Hard copy D) Strongly typed E) None of these
answer
A) String literal
question
Which of the following is not an actual programming language? A) C++ B) Visual Basic C) Java D) Pseudocode E) Python
answer
D) Pseudocode
question
True/False: A named constant can be assigned a value using a Set statement. A) True B) False
answer
False
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? A) Program B) Flowchart C) Algorithm D) Code E) Pseudocode
answer
E) Pseudocode
question
True/False: Ovals are used as terminal symbols marking the starting and end of the pseudocode. A) True B) False
answer
True
question
he value of the expression 12 - 4 * 3 / 2 + 9 is ________. A) 21 B) 15 C) -6 D) 2.18 E) None of these
answer
B) 15
Get an explanation on any task
Get unstuck with the help of our AI assistant in seconds
New