Cambridge IGCSE Computer Science sample questions and answers (0478)
Guide overview All 10 topics Sample questions Papers and weighting Look inside Questions and answers
30 sample questions and answers
Taken from every topic of Cambridge IGCSE Computer Science, syllabus 0478. The full guide has 848.
Paper 1
Data Representation
183 questions in the guide, across 4 subtopics. More from this topic
-
Binary, denary and hexadecimal
What base does each number system use?
Show the answer
Denary is a base 10 system. Binary is a base 2 system. Hexadecimal is a base 16 system. -
Representing text, sound and images
What is ASCII?
Show the answer
ASCII is a character set that uses 7 bits per character, which gives 128 characters including English letters, digits and punctuation. Extended ASCII uses 8 bits per character, which gives 256 characters. -
Binary, denary and hexadecimal
Convert the denary number 45 to 8-bit binary.
Show the answer
The denary number 45 is 32 + 8 + 4 + 1, so in 8-bit binary it is 00101101.
Paper 1
Data Transmission
79 questions in the guide, across 4 subtopics. More from this topic
-
Methods of data transmission
What is parallel data transmission?
Show the answer
Parallel transmission sends several bits at the same time along several wires. -
Encryption
What is ciphertext?
Show the answer
Ciphertext is data after encryption, which cannot be understood without the key. -
Methods of data transmission
Give one advantage and one disadvantage of parallel transmission.
Show the answer
Parallel transmission is fast over short distances. Over long distances the bits can arrive at slightly different times, which is called skew, and errors occur.
Paper 1
Hardware
139 questions in the guide, across 7 subtopics. More from this topic
-
Input and output devices
How does a barcode scanner work?
Show the answer
A barcode scanner shines light at the barcode. The black bars reflect less light than the white spaces, and sensors convert the pattern of reflected light into a number. -
Primary and secondary storage
What is ROM used for?
Show the answer
Read only memory (ROM) stores the start-up instructions, such as the bootloader, that the computer needs when it is switched on. -
Network hardware
Can a MAC address be changed by the network?
Show the answer
A MAC address is fixed at manufacture and does not change when the device moves to another network.
Paper 1
Software
46 questions in the guide, across 3 subtopics. More from this topic
-
System software and the operating system
What is application software?
Show the answer
Application software provides the services the user needs to carry out tasks, such as a word processor, a web browser or a game. -
Programming languages, translators and IDEs
Give three advantages of a high-level language.
Show the answer
High-level code is easier to read and write. High-level code is easier to debug. High-level code is machine independent, so it can run on different types of computer. -
Interrupts
How does the CPU handle an interrupt?
Show the answer
The CPU checks for interrupts at the end of each fetch–decode–execute cycle. If an interrupt has a higher priority, the CPU saves the current task and runs an interrupt service routine. The CPU then reloads the saved task and carries on.
Paper 1
The Internet and Its Uses
68 questions in the guide, across 4 subtopics. More from this topic
-
The internet and the world wide web
What is a uniform resource locator?
Show the answer
A uniform resource locator (URL) is the text-based address of a web page. -
Cyber security threats
What is a distributed denial of service attack?
Show the answer
A distributed denial of service (DDoS) attack uses many infected computers to flood a server with requests. The server becomes so busy that genuine users cannot access it. -
The internet and the world wide web
What is the purpose of hypertext transfer protocol?
Show the answer
Hypertext transfer protocol (HTTP) is the set of rules used to transfer web pages between a web server and a browser.
Paper 1
Automated and Emerging Technologies
40 questions in the guide, across 3 subtopics. More from this topic
-
Artificial intelligence
Give three main characteristics of AI.
Show the answer
AI collects data and has rules for using that data. AI has the ability to reason. AI can also include the ability to learn and adapt. -
Robotics
What are the three characteristics of a robot?
Show the answer
A robot has a mechanical structure or framework. A robot has electrical components, such as sensors, microprocessors and actuators. A robot is programmable. -
Automated systems
Describe how an automated greenhouse controls temperature.
Show the answer
A temperature sensor sends readings to the microprocessor. If the temperature is above the set value, the microprocessor signals an actuator to open the windows. If the temperature is too low, a heater is switched on.
Paper 2
Algorithm Design and Problem-Solving
97 questions in the guide, across 5 subtopics. More from this topic
-
Standard methods of solution
How does a linear search work?
Show the answer
A linear search checks each item in a list in turn, starting from the first, until the item is found or the end of the list is reached. -
Test data and trace tables
What is extreme test data?
Show the answer
Extreme test data is the largest or smallest value that the program should accept. -
The development life cycle and decomposition
What is decomposition?
Show the answer
Decomposition is breaking a complex problem down into smaller parts that are easier to solve.
Paper 2
Programming
107 questions in the guide, across 6 subtopics. More from this topic
-
Sequence, selection and iteration
What is selection?
Show the answer
Selection chooses which instructions to carry out depending on whether a condition is true or false. -
Procedures, functions and library routines
What is a parameter?
Show the answer
A parameter is a value passed into a procedure or function when it is called. -
File handling
How is a line of data read from a file in pseudocode?
Show the answer
A line is read with READFILE, the file name and a variable, for example READFILE "Scores.txt", LineOfText.
Paper 2
Databases
42 questions in the guide, across 2 subtopics. More from this topic
-
Database tables, data types and primary keys
What is a single-table database?
Show the answer
A single-table database stores all its data in one table of rows and columns. -
Database tables, data types and primary keys
What is a field?
Show the answer
A field is one column of a table, holding one item of data about every record, such as Surname. -
Database tables, data types and primary keys
What is a record?
Show the answer
A record is one row of a table, holding all the data about one item or person.
Paper 2
Boolean Logic
47 questions in the guide, across 2 subtopics. More from this topic
-
Logic circuits, expressions and truth tables
How many rows does a truth table need for three inputs?
Show the answer
A truth table for three inputs needs 2³, which is 8 rows. -
Logic circuits, expressions and truth tables
In what order are the input rows of a three-input truth table written?
Show the answer
The rows count up in binary from 000 to 111, so the first input changes every four rows and the last input changes every row. -
Logic circuits, expressions and truth tables
What is a logic expression?
Show the answer
A logic expression describes a circuit in words, using the gate names and brackets, such as X = (A AND B) OR NOT C.
Cambridge IGCSE Computer Science Active Recall Guide
The other 818 questions, with the answers printed after each section.