Worksheets6 week test-App Creators
Total questions: 15
Worksheet time: 39mins
This is an example of what type of algorithm?
Conditional Algorithm
Linear Algorithm
Choose the best description of the function of this block.
Runs the blocks in the do section for each numeric value in the range starting at From and ending at To, incrementing number by the value of By each time.
Runs the blocks in the do section for each numeric value in the range starting at by and ending at From, incrementing number by the value of To each time.
Runs the blocks int he do section for each numeric value in the range starting at To and ending at From, incrementing number by the value of By each time.
Duplicated or replicated code within a program is known as what? *Orange Key Terms
Conditional Statement
Abstraction
Repetition
Redundancy
Select the correct for loop block of code to get the bus to the the red square.
How can you reduce redundancy and streamline your code?
Create code that is easy to repeat.
Create code using long loops.
Create code using procedures.
You can't reduce redundancy.
What is the index for "Take out trash"?
Index 1
Index 2
Index 3
Index 4
Index 5
What item is at index 2?
Make bed
Clean up room
Wash dishes
Do homework
Take out trash
A list whose items can change during the runtime of a program is known as what type of list?
Random list
Dynamic list
Static list
Complicated list
Which of the following is the increment for the loop above?
number
from
to
by
Which set of blocks of code represents the flowchart?
What is the purple block called?
Index
Procedure
Control Block
List
What was this used for?
To display the average
To display the sum
To empty a list
To notify you that the list was empty
What will the show data button do?
Display Sum
Display Average
Display Data List
All of the Above
What does this do?
Reset the month data
Give you the average
Clear all data
Clear the number of patients
What is the purpose of the Notifier block?
Divide the sum and the length of the entryAmounts list
Display the Average
Notify you if the list is empty
There is no purpose to it.
