Unit 1 lesson 1.3 Flashcards

(12 cards)

1
Q

Abstract step

A

A high-level action in an algorithm that describes what needs to be done without detailing how to do it.

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

Algorithm

A

A step-by-step set of instructions designed to perform a specific task or solve a problem.

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

Branch

A

A point in an algorithm where a decision is made, leading to different actions based on conditions (e.g., if-then statements)

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

Infinite loop

A

A loop that never ends because the termination condition is never met or is incorrectly written.

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

Input

A

Data that are provided to a program for processing.

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

Loop control variable

A

A variable that determines whether the loop will continue running or stop, often incremented or modified within the loop.

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

Nested structure

A

A programming construct where one control structure (like a loop or a conditional statement) is placed inside another.

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

Output

A

Data that are produced by a program and presented to the user or another system.

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

Pretest loop

A

A loop that evaluates its condition before executing the body of the loop, such as a while loop.

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

Pseudocode

A

A simplified, human-readable version of a program’s code that outlines the logic without strict syntax rules.

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

Repetition (iteration)

A

The act of executing a set of instructions multiple times, typically using loops.

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

Selection

A

A control structure that allows a program to choose between different actions based on conditions.

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