• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/34

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

34 Cards in this Set

  • Front
  • Back

Activecode

A unique interpreter environment that allows Python to be executed from within a web browser

Algorithm

A general step by step process for solving a problem

Bug

An error in a program

Byte Code

An intermediate language between source code and object code. Many modern languages first compile source code into byte code and then interpret the byte code with a program called a virtual machine

Debugging

The process of finding and removing any of the three kinds of programming errors

Exception

Another name for a runtime error

Executable

Another name for object code that is ready to be executed

Formal Language

Any one of the languages that people have designed for specific purposes, such as representing mathematical ideas or computer programs; all programming languages are formal languages.

High-Level Language

A programming language like Python that is designed to be easy for humans to read and write

Low-Level Language

A programming language that is designed to be easy for a computer to execute; also called machine language or assembly language

Natural Language

Any one of the languages that people speak that evolved naturally

Object Code

The output of the compiler after it translates the program

Parse

To examine a program and analyze the syntactic struture

Portability

A property of a program that can run on more than one kind of computer

Print Function

A function used in a program or script that causes the python interpreter to display a value on its output device

Runtime Error

An error that does not occur until the program has started to execute but that prevents the program from continuing

Semantic Error

An error in a program that makes it do something other what the programmer intended

Semantics

The meaning of a program

Source Code

A program, stored in a file, in a high-level language before being compiled or interpreted

Syntax

The structure of a program

Syntax Error

A error in a program that makes it impossible to parse - and therefore impossible to interpret

Token

One of the basic elements of the syntactic structure of a program, analogous to a word in a natural language

Data Type

A set of values. The type of a value determines how it can be used in expressions. So far, the types you have seen in integers (int), floating-point numbers (float), and strings (str).

Evaluate

To simplify an expression by performing the operations in order to yield a single value

Expression

A combination of operators and operands (variables and values) that represent a single result value. Expressions are evaluated to give that result.

Object

Also known as a data object (or data value). The fundamental things that programs are designed to manipulate (or that programmers ask to do things for them).

Prompt String

Used during interactive input to provide the use with hints as to what type of value to enter

Statement

An instruction that the Python interpreter can execute. So far we have only seen the assignment statement, but we will soon meet the import statement and the for statement

Value

A number or string (or other things to be named later) that can be stored in a variable or computed in an expression.

Variable

A name that refers to a value

For loop

A statement in Python for convenient repetition of statements in a body of the loop

Iteration

A basic building block for algorithms (programs). It allows steps to be repeated. Sometimes called looping

Terminating Condition

A condition that occurs which causes a loop to stop repeating its body. In the for loops we saw in this chapter, the terminating condition has been when there are no more elements to assign to the loop variable

Turtle

A data object used to create pictures (known as turtle graphics).