stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Programming Concepts Flashcards | StudBud
Explore
/
Programming Concepts
Programming Concepts
14 terms
·
StudBud Administration
·
29 plays
Imported from external platform
Flashcards
14 cards
F
Practice quiz
P
Host live
L
Questions
14
Answers
1
Validating a user input e.g. not accepting a password if it is less than 8 characters long.
Conditional loop
Validation loop
Naughty loop
Count-controlled loop
2
The condition is checked at the start of the loop:
REPEAT loop
WHILE loop
Jungle loop
Tastey loop
3
A For loop is used when code needs to be repeated a
:
huge number
unspecified number of times.
French fries
specified number of times.
4
Iteration can be used in coding to massively reduce the amount of :
ice creame
slaps
code that needs to be written.
variables
5
This type of loop will repeat forever UNTIL a condition becomes true.
Naughty loop
Post-condition loop.
Pre-condition loop.
Count-controlled loop
6
In programming, selection means that the program can choose to run different commands based on
a condition being true
a condition being so rude
a condition being true or false
a condition being false
7
The term iteration means to repeat something over and over like a ___
loop
Sequence
1 dimensional array
Selection
8
A while loop will repeat forever WHILE a set condition is
true.
some time false some time true
false
true but false
9
While loops are also known as
serious condition loops.
pre-condition loops.
post condition loops.
dance condition loops.
10
The REPEAT UNTIL loop has its condition at the end of the loop.
True
False
11
A REPEAT UNTIL loop is also known as
Naughty loop
Pre-condition loop.
Post-condition loop.
Count-controlled loop
12
This type of loop will repeat forever UNTIL a condition becomes true.
Post-condition loop.
Pre-condition loop.
Count-controlled loop
Naughty loop
13
number = number + 1 is totalling
True
False
14
There are two ways to achieve selection these are:
Iteration and arrays
Loop and sequence
Chocolates and brownies
IF statements and Select Case statements