4Medium
0/6

An algorithm is required that allows a scorer to enter two player scores, score1 and score2. The algorithm must determine and output:

  • "Player 1 wins" if score1 is greater than score2
  • "Player 2 wins" if score2 is greater than score1
  • "It's a draw" if they are equal

Draw a flowchart to show this algorithm.

Standard Flowchart Guide:

  • Terminator (Rounded rectangle) for Start/End
  • Input/Output (Parallelogram) for reading values or writing results
  • Decision (Diamond) for conditional paths
  • Process (Rectangle) for assignments or calculations
[6]

Constructs Questions

Practise Edexcel GCSE Computer Science Constructs with exam-style questions for GCSE Computer Science. 61 questions covering Structural components of programs and Writing programs with control constructs, matched to the Edexcel GCSE Computer Science (1CP2) specification and written in Paper 1 and Paper 2 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

Constructs Questions

  1. GCSE
  2. /Computer Science
  3. /Constructs