Ch 1 Introduction Flashcards

1
Q

Algorithm

A

A general store by step process for solving a problem

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

Bug

A

An error in a program

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

Byte code

A

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

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

Comment

A

Information in a program that is meant for other programmers 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
5
Q

Compile

A

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

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

Debugging

A

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

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

Exception

A

Another name for a runtime error

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

Executable

A

Another name for an object that is ready to be executed

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

Formal language

A

Any one of the languages that prior 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
10
Q

High level language

A

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

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

Interpret

A

To execute a program in a high level language by translating it line by line

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

Low level language

A

A programming language that is designed to be easy for a 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
13
Q

Natural language

A

Any one of the languages that people speak that evolved naturally

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

Object code

A

The output of the compiler after it translates the program

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

Parse

A

To examine a program and analyze the syntactic structure

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

Portability

A

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

17
Q

Problem solving

A

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

18
Q

Program

A

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

19
Q

Programing language

A

a formal notation for representing solutions

20
Q

Python shell

A

an interactive user interface to the Python language

21
Q

runtime error

A

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

22
Q

semantic error

A

an error in a program that makes it do something other than what the programmer had intended

23
Q

semantics

A

the meaning of a program

24
Q

shell mode

A

a style of using Python where we type expressions at the command prompt, and the results are shown immediately. Contrast with source code

25
Q

source code

A

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

26
Q

syntax

A

the structure of a program

27
Q

syntax error

A

an error in a program that makes it impossible to parse, and therefore impossible to interpret

28
Q

token

A

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