Selection and Repetitions
Gapfill exercise
Enter your answers in the gaps. When you have entered all the answers, click on the "Check" button.
What are conditional and unconditional statements in C?
Conditional Looping: Computation continues indefinitely until the
condition
conditions
else
false
infinite
ladder
logical
loop
Looping
one
program
programming
repetition
statement
switch
terminate
terminated
three
times
true
two
while
condition is
condition
conditions
else
false
infinite
ladder
logical
loop
Looping
one
program
programming
repetition
statement
switch
terminate
terminated
three
times
true
two
while
. Unconditional Looping : The number of
condition
conditions
else
false
infinite
ladder
logical
loop
Looping
one
program
programming
repetition
statement
switch
terminate
terminated
three
times
true
two
while
known in advance or repetition is
condition
conditions
else
false
infinite
ladder
logical
loop
Looping
one
program
programming
repetition
statement
switch
terminate
terminated
three
times
true
two
while
.
What are looping statements in C?
condition
conditions
else
false
infinite
ladder
logical
loop
Looping
one
program
programming
repetition
statement
switch
terminate
terminated
three
times
true
two
while
statement are the statements execute
condition
conditions
else
false
infinite
ladder
logical
loop
Looping
one
program
programming
repetition
statement
switch
terminate
terminated
three
times
true
two
while
or more statement repeatedly several number of
condition
conditions
else
false
infinite
ladder
logical
loop
Looping
one
program
programming
repetition
statement
switch
terminate
terminated
three
times
true
two
while
. In C programming language there are
condition
conditions
else
false
infinite
ladder
logical
loop
Looping
one
program
programming
repetition
statement
switch
terminate
terminated
three
times
true
two
while
types of loops;
condition
conditions
else
false
infinite
ladder
logical
loop
Looping
one
program
programming
repetition
statement
switch
terminate
terminated
three
times
true
two
while
, for and do-while.
What is if and if else statement?
if statement - executes some code if one
condition
conditions
else
false
infinite
ladder
logical
loop
Looping
one
program
programming
repetition
statement
switch
terminate
terminated
three
times
true
two
while
is
condition
conditions
else
false
infinite
ladder
logical
loop
Looping
one
program
programming
repetition
statement
switch
terminate
terminated
three
times
true
two
while
. if...else statement - executes some code if a condition is
condition
conditions
else
false
infinite
ladder
logical
loop
Looping
one
program
programming
repetition
statement
switch
terminate
terminated
three
times
true
two
while
and another code if that condition is
condition
conditions
else
false
infinite
ladder
logical
loop
Looping
one
program
programming
repetition
statement
switch
terminate
terminated
three
times
true
two
while
. ... elseif...else statement - executes different codes for more than
condition
conditions
else
false
infinite
ladder
logical
loop
Looping
one
program
programming
repetition
statement
switch
terminate
terminated
three
times
true
two
while
conditions.
condition
conditions
else
false
infinite
ladder
logical
loop
Looping
one
program
programming
repetition
statement
switch
terminate
terminated
three
times
true
two
while
statement - selects one of many blocks of code to be executed.
What is if else ladder in C?
The if
condition
conditions
else
false
infinite
ladder
logical
loop
Looping
one
program
programming
repetition
statement
switch
terminate
terminated
three
times
true
two
while
ladder statement in C
condition
conditions
else
false
infinite
ladder
logical
loop
Looping
one
program
programming
repetition
statement
switch
terminate
terminated
three
times
true
two
while
language is used to test set of
condition
conditions
else
false
infinite
ladder
logical
loop
Looping
one
program
programming
repetition
statement
switch
terminate
terminated
three
times
true
two
while
in sequence. ... If any of the conditional expression evaluates to
condition
conditions
else
false
infinite
ladder
logical
loop
Looping
one
program
programming
repetition
statement
switch
terminate
terminated
three
times
true
two
while
, then it will execute the corresponding code block and exits whole if-else
condition
conditions
else
false
infinite
ladder
logical
loop
Looping
one
program
programming
repetition
statement
switch
terminate
terminated
three
times
true
two
while
.
Why break is used in C?
When a break
condition
conditions
else
false
infinite
ladder
logical
loop
Looping
one
program
programming
repetition
statement
switch
terminate
terminated
three
times
true
two
while
is encountered inside a loop, the loop is immediately
condition
conditions
else
false
infinite
ladder
logical
loop
Looping
one
program
programming
repetition
statement
switch
terminate
terminated
three
times
true
two
while
and the
condition
conditions
else
false
infinite
ladder
logical
loop
Looping
one
program
programming
repetition
statement
switch
terminate
terminated
three
times
true
two
while
control resumes at the next statement following the
condition
conditions
else
false
infinite
ladder
logical
loop
Looping
one
program
programming
repetition
statement
switch
terminate
terminated
three
times
true
two
while
. It can be used to
condition
conditions
else
false
infinite
ladder
logical
loop
Looping
one
program
programming
repetition
statement
switch
terminate
terminated
three
times
true
two
while
a case in the
condition
conditions
else
false
infinite
ladder
logical
loop
Looping
one
program
programming
repetition
statement
switch
terminate
terminated
three
times
true
two
while
statement.
Check
OK