Skip to content

Course home

Sign up

Input/output

EasyMediumHard
123456789101112131415
Question 2

A maritime logistics firm uses a standardized registration format called the Global Freight Tracking Reference (GFTR) to track international cargo containers.

GFTR Code Format

  • The code begins with a single-letter hazard level indicator: 'H' (Hazardous), 'S' (Standard), or 'E' (Exempt).
  • The next field is a three-digit carrier company identifier (e.g., '402' or '109').
  • The next field is a five-letter port-of-entry code.
  • The next field is a four-digit terminal bay number.
  • The final field is a two-character security clearance level.

Valid GFTR codes:

  • H-402-ROTTR-1082-S1
  • S-109-SINGP-0922-A2
  • E-881-LONDO-2144-B5

State one validation test that could be used to verify the port-of-entry code in the GFTR.

[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