Chapter 2 review Flashcards
A blank error does not prevent the program from running, but causes it to produce incorrect results.
logic
Design is the most important part of the program development cycle.
How do you understand the task that the program is to perform?
-Work with customer to get a sense what the program is supposed to do
-Ask questions about program details
-Create one or more software requirements
A(n) blank is a set of well-defined logical steps that must be taken to perform a task
Algorithm
An informal language that has no syntax rules and is not meant to be compiled or executed is called
pseudocode
A blank is a diagram that graphically depicts the steps that take place in a program
flowchart
A blank is a sequence of characters
string
A blank is a name that references a value in the computers memory
variable
A blank is any hypothetical person using a program and providing input for it
user
A string literal in Python must be enclosed in
either single-quotes or double-quotes
Short notes placed in different parts of a program explaining how those parts of the program work are called
comments
A(n) blank makes a variable reference a value in the computers memory
assignment statement
This symbol marks the beginning of a comment in Python
pound symbol (#)
Which of the following statements will cause an error?
a. x = 17
b. 17 = x
c. x = 99999
d. x = ‘17’
17 = x
In the expression 12 + 7, the values on the right and left of the + symbol are called
operands
This operator performs integer division
division operator (//)
-double forward slash is used to perform integer division