stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Programming Concepts Flashcards | StudBud
Explore
/
Programming Concepts
Programming Concepts
15 terms
·
StudBud Administration
·
25 plays
Imported from external platform
Flashcards
15 cards
F
Practice quiz
P
Host live
L
Questions
15
Answers
1
Iteration allows us to simplify our algorithm by
repeating unnecessary steps.
adding unnecessary steps.
giving us food
removing unnecessary steps.
2
Use the wrong data type cause:
Syntax error
Logic error
Mentos error
Data type error
3
Selection is a:
a logic
very interesting thing
decision or question.
fast and furious
4
Code that is hard to read makes it difficult to understand what the program is trying to do.
True
False
5
Selection allows there to be more than one path through a program.
False
True
6
Each type of loop works in a same way and produces same results.
True
False
7
What is a nested loop?
A for loop which is very naughty
A loop that exists inside another loop.
An if-statement in a for loop.
A for loop situated in another loop.
8
It uses a counter to keep track of how many times the algorithm has iterated.
FOR loop
Super loop
WHILE or REPEAT loop
Disco loop
9
Infinite loops can cause programs to fail, because they gets stuck repeating a section of code over and over.
False
True
10
A program that controls a traffic light use :
lovely loops
lonely loops
infinite loops
big loops
11
Iteration is the process of repeating steps.
False
True
12
Iteration is implemented in programming using
FOR and WHILE or REPEAT statements.
IF and CASE statements
FOR and Next statements.
Pizza and Biryani
13
It is used when it is not known how many times iteration will need to occur.
A condition-controlled loop
A real-controlled loop
A count-controlled loop
A food-controlled loop
14
Be in the wrong sequence cause:
Good error
Bad error
Logic error
Syntax error
15
Errors are
not
easier to fix when we understand the code we are reading through.
False
True