Fundamentals of Programming: Control Statements

0.0(0)
studied byStudied by 0 people
0.0(0)
linked notesView linked note
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/18

flashcard set

Earn XP

Description and Tags

Flashcards covering key vocabulary and concepts from the lecture on control statements in programming.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

19 Terms

1
New cards

Control Statements

Instructions for controlling the flow of the software program.

2
New cards

Sequence Structures

Control structures that execute statements in a linear sequence.

3
New cards

Selection Structures

Control structures that provide decision-making capabilities.

4
New cards

Loop Structures

Control structures used to repeat a series of actions.

5
New cards

if Statement

A selection statement that executes when the condition is evaluated as true.

6
New cards

else Statement

An optional statement that executes when the condition in the if statement is false.

7
New cards

relational operator

Operators that compare two values, such as

8
New cards

logical operator

Operators that combine boolean expressions, such as && (AND), || (OR), ! (NOT).

9
New cards

Precedence

The order in which operators are evaluated in expressions.

10
New cards

Nested If Statement

An if statement placed inside another if statement, used for more complex conditions.

11
New cards

else-if Construct

Used to test multiple conditions in a sequence after an initial if statement.

12
New cards

Switch Statement

A control structure that allows testing a variable against multiple cases.

13
New cards

Conditional Operator

A shorthand for an if-else statement that returns one of two values based on a condition.

14
New cards

Loop Control Statements

Statements that can alter the flow of a loop, including break, continue, and goto.

15
New cards

Break Statement

Terminates a loop or switch statement and transfers control to the next statement.

16
New cards

Continue Statement

Skips the current iteration of a loop and moves on to the next iteration.

17
New cards

Goto Statement

Causes an unconditional jump to a labeled statement.

18
New cards

Counting Loop

A loop that repeats a set number of times.

19
New cards

Conditional Loop

A loop that continues until a certain condition is no longer met.