Ch. 1.3: Programs and Programming Languages Flashcards

1
Q

What is an algorithm?

A

A set of well-defined steps for performing a task or solving a problem sequentially ordered.

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

What is machine language?

A

A stream of binary numbers (numbers consisting of only 1’s and 0’s.

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

What is a programming language?

A

A language using words instead of numbers to ease the task of programming such as C++, Java, and Python.

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

What is a high-level language?

A

Languages closer to the level of human readability than computer readability.

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

What is portability?

A

The compatibility of a program to run on other computer systems such as Mac, Linux, Microsoft, etc.

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

What is source code?

A

Statements written by programmers and saved in a source file.

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

What is the preprocessor program?

A

It searches for special lines that begin with the #symbol. These lines contain commands that cause the preprocessor to modify the source code in some way.

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

What is a compiler?

A

The program that steps through the preprocessed source code translating each source code instruction into appropriate machine language instruction. This process uncovers any syntax errors that may be in the program.

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

What is object code?

A

Translated machine language instructions stored on an object file.

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

What is the runtime library?

A

A collection of prewritten code for performing common operations or sometimes difficult tasks like reading input from a keyboard or routine mathematical functions.

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

What is the linker program?

A

Combines the object file with the necessary library routines.

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

What is an executable file?

A

Contains machine language instructions or executable code and is ready to run on the computer.

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

What is an integrated development environment or IDE?

A

Consists of a text editor, compiler, debugger and other utilities integrated into a package with a single set of menus.

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