You are on page 1of 4

Activity 1:

Produce a written description of the following flowchart.

input username
if username exists
go to step 1
else:
enter password
if password does not exists then
go to step 4

Answer:
Activity 2:
Re-order the written description of algorithm, so that the algorithm will run as expected.

Turn toaster on. cut one slice from the end of the loaf of bread
put the slice of bread in the toaster
Put toasted bread on a plate.
turn toaster on
Put the slice of bread in the toaster. wait for toaster to finish
Cut one slice from the end of the loaf of bread. put toasted bread on a plate
Spread butter on toast. spread butter on a toast

Wait for toaster to finish.


Activity 3:

Observe the flowchart shown below:

(i) What does this flowchart do?

The flow chart sees the income and cost


(ii) What is the output of the flowchart, given the following inputs?
Income Cost Profit Loss
1000 800 200 0
3600 3870 0 270
2180 1900 380 0
Activity 4:
The following flow chart is meant to show the steps for working out 4.72 divide by 1.18
on a calculator.
Choose the correct instructions from the list of instructions given below. Some of the
instructions are not required. Include those which are relevant to the task.

List of instructions:
Start

enter 4.72 on the calculator

press the divide key

enter 1.18 on the calculator

press the equal key (=)

Stop
Extension Activity:
When you enter a search term into Google, a list of links to websites is returned. But
why are they presented that particular order?
Research the PageRank algorithm that Google uses to rate the importance of
websites and write a short report about your findings.

That is because they are put in order of the websites that have
been viewed more

The page rank algorithm uses a rating of importance which is defined measure where a page becomes important
only if there are a lot of good ratings on the page which leads to better websites being promoted

You might also like