Topic 2, Control Statement, Lecture 4

16 Karteikartenvon Clement
Diese Karteikarten lernenKostenlos · Spaced Repetition · iPhone, Android, Mac & Web

Alle Karten

1
Program control structures define
the order of execution of statements in a program.
2
Sequential control structure means
instructions are executed in a linear order.
3
Selection control structure involves
making decisions based on true/false conditions.
4
Iteration control structure allows
repeating a block of instructions.
5
Flow control statements alter
the default sequential order of execution.
6
Branching statements are used to
transfer control from one point to another.
7
Conditional branching transfers control
based on the outcome of a condition.
8
The if statement executes
a statement if the expression is true.
9
Unconditional branching transfers control
without checking any conditions.
10
The switch statement selects
a block of code to execute based on an expression's value.
11
The for statement is used when
the number of iterations is known in advance.
12
The while statement repeats
a block of code as long as a condition is true.
13
The do-while statement checks the condition
after the block of code is executed.
14
The break statement is used to
terminate loops or switch statements.
15
The continue statement is used to
skip the current iteration of a loop.
16
The return statement ends
the execution of a function and returns a value.

Each flashcard is separated by a new line as requested.
Alle 16 Karten kostenlos lernen

Mehr Karteikarten: Informatik

Cisco Networking and CCNA Concepts75 KartenInformatik · EnglischManethelCSDS 344: Vulnerability Assessment and Penetration Testing64 KartenInformatik · EnglischSydneyUNIX Programming Final REview52 KartenInformatik · EnglischJacksonSOFTDEV2 prelims eds44 KartenInformatik · EnglischEdsonNetwork Security38 KartenInformatik · EnglischAli_vxxxSection 6 -Data types 33 KartenInformatik · EnglischDsoboDeployment and Maintenance26 KartenInformatik · Englisch—Griffith—Database Normalization21 KartenInformatik · Englisch—Griffith—IB Compsci Topic 316 KartenInformatik · EnglischnoahmzSecurity Basics10 KartenInformatik · EnglischYasmeenANetwork+ 2023222 KartenInformatik · EnglischdinosoupRobotics History: The Word Robot and the Three Laws117 KartenInformatik · EnglischPatrick

Alle Decks: Informatik

Lerne diese Decks in der App

Kostenlos auf iPhone, Android, Mac und im Web. Füge jedes Deck mit einem Tipp zu deinem Konto hinzu.

Laden im App StoreJetzt bei Google Play
Alle 16 Karten kostenlos lernen