FINAL | Control Structures | PROGLANG

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

1/29

encourage image

There's no tags or description

Looks like no tags are added yet.

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

No analytics yet

Send a link to your students to track their progress

30 Terms

1
New cards

Control structure

It is a fundamental component that determines the flow of execution of instructions in a program. It governs which instructions are executed, when, and under what conditions.

2
New cards

Control structure

It allows programs to make decisions, perform repeated tasks, and respond dynamically to different inputs or conditions—essential for building complex, responsive software.

3
New cards

Sequential Structure

This is the simplest form of control where statements or instructions are executed one after another in the exact order in which they are written.

4
New cards

does not

Sequential structure is used to carry out a linear set of operations where the flow (does / does not) require any decision-making or repetition.

5
New cards

fixed sequence

Sequential structure is commonly applied in tasks that must be performed in a f______ s__________ with no deviation

6
New cards

Sequential Structure

This control structure is common in initialization routines, data input/output operations, and procedural steps.

7
New cards

Selection (Decision-Making) Structure

This executes a block of code only if a condition is true. It allows the program to choose between alternative paths of execution based on whether a condition is true or false. This enables decision-making capabilities in the program.

8
New cards

Selection (Decision-Making) Structure

This is commonly applied in scenarios requiring branching logic, such as validation checks, menu selections, or rule-based execution (e.g., user authentication and eligibility determination).

9
New cards

branching logic

Selection (Decision-Making) Structure is commonly applied in scenarios requiring b____________ l_______

10
New cards

Selection (Decision-Making) Structure

User authentication and eligibility determination is an example of which control structure?

11
New cards

If-else and if-elif-else

Selection (Decision-Making) Structure use the following keyword:

12
New cards

if

This keyword is used to begin a conditional block that runs if the condition is true

13
New cards

else

This keyword is used to execute its block if the condition is false.

14
New cards

elif

This keyword is short of “else if”

15
New cards

elif

This keyword is used to evaluate additional conditions if previous ones are false.

16
New cards

Iteration (Looping) Structure

This repeats a block of code as long as a specified condition is true. It is used to automate repetitive tasks without manual code duplication.

17
New cards

Iteration (Looping) Structure

It promotes efficiency and reduces errors by encapsulating repeat logic.

18
New cards

Iteration (Looping) Structure

This is commonly applied in traversing data structures, generating reports, implementing counters, or processing batches

19
New cards

Iteration (Looping) Structure

Looping through user records and retry mechanisms is an example of which control structure?

20
New cards

for and while

Iteration (Looping) Structure uses the following keyword:

21
New cards

for

This keyword begins the counting loop.

22
New cards

while

This keyword begins a loop that continues as long as the condition is true.

23
New cards

break, continue, return

Jump (Branching) Structure alters the flow explicitly using b____, c_________, r________, etc.

24
New cards

Jump (Branching) Structure

It interrupts or redirects the normal flow of control using statements that cause execution to jump to another part of the code.

25
New cards

loops, iterations, function

Jump (Branching) Structure provides exceptional flow control, particularly in exiting l______ early, skipping i____________, or terminating a f________.

26
New cards

break, continue

These keywords are used in loop control

27
New cards

return

This keyword is used in early function termination

28
New cards

error-handling, system-level

Jump (Branching) Structure is used in specific e_______ h_________ and s________ l_______operations (e.g., skipping invalid entries, exiting on critical errors).

29
New cards

break

This keyword terminates the loop immediately.

30
New cards

continue

This keyword is used to skip the current loop iteration and proceed to the next.