2210/22/M/J/20 question 2: worked solution (May/June 2020, paper 22)

Show as plain text

Cambridge O Level Computer Science 2210 · 8.1 Programming concepts Worked solution from the Programming Paper 2 Algorithms, Programming and Logic booklet, Part 1 of 3. Q3 2210/22/M/J/20 original Q2 Structured · 5 marks Worked solution (a) Match each description to a data type from the list. A number with a fractional part: Real [1] A whole number: Integer [1] A single number, symbol or letter: Char (String is also accepted) [1] A sequence of characters: String [1] Two values, True or False: Boolean [1] KEY IDEA Real has a fractional part, integer is whole, char is one character, string is many, Boolean is True or False. TOTAL 5 marks Official mark scheme VIDEO ▶ Whole paper Video solution of the whole paper · by Zafar Ali Khan (ZAK). Tap the picture to open it on YouTube.