CSC test 1 Flashcards

1
Q

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
2
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
3
Q

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
4
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
5
Q

program

A

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

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

programming language

A

A formal notation for representing solutions

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

semantics

A

The meaning of a program.

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

source code

A

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

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

syntax error

A

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

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

data type

A

A set of values. The type of a value determines how it can be used in expressions, i.e., what operations can be applied to it.

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

evaluate

A

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

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

expression

A

A combination of operators and operands (variables and values) that represents a single result value.

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

integer division

A

An operation that divides one integer by another and yields the integer quotient.

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

modulus operator

A

Gives the remainder after performing integer division.

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

operator

A

A special symbol that represents a simple computation like addition, multiplication, or string concatenation.

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

statement

A

An instruction that the Python interpreter can execute.

17
Q

variable

A

A name that refers to a value.