2210/21/M/J/21 question 3: worked solution (May/June 2021, paper 21)
Show as plain textHide 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. Q10 2210/21/M/J/21 original Q3 Structured · 6 marks Worked solution 37 Whole number, so the type is integer. Data type name: Integer [1] Data type description: a whole number (no decimal part) [1] Cambridge2021 It is letters and digits together, so it is text. Data type name: String [1] Data type description: a group of characters (text) [1] 47.86 It has a decimal part. Data type name: Real [1] Data type description: a number that can have a fraction (decimal part) [1] KEY IDEA Whole numbers are integer, text is string and numbers with a decimal part are real. TOTAL 6 marks Official mark scheme VIDEO ▶ Topic lesson A lesson on this topic · by Mr Bulmer's Learning Zone. Tap the picture to open it on YouTube.