Chapter 1 - Definitions Flashcards

1
Q

Define activecode

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Define algorithm

A

A general step by step process for solving a problem

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Define bug

A

An error in a program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Define byte code

A

An intermediate language btwn source code and object code. Many modern languages first compile source code into byte code and then interpret byte code with a program called a VIRTUAL MACHINE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Define codelens

A

An interactive environment that allows the user to control the STEP by STEP EXECUTION of a Python program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Define comment

A

Info in a program meant for other programmers (or anyone reading the source code) and has no effect on the execution of the program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Define compile

A

To translate a program written in a high-level language into a low-level language at once, in preparation for later execution

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Define debugging

A

Process of finding and removing any of these kinds of programming errors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Define exception

A

Another name for a RUNTIME ERROR

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Define executable

A

Another name for object code that’s ready to be executed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Define formal language

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Define high-level language

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Define interpret

A

To execute a program in a high-level language by translating it one line at a time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Define low-level language

A

A programming language that’s designed to be easy for computer to execute; also called MACHINE language or ASSEMBLY language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Define object code

A

Output of the computer after it translates the program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Define parse

A

To examine a program and analyse the syntactic structure

17
Q

Define portability

A

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

18
Q

Define print function

A

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

19
Q

Define problem solving

A

The process of formulating a problem, finding a solution, and expressing the solution

20
Q

Define program

A

A sequence of instructions that specifies to a computer actions and computations to be performed

21
Q

Define programming language

A

A formal notation for representing solutions

22
Q

Define Python shell

A

An interactive user interface to the Python interpreter. The user of a Python shell types commands at the prompt (»>) and presses the return key to send these commands immediately to the interpreter for processing

23
Q

Define runtime error

A

An error that doesn’t occur until the program has started to execute but that prevents the program from continuing

24
Q

Define semantic error

A

The meaning of a program

25
Q

Define shell mode

A

A style of using Python where we type expressions at the command prompt, and the results are shown immediately. Contrast w/SOURCE CODE, and see the entry under PYTHON SHELL

26
Q

Define source code

A

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

27
Q

Define syntax

A

The structure of a program

28
Q

Define syntax error

A

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

29
Q

Define syntax error

A

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