Designing, creating and refining algorithms
46
0/6

Write an algorithm, using pseudocode or a flowchart, to run a currency conversion training simulator that meets the following requirements:

  • The training session consists of exactly 8 conversion questions.
  • For each question, the program generates a random exchange rate (a whole number between 11 and 20 inclusive, representing 'Geld' per 1 'Sol') and a random 'Sol' amount (a whole number between 5 and 15 inclusive).
  • The user is prompted to calculate and input the equivalent amount in Geld (the product of the Sol amount and the exchange rate).
  • The user's score starts at 0.
  • If the user enters the correct converted value, 3 points are added to their score. Otherwise, 1 point is deducted from their score.
  • At the end of the session, the final score is displayed.
[6]

Designing, creating and refining algorithms Questions

Practise OCR GCSE Computer Science Designing, creating and refining algorithms with exam-style questions for GCSE Computer Science. 50 questions, matched to the OCR GCSE Computer Science (J277) specification and written in Component 01 and Component 02 style. Every question includes a full worked solution and mark scheme, so you can see where marks are awarded rather than just whether you got the answer right.

PreviousNext

Designing, creating and refining algorithms Questions

  1. GCSE
  2. /Computer Science
  3. /Designing, creating and refining algorithms