0478.1.0.13 — Understand and use basic data types • Including: – integer – real – char – string – Boolean: past paper questions
Real questions on 0478.1.0.13 — understand and use basic data types • including: – integer – real – char – string – boolean
The newest 20 of 57 written questions. Open one to see it on the real paper.
- 0478/21 · May/June 2026 · Q3[3]
Complete the table by writing the most appropriate data type for each variable described. variable description example data Age the age of the student 16 TelephoneNumber the telephone number of the student +44 7846398573 Teenager whether the student is a teenager or not TRUE data type
See it on the paper → - 0478/22 · May/June 2026 · Q2[1]
Tick (3) one box to identify a programming data type used to store a single letter, symbol or number input from the keyboard. A Boolean B char C integer
See it on the paper → - 0478/23 · May/June 2026 · Q2[1]
Tick (3) one box to identify a programming data type used to store any combination of letters and numbers. A char B Boolean C string
See it on the paper → - 0478/23 · May/June 2026 · Q6a[3]
Complete the pseudocode algorithm to: • • calculate and output the length of the string stored in the variable Fact output, in upper case, the string stored in the variable Fact Fact "I learnt to program in computer science"
See it on the paper → - 0478/23 · May/June 2026 · Q6b[2]
Write the pseudocode statements to use a string function to output the word program taken from the string stored in the variable Fact Do not declare any variables.
See it on the paper → - 0478/21 · October/November 2025 · Q7c[1]
State a suitable data type for the variable Count
See it on the paper → - 0478/21 · October/November 2025 · Q8c[2]
The database only uses these data types: • • • • • • text character Boolean integer real date/time. Field Complete the table to show the most appropriate data type for each field. Each data type must be different. Data type ParentName Permission DateReceived
See it on the paper → - 0478/21 · October/November 2025 · Q10a[1]
Write pseudocode statements to declare the variables Seconds and Minutes
See it on the paper → - 0478/22 · October/November 2025 · Q4b[6]
An email address can be validated by checking that it contains an @ symbol. Write the pseudocode for an algorithm that will allow an email address to be input and check whether or not it contains an @ symbol. Output a suitable message with the result. Use the string function SUBSTRING(EmailAddress, Start, 1) in your so...
See it on the paper → - 0478/23 · October/November 2025 · Q3[1]
Tick (3) one box to identify the most appropriate data type to store 'M' A integer B char C real
See it on the paper → - 0478/23 · October/November 2025 · Q9a[3]
Write pseudocode statements to declare the variables Name, Age and Found
See it on the paper → - 0478/21 · May/June 2025 · Q8a(i)[1]
Identify one appropriate data type for the field Return
See it on the paper → - 0478/21 · May/June 2025 · Q8a(ii)[1]
State the reason for the data type chosen.
See it on the paper → - 0478/21 · May/June 2025 · Q9a[2]
Write pseudocode statements to declare the variables A and B
See it on the paper → - 0478/21 · May/June 2024 · Q3[4]
State what is meant by the data types integer and real. Give an example of each. Integer Example Real Example
See it on the paper → - 0478/23 · May/June 2024 · Q3[4]
Describe the characteristics of the string and char data types and give an example of each. String Example Char Example
See it on the paper → - 0478/23 · May/June 2024 · Q7a[4]
The string operation SUBSTRING(FullText, X, Y) returns a string from FullText beginning at position X that is Y characters long. The first character in FullText is in position 1. Write the pseudocode statements to: • • • store the string “IGCSE Computer Science at Cambridge” in FullText extract and display the words “C...
See it on the paper → - 0478/12 · February/March 2024 · Q1b(iii)[2]
Explain how the word ‘RED’ is represented using a character set.
See it on the paper → - 0478/22 · February/March 2024 · Q4[3]
Identify three data types used in programming.
See it on the paper → - 0478/21 · October/November 2023 · Q3[4]
one line to link each description to the most appropriate data type. Not all data types will be used.
See it on the paper →
What examiners said
Most candidates correctly identified Boolean as the most appropriate data type for the field.
— Examiner report, May/June 2025, 0478/21 Q8(a)(i) (Cambridge)
Most candidates correctly identified that Boolean has only two states that make it appropriate.
— Examiner report, May/June 2025, 0478/21 Q8(a)(ii) (Cambridge)
Many candidates correctly gave the correct pseudocode for declaring variables. Some candidates incorrectly used text as a data type.
— Examiner report, May/June 2025, 0478/21 Q9(a) (Cambridge)
Past papers, syllabus and examiner reports © UCLES (Cambridge University Press & Assessment). Questions are matched to topics from the official syllabus. AssessPro is independent and not endorsed by Cambridge.