Comparative Programming

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/47

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 5:27 PM on 3/25/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

48 Terms

1
New cards

Control Structure - A control statement along with the statements whose execution it controls.

2
New cards

Control Statement Evolution - The progression of programming control flow toward more readable, flexible, and powerful constructs.

3
New cards

Selection Statement - A statement that allows choosing between two or more execution paths.

4
New cards

Two-Way Selection - A selection structure with two paths (e.g., if-else).

5
New cards

Multiple-Way Selection - A selection structure that allows choosing from multiple paths (e.g., switch/case).

6
New cards

Boolean Expression - An expression that evaluates to true or false, used to control decisions.

7
New cards

If Statement - A two-way selection statement that executes code based on a condition.

8
New cards

Switch Statement - A multiple-way selection statement based on matching values of an expression.

9
New cards

Conditional Operator - A compact form of selection that returns one of two values based on a condition.

10
New cards

Control Expression - The expression that determines which branch of a selection statement is executed.

11
New cards

Clause - A block or statement executed as part of a selection structure (then/else).

12
New cards

Dangling Else Problem Ambiguity - in nested if statements where it’s unclear which if an else belongs to.

13
New cards

Nearest If Rule A rule stating that an else is matched with the closest preceding unmatched if.

14
New cards

Selector Expression - A selection structure that returns a value (e.g., in functional languages).

15
New cards

Case Statement - A multiple-selection construct using labeled branches.

16
New cards

Default Case - A branch executed when no other case matches.

17
New cards

Fall-Through (C Switch) - Execution continues into the next case unless explicitly stopped (e.g., with break).

18
New cards

Break Statement - A command that exits a loop or switch immediately.

19
New cards

Continue Statement - A command that skips the rest of the current loop iteration and continues with the next.

20
New cards

COND Statement - A Scheme construct for multiple selection using predicate-expression pairs.

21
New cards

Iteration - The repeated execution of a statement or block.

22
New cards

Loop - A control structure used for iteration.

23
New cards

Counter-Controlled Loop - A loop that runs a specific number of times using a loop variable.

24
New cards

Loop Variable - A variable used to control the number of loop iterations.

25
New cards

For Loop - A counter-controlled loop commonly used in many languages.

26
New cards

Infinite Loop - A loop that runs indefinitely due to lack of termination condition.

27
New cards

Range - A sequence of values used to control loop iteration (common in Python).

28
New cards

Logically-Controlled Loop - A loop controlled by a Boolean expression (e.g., while loop).

29
New cards

Pretest Loop - A loop that checks the condition before executing the body.

30
New cards

Posttest Loop - A loop that checks the condition after executing the body.

31
New cards

While Loop - A pretest logically controlled loop.

32
New cards

Do-While Loop - A posttest logically controlled loop.

33
New cards

Recursive Loop Simulation - Using recursion to simulate loops in functional languages.

34
New cards

User-Located Loop Control - Loop control determined inside the loop body (e.g., break).

35
New cards

Labeled Break - A break statement that exits multiple nested loops using a label.

36
New cards

Iterator A - function or mechanism that accesses elements of a data structure sequentially.

37
New cards

Foreach Loop - A loop that iterates over elements of a collection.

38
New cards

Iterable - A data structure that can be traversed using an iterator.

39
New cards

Yield Statement - A construct that returns a value and pauses execution, resuming later.

40
New cards

Generator Function - A function that produces a sequence of values using yield.

41
New cards

Unconditional Branching - A jump to another part of a program without condition (e.g., goto).

42
New cards

Goto Statement - A direct jump to a labeled statement in a program.

43
New cards

Guarded Command - A control structure where execution depends on multiple Boolean expressions.

44
New cards

Selection Guarded Command - A guarded structure that selects one of several true conditions.

45
New cards

Loop Guarded Command - A guarded structure that repeats execution based on conditions.

46
New cards

Non-Deterministic Choice - Selecting one of multiple true conditions arbitrarily.

47
New cards

Program Verification - The process of proving program correctness.

48
New cards

Structured Programming - A programming paradigm that avoids goto and uses structured control flow.

Explore top notes

note
Ch 8 - Monopoly
Updated 1080d ago
0.0(0)
note
Chapter 9 Agriculture Topics
Updated 1125d ago
0.0(0)
note
Chapter 3- Colonial Ways of Life
Updated 1411d ago
0.0(0)
note
Chapter 14: Motivation and Emotion
Updated 1083d ago
0.0(0)
note
Ch 8 - Monopoly
Updated 1080d ago
0.0(0)
note
Chapter 9 Agriculture Topics
Updated 1125d ago
0.0(0)
note
Chapter 3- Colonial Ways of Life
Updated 1411d ago
0.0(0)
note
Chapter 14: Motivation and Emotion
Updated 1083d ago
0.0(0)

Explore top flashcards

flashcards
3.3 AP Spanish Vocab
93
Updated 71d ago
0.0(0)
flashcards
Imaging exam 3
80
Updated 1131d ago
0.0(0)
flashcards
Arson/Mystery Unit List #2
20
Updated 657d ago
0.0(0)
flashcards
Author Test Sets 1-6
135
Updated 1084d ago
0.0(0)
flashcards
E2 PD III- MSK
235
Updated 410d ago
0.0(0)
flashcards
3.3 AP Spanish Vocab
93
Updated 71d ago
0.0(0)
flashcards
Imaging exam 3
80
Updated 1131d ago
0.0(0)
flashcards
Arson/Mystery Unit List #2
20
Updated 657d ago
0.0(0)
flashcards
Author Test Sets 1-6
135
Updated 1084d ago
0.0(0)
flashcards
E2 PD III- MSK
235
Updated 410d ago
0.0(0)