programming chapter 2

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

flow chart

A is a diagram that graphically depicts the steps that take place in a program

variable

A is a name that references a value in the computer's memory.

named constant

A is a name that represents a value that does not change during the program's execution.

string

A is a sequence of characters.

software requirement

A is a single function that the program must perform in order to satisfy the customer.

user

A is any hypothetical person using a program and providing input for it.

either single-quotes or double-quotes.

A string literal in Python must be enclosed in

Psuedocode

An informal language that has no syntax rules and is not meant to be compiled or executed is calle

comments

Short notes placed in different parts of a program explaining how those parts of the program work are called .

**

This is an operator that raises a number to a power.

float

Suppose the following statement is in a program: price = 99.0. After this statement executes, the price variable will reference a value of which data type?

%

This operator performs division, but instead of returning the quotient it returns the remainder.

//

This operator performs integer division.

#

This symbol marks the beginning of a comment in Python

float ( )

Which built-in function can be used to convert an int value to a float?

input( )

Which built-in function can be used to read input that has been typed on the keyboard?

Algorithm

A(n) is a set of well-defined logical steps that must be taken to perform a task.

assignment statement

A(n) makes a variable reference a value in the computer's memory.

Operand

In the expression 12 + 7, the values on the right and left of the + symbol are called

logic

A error does not prevent the program from running, but causes it to produce incorrect results.

an unexplained value that appears in a program's code

A magic number is


Ensembles d'études connexes

Annotated Bibliography Reading Notes

View Set