Skip to content

Course home

Sign up

Input/output

EasyMediumHard
1234567
Question 6

A drone control system requires the operator to input the target pitch angle of a drone. The pitch angle is a decimal value, representing degrees, and must be between −35.0-35.0−35.0 and +35.0+35.0+35.0 inclusive. The entered value needs to be validated before being sent to the flight controller.

Construct two different validation tests. Test data for Test 1 is provided in the table.

Complete the table by filling in (a), (b), and (c).

TestValidation testTest data
Test 1(a)42.5
Test 2(b)(c)
a.

(a)

[1]
b.

(b)

[1]
c.

(c)

[1]
Markscheme

Input/output Questions

  1. GCSE
  2. /Computer Science
  3. /Input/output

25 exam-style questions on Edexcel GCSE Computer Science Input/output, covering Accepting and responding to user input, Reading and writing CSV text files, Implementing validation, and Implementing authentication. Each one has a worked solution and a mark scheme showing where the marks go.

Question bank