Chapter 1 Flashcards

1
Q

What is a sentinel value?

A

A dummy value that the user will never need, used to end a program.

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

What does ‘eof’ stand for?

A

End of file.

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

What is the purpose of a sentinel value in programming?

A

Acts as a marker at the end of a file.

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

What does maintenance involve in programming?

A

Making changes after the program is put into production.

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

What is conversion in the context of programming?

A

The entire set of actions an organization must take to switch over to using a new program or set of programs.

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

What is a logical error?

A

Results when a syntactically correct statement is used, but it is the wrong one for the current context.

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

What is debugging?

A

The process of finding and correcting program errors.

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

What is pseudocode?

A

An English-like representation of the logical steps it takes to solve a problem.

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

What does a flowchart represent?

A

A pictorial representation of the logical steps it takes to solve a problem.

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

What are the major models or paradigms in programming?

A
  • Procedural programming
  • Object-oriented programming
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the role of a compiler or interpreter?

A

Changes high-level programming language into low-level machine language.

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

What is a syntax error?

A

Misuse of a language’s grammar rules.

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

What is the function of computer hardware?

A

Equipment associated with a computer.

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

What is application software?

A

Software such as word processing, spreadsheets, payroll, and inventory.

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

What does the central processing unit (CPU) do?

A

Performs calculations and comparisons.

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

What is a variable in programming?

A

A named memory location whose value can vary.

17
Q

What is an algorithm?

A

The sequence of steps or rules you follow to solve a problem.

18
Q

What does the program development cycle include?

A
  • Understand the problem
  • Plan the logic
  • Code the program
  • Use software to translate the program
  • Test the program
  • Put the program into production
  • Maintain the program
19
Q

True or False: Logical errors are easier to locate than syntax errors.

20
Q

What is the purpose of a text editor in programming?

A

Used to create simple text files.

21
Q

What is a graphical user interface (GUI)?

A

Allows users to interact with a program in a graphical environment.

22
Q

Fill in the blank: A _______ is a repetition of a series of steps in programming.

23
Q

What does the output symbol in a flowchart represent?

A

Output statements.

24
Q

What is the definition of input in the context of computer systems?

A

Data items such as text, numbers, images, and sound.

25
What does RAM stand for?
Random Access Memory.
26
What is the significance of nonvolatile memory?
It retains data even when the power is off.
27
What does syntax govern in programming?
Word usage and punctuation.
28