WorksheetsFoundations of Programming
Total questions: 21
Worksheet time: 11mins
A decision, in a flowchart, will always have:
Two exit arrows
One exit arrow
Three exit arrows
Four exit arrows
Flowcharts normally use standard symbols to represent the different types of instructions. Define the use of the following symbol: ------>
Storage
The flow from one component to the next
The start or end of the process
An input or output
The set of letters that identifies the address of a specific resource on the Web.
URL
HTML
ISP
HTTP
Which programming structure performs a set of instructions in the order they appear?
Selection
Loop
Sequence
Object
Which best describes one of the ten categories of Scratch blocks that are color-coded medium-blue and are used to control a sprite's movement.
Events Blocks
Control Blocks
Motion Blocks
Sensing Blocks
What is output by the following pseudocode?
set c to 5
repeat until c > 60
change c by 10
say c
15
35
55
65
75
Problem: Tara has 15 tickets. Dean has 10 tickets. Tara gives Dean 2 tickets. How many more tickets does Tara have than Dean?
Solution:
Tara's tickets: 15
Subtract 2 tickets from Tara's total tickets:
15- 2 = 13
Dean 's tickets: 10
Add 2 tickets to Dean's tickets:
10 + 2 = 12
Subtract Tara's total tickets from Dean's total tickets:
13 - 12 =1
Answer: Tara has one more ticket than Dean.
Which term describes the instructions presented in this example?
Syntax
Algorithm
Statement
Programming code
Input
keyboard, mouse, touch screen, microphone
hard drive: hard disk drive, solid state drive
integrated electronic circuit that performs calculations
photo, text, video, audio
Storage
keyboard, mouse, touch screen, microphone
hard drive: hard disk drive, solid state drive
integrated electronic circuit that performs calculations
photo, text, video, audio
Process
keyboard, mouse, touch screen, microphone
hard drive: hard disk drive, solid state drive
integrated electronic circuit that performs calculations
photo, text, video, audio
Output
keyboard, mouse, touch screen, microphone
hard drive: hard disk drive, solid state drive
integrated electronic circuit that performs calculations
photo, text, video, audio
When drawing a flowchart, every stage should be listed in a logical order.
True
False
A computer system has the following characteritics except:
Speed
Creativity
Access to Data
Accuracy
Variables need to be ______________ before they are used by the program.
a. reserved
b. initialized
c. declared
d. assigned
Rules for pseudocode allow for more than one statement per line.
True
False
A device that transfers data from one network to another in an intelligent way.
Server
Router
Terminator
Hub
The terminal symbol in structured programming flowcharts indicates an action in the logic of a process
True
False
Computer are much more accurate in processing data than humans because they can perform repetitive tasks better than a human.
True
False
An do-while statement tests a condition and is an example of a:
Logic
Loop
Selection
Control
At the end of The Iterative Development Process, programmers take what they learned from testing & feedback and use it to finalizing their program & stop the cycle.
True
False
How do you submit your scratch program to a studio? Place the following steps in the correct order:
1. Choose correct studio folder
2. Add to studio
3. Select OK
4. Make your project shared
4, 2, 1, 3
4, 1, 2, 3
2, 3, 1, 4
2, 1, 4, 3
