top of page

ALGORITHM A  DAY- COOL!

Below are a list of excerices to help you create an algorithm for a problem. There are two types of algorithms:

COOL- Algorithm A Day 1 (OCR 1)

Design a program in Pseudocode that asks the user to input their name, age and favourite colour

HELP: USE......  BEGIN &  END  & INPUT 

Please complete on paper or submit via Edmodo

COOL- Algorithm A Day 2 (OCR 2)

Design a program in PseudocodeThe program asks the user to input their first name. The program then outputs the users first name.

HELP: USE......  BEGIN &  END  & INPUT & OUTPUT

Please complete on paper or submit via Edmodo

COOL- Algorithm A Day 3 (OCR 3) 

Design a program that asks the user to input their surname and then their first name. The program then outputs the user’s first name and then their surname separately.

HELP: USE......  BEGIN &  END  & INPUT & OUTPUT

Please complete on paper or submit via Edmodo

COOL- Algorithm A Day 4 (OCR 4) 

Design a program asks the user to input their first name and then their surname. The program then outputs the user’s first name and then their surname on the same line.

HELP: USE......  BEGIN &  END  & INPUT & OUTPUT

Please complete on paper or submit via Edmodo

COOL- Algorithm A Day 5 (OCR 5)

Design a program that asks the user to input two numbers. The program adds them together and then outputs the total

HELP: USE......  BEGIN   END   INPUT   OUTPUT  +    =

Please complete on paper or submit via Edmodo

COOL- Algorithm A Day 6 (OCR 6)

Design a program asks the user to input two numbers. The program will then output:

● The two numbers added together followed by…

● The two numbers multiplied together.

HELP: USE......  BEGIN   END   INPUT   OUTPUT  +    =  *

Please complete on paper or submit via Edmodo

Algorithm A Day 7 (OCR 7)

Design a program in pseudocode that:

● Asks the user for the distance (in metres).

● Asks the user for the time in seconds that a journey was completed in.

● Calculates and outputs the average speed using a function.

Tip: Speed = Distance / Time

 

HELP: USE......  BEGIN   END   INPUT   OUTPUT    /     = 

Please complete on paper or submit via Edmodo

Algorithm A Day 8 (OCR 8)

Design a program in Pseudocode that asks the user to input how many minutes and texts they have used in the last month and then outputs the total cost of the bill.

 

This is calculated by working out:

● The total cost of the minutes (at £0.10 per minute) and….

● Adding this to the total cost of the texts (at £0.05 per text) and….

● Adding on an additional monthly charge of £10.00.

 

HELP: USE......  BEGIN   END   INPUT   OUTPUT    +   *   =

Please complete on paper or submit via Edmodo

bottom of page