Skip to main content
Edexcel IGCSEGeneralGeneral Applications4 Marks

A programmer is designing a program that displays a menu of options to the user.

  1. (a)The program will allow a user to enter an option from 1 to 4. State the most appropriate data type to store the user’s choice.[1]
  2. (b)The program converts the user’s input into a different data type. State the name of this process.[1]
  3. (c)Explain why the programmer might need to convert the user’s input into a different data type.[2]

Mark scheme

Marking points from the official mark scheme. The mark or mark type is shown in brackets.

  1. 7(a) Integer (1) B1
  2. 7(b) Type casting / Type conversion (1) B1
  3. 7(c) Up to two of: B1 for each explanation.
  4. User input is normally stored as a string / character (1)
  5. To perform arithmetic operations / calculations (on the input) (1)
  6. To allow comparison to other values (e.g. numbers) (1)

Write your answer and get it marked

On Oracle Prep you can write or photograph your own answer and have it marked by AI against this mark scheme, with feedback on what you missed.

Sign up free →

About this question

Topic
General Applications, Edexcel IGCSE General. Structured question, 4 marks.

Questions and mark schemes are from past examination papers and remain the copyright of the exam board. How Oracle Prep builds its content

Related General questions

© 2026 Oracle Prep