NEW
Font size
WorksheetsG7CheckPoint1T1CCDI
Total questions: 12
Worksheet time: 6mins
A method used to break down problems into smaller parts. What is this called? (3 marks)
Selection
Repetition
Decomposition
Algorithm
What is decomposition? (3 marks)
A method you use to break down problems into smaller parts.
When the program chooses which instructions to execute.
Is when the program repeats instructions
Steps you follow to solve a problem
Which variable below is the best to store a person’s height?
int_weight
bln_height
flt_height
str_height
Which variable below is the best to store a person’s name?
str_name
int_name
bln_name
flt_name
Which one is an example of pseudocode? (3 marks)
Input an age from the user
x = 5+20
print("Hello, Zachariah!")
for count in range(20):
Which one is NOT an example of pseudocode? (3 marks)
Input an age from the user
Add score to sum and save the answer in sum
Output the answer
for count in range(20):
Which compound conditional code should go in the yellow box ?
if int_age >=18 and int_age<=12
if int_age >=12 and int_age<=18
if int_age >=15 and int_age<=28
int_age >=12 and int_age=18
Which compound conditional code should go in the yellow box ?
if int_age >=2 and int_age<=1
if int_age >=4 and int_age<=28
if int_age >=1 and int_age<=2
int_age >=1 and int_age<=2
Which one is a way to include already made code into your program?
Use repetition
Use loops
Use compound conditionals
Use libraries
What do you use programming libraries for?
You use libraries to remove functionality from your code.
You use libraries to make your code longer.
You use libraries to allow multiple conditions at the same time.
You use libraries to add pre-made code to your program.
Why is it important to get feedback on your project?
Feedback helps you find ways to make your project worse.
Feedback makes your project more expensive.
Feedback will remove all the bugs in your code.
Feedback helps you find ways to improve your project.
What do you use feedback for?
You use feedback to help make your project better.
You use feedback to add code to your project.
You use feedback to make your project more expensive.
You use feedback to make your code shorter.
