Chapter 2 Flashcards
A ______ error does not prevent the program from running, but causes it to produce incorrect results.
Logic
A ______ is a single function that the program must perform in order to satisfy the customer.
Task
A _______ 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 _____ is a diagram that graphically depicts the steps that take place in a program.
Flowchart
A ______ is a sequence of characters.
String
A ______ is a name that references a value in the computer’s memory.
Variable
A _______ is any hypothetical person using a program providing input for it.
User
A string literal in Python must be enclosed by _______.
Either a single quote or double quote
Short notes places in different parts of a program explaining how those parts of the program work are called _________.
Comments
A(n) _____ makes a variable reference a value in the computer’s memory.
Assignment statement
This symbol marks the beginning of a common it Python.
#
In the expression 12+7, the values on the right and left of the symbol are called ________.
Operands
This operator performs integer division.
//
This is an operator that raises a number to a power.
**