Block It Out - Merged
Block It Out - Merged
1
NAME OF THE STUDENT: TOPIC: Block it out
GRADE: 6A DATE OF ISSUE: 16/9/24
SUBJECT: Computing DATE OF SUBMISSION: 17/9/24
10. A rabbit's age is approximately nine times the age of a human. Create a new program in Python using the
Scratch program solution below, which calculates the age of a rabbit in rabbit years:
1
NAME OF THE STUDENT: TOPIC: Block it out
GRADE: 6A DATE OF ISSUE: 19/9/24
SUBJECT: Computing DATE OF SUBMISSION: 21/9/24
2. Create a new program in Python that calculates the speed of a moving car. The program should: – ask the user
to enter the distance in meters; this should be cast to an integer – ask the user for the journey time in seconds;
this should be cast to an integer – calculate the speed; this is the distance divided by time – use print to output
the speed; an example is given below:
3. Using the correct symbols, create an algorithm using a flowchart that does the following: – Asks the user to
input two numbers – Adds the two numbers together and then divides by 2 to find the mean average – Outputs
the average.
4. Observe the below program
There are a number of errors in the code that prevent the program working. The program should: – ask the user
to enter a price and a quantity – calculate the cost (price multiplied by quantity) – display the overall cost. Work
through the code line by line to identify and debug the errors.
Write the correct program below:
1
2
NAME OF THE STUDENT: TOPIC: Block it out
GRADE: 6A DATE OF ISSUE: 21/9/24
SUBJECT: Computing DATE OF SUBMISSION: 22/9/24
1
• calculate the tip: 15% of the total bill
• calculate the total bill including the tip
• work out the amount each person has to pay (the total including the tip divided by the number of
people)
• display the amount each person has to pay.
2
4. Look at this Scratch example. When a number is squared (multiplied by itself), it is considered to be a 'Big
Number' if it is greater than 100. Create a flowchart for this program.