HELP · IGCSE 0478 AND A LEVEL 9618

Frequently asked questions

Answers to common questions about Revision Hub, online lessons, and the Cambridge IGCSE 0478 and A Level 9618 Computer Science exams, plus every topic question in one place.

Jump to: Using Revision Hub · Online lessons · IGCSE Computer Science 0478 · AS & A Level Computer Science 9618 · Revision and exam technique · Tools, videos and Coding Lab · Topic questions: IGCSE · Topic questions: A Level

Using Revision Hub

Is Revision Hub free?

Yes. All the notes, practice questions, grade tests, revision guides, tools and Coding Lab challenges are free, with no sign-up. Only 1-to-1 online lessons are paid, and the first demo lesson is free.

Who is Revision Hub for?

Students taking Cambridge IGCSE Computer Science 0478 or Cambridge International AS and A Level Computer Science 9618, and teachers who want free resources for their classes.

Is Revision Hub an official Cambridge website?

No. Revision Hub is an independent resource written by a Computer Science teacher. It is not affiliated with or endorsed by Cambridge University Press & Assessment. All questions on the site are original exam-style questions, not past paper questions.

Which syllabus does Revision Hub follow?

The IGCSE pages follow the Cambridge IGCSE Computer Science 0478 syllabus for 2026 to 2028, and the A Level pages follow the current Cambridge 9618 syllabus. Always check the syllabus your school uses.

How should I use Revision Hub to revise?

Pick a unit, read the notes, try the live tools, answer the self-marking questions, then take the grade test at the end. Use the revision checklists to track which units you have finished. IGCSE revision checklist · A Level revision checklist →

Do I need to create an account?

No. Every page, tool and quiz works straight away in your browser.

Can teachers use Revision Hub in lessons?

Yes. Teachers are welcome to use the notes, tools and practice questions in class or set them for homework. Please link to the pages rather than copying them.

Online lessons

Do you offer online Computer Science lessons?

Yes. 1-to-1 live online lessons are available for IGCSE 0478 and A Level 9618, planned around your papers and the topics you find hardest. See online lessons →

How much do online lessons cost?

The first demo lesson is free. After that, lessons are €30 for 1 hour, €50 for 2 hours, or €115 for a 4-hour package spread over four different days.

How do I book a free demo lesson?

Use the Book a free demo button, fill in the short form with your course, level and preferred times, and you will get a confirmation email. If you are under 18, please book with a parent or guardian. Book a free demo →

What happens in the free demo lesson?

You meet your teacher, work through a topic you find hard, and get a personal revision plan. No payment is needed.

What do I need for an online lesson?

A computer or tablet with a reliable internet connection, a microphone, and something to write with. A camera is helpful but not essential.

Can lessons help with Paper 2 and Paper 4 programming?

Yes. Lessons can focus on pseudocode, trace tables, the 15-mark scenario question in IGCSE Paper 2, or practical programming for A Level Paper 4.

IGCSE Computer Science 0478

How many papers are there in IGCSE Computer Science 0478?

Two written papers, each 1 hour 45 minutes and 75 marks. Paper 1 Computer Systems covers Units 1 to 6 and Paper 2 Algorithms, Programming and Logic covers Units 7 to 10. Each is worth 50%, and there is no coursework. IGCSE 0478 course page →

Can you use a calculator in IGCSE Computer Science?

No. Calculators must not be used in either paper, so binary, hexadecimal and file size calculations are done by hand. Read the full guide →

When are the IGCSE Computer Science exams?

Cambridge IGCSE exams are held in the June and November series, with a March series in India. Your school or exam centre confirms the exact dates.

What programming language should I learn for IGCSE Computer Science?

Paper 2 is written in Cambridge pseudocode, but you can answer the programming questions in pseudocode or a high-level language such as Python, Visual Basic or Java. Python is a popular choice for practice. How to write pseudocode →

What is the 15-mark question in Paper 2?

The last question on Paper 2 is a scenario question where you write a complete program to solve a problem, usually using arrays, loops, validation and totals. 15-mark question guide →

How are IGCSE Computer Science grades given?

Cambridge IGCSE Computer Science 0478 is graded A* to G. The same course graded 9 to 1 has the code 0984.

What are command words?

Command words such as state, describe, explain and compare tell you what kind of answer the examiner wants and how much detail to give. Command words guide →

AS & A Level Computer Science 9618

What papers are in Cambridge A Level Computer Science 9618?

Paper 1 Theory Fundamentals and Paper 2 Fundamental Problem-solving and Programming Skills make up the AS Level. Paper 3 Advanced Theory and Paper 4 Practical complete the A Level. Every paper is out of 75 marks. A Level 9618 course page →

What is the difference between AS and A Level Computer Science?

AS Level covers units 1 to 12 in Papers 1 and 2. The full A Level adds units 13 to 20 in Papers 3 and 4.

Which programming languages can I use for 9618 Paper 4?

Paper 4 is taken on a computer and can be answered in Python, Java or Visual Basic .NET. Paper 4 survival guide →

Are calculators allowed in A Level Computer Science 9618?

No. Calculators are not allowed in any 9618 paper.

How are A Level Computer Science grades given?

AS Level is graded a to e, and the full A Level is graded A* to E.

Revision and exam technique

How do I start revising for Computer Science?

Start with the topics you find hardest, revise one unit at a time, and test yourself with exam-style questions straight away. Short daily practice works better than long sessions just before the exam.

How can I get better at pseudocode?

Write pseudocode by hand every week, trace your own algorithms with a trace table, and learn the standard algorithms: totalling, counting, linear search, bubble sort, and finding the maximum, minimum and average. Trace table guide →

Where can I find Cambridge past papers?

Revision Hub does not publish past papers. Your teacher can give you past papers and mark schemes, and Cambridge provides specimen papers on its website. Use our original exam-style questions alongside them.

How do I convert binary to denary?

Write the place values 128, 64, 32, 16, 8, 4, 2 and 1 above the bits and add the columns that contain a 1. For example, 11001000 is 128 + 64 + 8 = 200. Binary to denary guide →

How do I calculate image and sound file sizes?

Image size = width × height × colour depth in bits. Sound size = sample rate × resolution in bits × length in seconds. Divide by 8 for bytes, then by 1024 for KiB. File size guide →

When will I get my results?

For Cambridge exams, results for the June series are usually released in August, and results for the November series in January.

Tools, videos and Coding Lab

What free tools does Revision Hub have?

A binary, denary and hex converter, a truth table generator that also draws the logic circuit, and an SQL practice playground with self-marking challenges. All tools →

What is the Coding Lab?

The Coding Lab has Python, pseudocode and SQL challenges you can run in your browser, with nothing to install. Open the Coding Lab →

Does Revision Hub have video lessons?

Yes. Full lessons and 30-second revision Shorts are on the Revision Hub YouTube channel, @revisionhubonline, and many unit pages include the matching video. YouTube channel →

How do I report a mistake or suggest a topic?

Use the feedback page. Every message is read, and corrections are made as quickly as possible. Send feedback →

Topic questions: IGCSE 0478

Every question from the IGCSE unit pages in one place. Open a unit to see its questions and answers, then follow the link to keep learning.

Unit 1: Data representation (8 questions)

How do you convert binary to denary?

Write the place values 128, 64, 32, 16, 8, 4, 2, 1 above the 8 bits and add the values wherever there is a 1. For example, 01101001 is 64 + 32 + 8 + 1 = 105.

Why is hexadecimal used in computing?

Hexadecimal is shorter and easier for humans to read than binary, so it is used for things like colour codes, MAC addresses and error codes. Each hex digit represents exactly 4 bits.

What is the difference between lossy and lossless compression?

Lossy compression permanently removes some data to make a much smaller file, as in JPEG and MP3. Lossless compression reduces file size without losing any data, so the original can be rebuilt exactly, as in run-length encoding.

How do you calculate the file size of an image?

Multiply the width in pixels by the height in pixels by the colour depth in bits. Divide by 8 to get bytes.

How do you convert binary to hexadecimal?

Split the binary number into groups of four bits (nibbles), starting from the right, then convert each group to one hex digit. For example, 1011 0110 is B6.

What is two’s complement in IGCSE Computer Science?

Two’s complement is a way of storing negative integers in binary. In 8 bits the leftmost bit has a value of −128, so 8-bit two’s complement can store numbers from −128 to 127.

What is overflow in binary addition?

Overflow happens when the result of a calculation is too large to fit in the number of bits available, for example when adding two 8-bit numbers gives a result greater than 255.

What is a logical binary shift?

A logical shift moves every bit left or right by a set number of places, filling the gaps with 0s. Each shift left multiplies an unsigned number by 2 and each shift right divides it by 2.

Study the full Data representation notes and practice questions →

Unit 2: Data transmission (7 questions)

What is the difference between serial and parallel transmission?

Serial transmission sends bits one at a time along a single wire, so it is reliable over long distances. Parallel transmission sends several bits at once along multiple wires, so it is faster but suffers from skew over long distances.

How does a parity check work?

An extra parity bit is added so the number of 1s is even (even parity) or odd (odd parity). The receiver counts the 1s; if the count is wrong, an error has occurred during transmission.

What is the difference between symmetric and asymmetric encryption?

Symmetric encryption uses one shared key to encrypt and decrypt. Asymmetric encryption uses a public key to encrypt and a matching private key to decrypt.

What is packet switching?

Packet switching splits data into packets that are sent separately across a network, possibly by different routes, and reassembled in order at the destination using the sequence number in each packet header.

What is the structure of a data packet?

A packet has a header (containing the source and destination IP addresses, packet number and size), a payload (the data itself) and a trailer (containing an end-of-packet marker and error-checking data).

What is an automatic repeat request (ARQ)?

ARQ is an error-detection method that uses acknowledgements and timeouts. If the sender does not receive a positive acknowledgement within a set time, it resends the data.

What is a check digit?

A check digit is an extra digit calculated from the other digits in a number, such as an ISBN or barcode, and added to the end. It is recalculated when the number is entered to detect input errors.

Study the full Data transmission notes and practice questions →

Unit 3: Hardware (7 questions)

What is the fetch-decode-execute cycle?

The CPU fetches the next instruction from memory using the address in the program counter, decodes it in the control unit, and then executes it, often using the ALU. The cycle repeats for every instruction.

What is the difference between RAM and ROM?

RAM is volatile read-write memory that holds the data and programs currently in use. ROM is non-volatile and read-only, and holds start-up instructions such as the bootstrap loader.

What affects CPU performance?

Clock speed, the number of cores and the size of the cache all affect performance. More cores only help if the software can use them in parallel.

What is the difference between primary and secondary storage?

Primary storage (RAM and ROM) is directly accessed by the CPU. Secondary storage, such as an SSD or hard disk, is non-volatile and keeps data and programs permanently when the power is off.

What is the difference between an SSD and a hard disk drive?

An SSD uses flash memory with no moving parts, so it is faster, more durable and uses less power. A hard disk drive stores data magnetically on spinning platters and is usually cheaper per gigabyte.

What is an embedded system?

An embedded system is a computer system built into a larger device to perform one dedicated task, such as the controller in a washing machine or a car’s engine management system.

What is a MAC address?

A MAC address is a unique identifier given to a network interface card by the manufacturer. It is usually written as six pairs of hexadecimal digits.

Study the full Hardware notes and practice questions →

Unit 4: Software (7 questions)

What is the difference between system software and application software?

System software, such as the operating system and utilities, runs and manages the computer. Application software, such as a word processor or web browser, lets users do specific tasks.

What is the difference between a compiler and an interpreter?

A compiler translates the whole program into machine code before it runs and reports all errors at the end. An interpreter translates and runs one line at a time and stops at the first error.

What is an interrupt?

An interrupt is a signal from hardware or software that tells the processor something needs attention, such as a key press. The processor saves its current task, runs an interrupt service routine, then carries on.

What are the functions of an operating system?

An operating system manages files, handles interrupts, provides an interface, manages peripherals and drivers, manages memory, manages multitasking, provides a platform for running applications, provides security and manages user accounts.

What is the difference between high-level and low-level languages?

A high-level language uses English-like statements and is portable between computers. A low-level language, such as assembly language, relates directly to the processor’s instructions and gives direct control of the hardware.

What is an IDE?

An integrated development environment is software used to write programs. Common features include a code editor, a run-time environment, a translator, error diagnostics, auto-completion, auto-correction and prettyprint.

What is an assembler?

An assembler translates assembly language into machine code.

Study the full Software notes and practice questions →

Unit 5: The internet and its uses (7 questions)

What is the difference between the internet and the World Wide Web?

The internet is the global network of connected computers. The World Wide Web is the collection of websites and web pages that you access over the internet using a browser.

What does DNS do?

The Domain Name System translates a domain name such as revisionhub.online into the IP address of the web server, so the browser can request the page.

What is the difference between phishing and pharming?

Phishing uses fake emails or messages to trick people into giving personal details. Pharming uses malicious code to redirect users to a fake website even when they type the correct address.

What is a cookie?

A cookie is a small text file stored by a web browser that holds data about a user’s visit to a website. Session cookies are deleted when the browser closes; persistent cookies are kept until they expire or are deleted.

What is the role of a web browser?

A web browser renders HTML to display web pages, and can store bookmarks, favourites and a history of visited pages, manage cookies and allow multiple tabs.

What is a digital currency and blockchain?

A digital currency exists only electronically. Blockchain is a digital ledger that records every transaction in time-stamped blocks linked together, making the record very difficult to alter.

What is a DDoS attack?

A distributed denial of service attack uses many computers, often in a botnet, to flood a server with requests so that it cannot respond to genuine users.

Study the full The internet and its uses notes and practice questions →

Unit 6: Automated and emerging technologies (7 questions)

What is an automated system?

An automated system uses sensors, a microprocessor and actuators to carry out a task with little or no human input, for example a smart thermostat or a production line robot.

What are the characteristics of a robot?

A robot has a mechanical structure, electrical components such as sensors and actuators, and is programmable so it can carry out tasks.

What is the difference between AI and machine learning?

Artificial intelligence is the wider idea of computers performing tasks that normally need human intelligence. Machine learning is a type of AI where the system improves by learning from data instead of following fixed rules.

What is an expert system?

An expert system is an AI system that uses a knowledge base, a rule base, an inference engine and a user interface to give advice or a diagnosis in a specialist area, such as medical diagnosis.

What are sensors and actuators in an automated system?

Sensors measure physical data such as temperature or light and send it to a microprocessor. Actuators, such as motors and valves, carry out actions based on the microprocessor’s decisions.

What are the advantages and disadvantages of automated systems?

Automated systems can be faster, safer and more accurate than humans and can work continuously. However, they are expensive to set up and maintain, can fail, and may replace human jobs.

What is machine learning?

Machine learning is a type of AI in which a program can change its own rules or data based on new data, so its performance improves over time without being reprogrammed.

Study the full Automated and emerging technologies notes and practice questions →

Unit 7: Algorithm design and problem-solving (7 questions)

What is a trace table?

A trace table records the values of variables and outputs as you follow an algorithm step by step. It is used to test algorithms and find logic errors.

What are the stages of the program development life cycle?

The stages are analysis, design, coding and testing. Analysis uses abstraction and decomposition, and design uses flowcharts, structure diagrams and pseudocode.

What is the difference between validation and verification?

Validation checks that data is sensible and follows rules, such as a range check. Verification checks that data has been entered or copied accurately, such as double entry.

What is the difference between a flowchart and pseudocode?

A flowchart shows an algorithm as a diagram using standard symbols joined by arrows. Pseudocode writes the algorithm as structured statements that look like a programming language.

What is decomposition?

Decomposition is breaking a complex problem down into smaller parts that are easier to understand and solve, such as inputs, processes, outputs and storage.

What are normal, abnormal, extreme and boundary test data?

Normal data is valid and should be accepted. Abnormal data is invalid and should be rejected. Extreme data is the largest or smallest valid value. Boundary data tests each side of a limit, one value accepted and one rejected.

What standard algorithms do I need for IGCSE 0478?

Linear search, bubble sort, totalling, counting, and finding the maximum, minimum and average.

Study the full Algorithm design and problem-solving notes and practice questions →

Unit 8: Programming (7 questions)

What are the three basic programming constructs?

The three constructs are sequence, selection (IF and CASE) and iteration (FOR, WHILE and REPEAT loops).

What is the difference between a procedure and a function?

A procedure performs a task. A function performs a task and returns a single value that can be used in an expression.

What is the difference between a local and a global variable?

A local variable is declared inside a subroutine and can only be used there. A global variable is declared in the main program and can be used anywhere.

What are the data types in IGCSE Computer Science?

INTEGER, REAL, CHAR, STRING and BOOLEAN.

What is a 2D array?

A 2D array is a table of data items of the same data type, accessed using two indexes: one for the row and one for the column, for example Marks[2, 3].

What string handling operations do I need for IGCSE?

Finding the length of a string, extracting a substring, and converting to upper case or lower case.

Why do programmers use procedures and functions?

They let a block of code be written once and reused, make programs easier to read, test and maintain, and allow a large task to be split between programmers.

Study the full Programming notes and practice questions →

Unit 9: Databases (7 questions)

What is a primary key?

A primary key is a field that uniquely identifies each record in a database table, such as a StudentID.

How do you write an SQL query for IGCSE?

Use SELECT to choose fields, FROM to name the table, WHERE to filter records and ORDER BY to sort, for example SELECT Name FROM Student WHERE Age greater than 15 ORDER BY Name.

What data types are used in databases?

Common data types are text or alphanumeric, character, Boolean, integer, real and date or time.

What is the difference between a field and a record?

A field is one item of data about every record, such as Surname. A record is all the data about one item, such as one student, and is stored as one row of the table.

What does ORDER BY do in SQL?

ORDER BY sorts the results of a query by a chosen field, in ascending (ASC) order by default or descending order with DESC.

What do SUM and COUNT do in SQL?

SUM adds up the values in a numeric field for the selected records. COUNT returns the number of records that match the query.

Is SQL on IGCSE Computer Science Paper 2?

Yes. Databases are Unit 9 of the 0478 syllabus and are assessed on Paper 2. You need to read and complete SQL scripts using SELECT, FROM, WHERE, ORDER BY, SUM and COUNT.

Study the full Databases notes and practice questions →

Unit 10: Boolean logic (7 questions)

What are the main logic gates for IGCSE?

The six gates are NOT, AND, OR, NAND, NOR and XOR. You need to know their symbols, truth tables and how to combine them into logic circuits.

How many rows does a truth table have?

A truth table has 2 to the power of n rows, where n is the number of inputs. So 2 inputs give 4 rows and 3 inputs give 8 rows.

What does an XOR gate do?

An XOR gate outputs 1 when exactly one of its two inputs is 1, and outputs 0 when both inputs are the same.

What is a logic circuit?

A logic circuit is a combination of logic gates that processes binary inputs to produce an output. In IGCSE 0478 each gate except NOT has two inputs.

How do you write a logic expression from a circuit?

Work from the inputs to the output, writing the expression for each gate in brackets. For example, an AND gate fed by A and B, followed by an OR gate with C, gives X = (A AND B) OR C.

What does a NAND gate do?

A NAND gate outputs 0 only when both inputs are 1. It is an AND gate followed by NOT, so its output is the opposite of AND.

How do you turn a problem statement into a logic expression?

Identify each condition as an input that is 1 or 0, then join the conditions with AND, OR or NOT as described in the statement, using brackets to show the order.

Study the full Boolean logic notes and practice questions →

Topic questions: AS & A Level 9618

Every question from the A Level unit pages, grouped by syllabus unit.

Unit 1: Information representation (7 questions)

How do you convert a denary number to two’s complement?

Write the positive value in binary, then invert every bit and add 1. For example, -5 in 8 bits is 11111011.

What is the difference between a kibibyte and a kilobyte?

A kibibyte (KiB) is 1024 bytes, using powers of 2. A kilobyte (kB) is 1000 bytes, using powers of 10.

What is the difference between bitmap and vector graphics?

A bitmap stores the colour of every pixel, so it loses quality when enlarged. A vector graphic stores shapes as drawing objects and properties, so it scales without losing quality.

What is BCD (binary coded decimal)?

BCD stores each denary digit as its own 4-bit binary code. For example, 59 is stored as 0101 1001. It is used where each digit is displayed separately, such as on a digital clock.

What is the difference between ASCII and Unicode?

ASCII uses 7 bits (or 8 in extended ASCII) and can represent a limited set of English characters. Unicode uses more bits per character, so it can represent characters from almost every language and symbols such as emoji.

How do you calculate the file size of a sound file?

Multiply the sample rate in hertz by the sample resolution in bits by the length of the recording in seconds. This gives the size in bits; divide by 8 for bytes.

What is run-length encoding?

Run-length encoding is a lossless compression method that replaces a run of identical values with one copy of the value and a count of how many times it repeats.

Study the full Information representation notes and practice questions →

Unit 2: Communication (7 questions)

What is the difference between client-server and peer-to-peer networks?

In client-server networks, servers provide services such as files and email to clients and are managed centrally. In peer-to-peer networks, every computer has equal status and shares its own resources.

How does CSMA/CD work?

A device listens until the channel is free, then transmits while checking for collisions. If a collision happens, it sends a jam signal and waits a random time before trying again.

What is the difference between IPv4 and IPv6?

IPv4 addresses are 32 bits written as four denary numbers. IPv6 addresses are 128 bits written as eight groups of hexadecimal digits, giving far more addresses.

What is the difference between a LAN and a WAN?

A LAN covers a small area, such as one building, and the organisation usually owns the infrastructure. A WAN covers a large geographical area and usually uses communication links leased from a third party.

What are the main network topologies?

The topologies in the 9618 syllabus are bus, star, mesh and hybrid.

What is the difference between a public and a private IP address?

A public IP address is unique on the internet and can be reached from outside a network. A private IP address is used only inside a local network and is reached from the internet through a router.

What is cloud computing?

Cloud computing provides computing services, such as storage and processing, over the internet. Public clouds are shared by many customers; private clouds are used by a single organisation.

Study the full Communication notes and practice questions →

Unit 3: Hardware (7 questions)

What is the difference between SRAM and DRAM?

SRAM uses flip-flops, does not need refreshing and is faster, so it is used for cache. DRAM uses capacitors, must be refreshed constantly and is cheaper, so it is used for main memory.

How does a laser printer work?

A drum is charged, a laser changes the charge to form an image of the page, toner sticks to the charged areas, it is transferred to paper and then fused with heat.

What is the difference between a monitoring and a control system?

A monitoring system uses sensors to collect data and warn or record. A control system also uses actuators to change conditions, using feedback.

What is the difference between RAM and ROM?

RAM is volatile memory that holds the data and programs currently in use and can be read and written. ROM is non-volatile and usually holds data that does not change, such as the start-up instructions.

What are the logic gates in A Level 9618?

NOT, AND, OR, NAND, NOR and XOR. You need to know the symbol and truth table for each and be able to draw circuits from logic expressions.

What is the difference between PROM, EPROM and EEPROM?

PROM can be written once. EPROM can be erased with ultraviolet light and rewritten. EEPROM can be erased and rewritten electrically, without removing it from the computer.

How does a touchscreen work?

A resistive touchscreen detects the point where two conductive layers are pressed together. A capacitive touchscreen detects the change in electrical charge where a finger touches the screen.

Study the full Hardware notes and practice questions →

Unit 4: Processor fundamentals (7 questions)

What are the registers used in the fetch-execute cycle?

The main registers are the PC, MAR, MDR, CIR and ACC. In the fetch stage, MAR takes the PC value, the PC is incremented, the instruction goes to the MDR and then to the CIR.

What is the difference between immediate and direct addressing?

In immediate addressing the operand is the value itself, for example LDM #5. In direct addressing the operand is the address of the value, for example LDD 200.

How are interrupts handled?

At the end of each fetch-execute cycle the processor checks for interrupts. It saves the register contents, runs the interrupt service routine, then restores the registers and continues.

What is Von Neumann architecture?

Von Neumann architecture uses a single processor and stores both program instructions and data in the same main memory, fetching and executing instructions one at a time in sequence.

What are the buses in a computer?

The address bus carries memory addresses from the processor. The data bus carries data between the processor, memory and input/output. The control bus carries control and timing signals.

What factors affect processor performance?

The clock speed, the number of cores, the size of the cache and the width of the address and data buses.

What is assembly language?

Assembly language is a low-level language that uses mnemonics, such as LDM and ADD, to represent machine code instructions. An assembler translates it into machine code.

Study the full Processor fundamentals notes and practice questions →

Unit 5: System software (7 questions)

What are the main tasks of an operating system?

The main tasks are memory management, file management, security management, hardware management and process management.

What is a DLL?

A dynamic link library is a library loaded at run time. It keeps executables smaller and lets several programs share one copy of the code in memory.

What IDE features help with debugging?

Breakpoints, single stepping, variable watch windows and report windows help programmers find and fix errors.

What is utility software?

Utility software performs maintenance tasks. Examples in 9618 include disk formatter, virus checker, defragmentation software, disk contents analysis and repair, file compression and back-up software.

What is the difference between a compiler and an interpreter?

A compiler translates the whole program into an executable file before it runs and reports all errors at the end. An interpreter translates and runs one statement at a time and stops at the first error.

Is Java compiled or interpreted?

Both. Java source code is compiled into bytecode, which is then interpreted by the Java Virtual Machine on the computer that runs it.

What is a program library?

A program library is a collection of pre-written, pre-tested routines that programmers can use in their own programs, saving time and reducing errors.

Study the full System software notes and practice questions →

Unit 6: Security, privacy and data integrity (7 questions)

What is the difference between validation and verification?

Validation checks that data is reasonable and follows rules, such as a range or format check. Verification checks that data has been entered or transferred accurately, such as double entry or a parity check.

How does a parity block detect which bit is wrong?

Each byte has a parity bit and each column has a parity bit. The row and the column that both fail the check cross at the corrupted bit, which can then be corrected.

What is the difference between a virus and a worm?

A virus attaches to a host file and replicates when the file runs. A worm replicates itself across a network without needing a host file or user action.

What is a firewall?

A firewall monitors traffic coming into and out of a network and blocks data that does not meet a set of rules, helping to prevent unauthorised access.

What is the difference between phishing and pharming?

Phishing uses fake emails or messages to trick people into giving personal details. Pharming installs malicious code or alters DNS records to redirect users to a fake website, even if they type the correct address.

What is a checksum?

A checksum is a value calculated from a block of data and sent with it. The receiver recalculates the checksum and, if it does not match, the data has been corrupted.

What is data privacy?

Data privacy is keeping personal data private and controlling who can access it, usually protected by data protection laws.

Study the full Security, privacy and data integrity notes and practice questions →

Unit 7: Ethics and ownership (7 questions)

What is the difference between free software and open source?

Both make source code available. Free software focuses on users’ freedom as an ethical issue and usually requires changes to stay free, while open source focuses on the practical benefits of collaborative development.

What is shareware?

Shareware is software you can try for free for a limited time or with limited features, after which you must pay to keep using it.

Why do computer professionals follow a code of conduct?

Codes of conduct from bodies such as the BCS and IEEE make professionals act in the public interest, stay competent, act honestly towards employers and clients, and protect the reputation of the profession.

What is the BCS code of conduct?

The BCS code of conduct sets out four principles for computing professionals: public interest, professional competence and integrity, duty to relevant authority, and duty to the profession.

What is copyright legislation in computing?

Copyright legislation protects the owner of a creative work, such as software, from it being copied, distributed or sold without permission.

What is the difference between open source and commercial software?

Open source software comes with its source code and can be modified and redistributed under its licence. Commercial software is paid for, and its source code is usually not available.

What are the impacts of AI?

AI has social impacts (such as changing jobs and privacy), economic impacts (such as productivity and the cost of systems) and environmental impacts (such as the energy used to train and run AI models).

Study the full Ethics and ownership notes and practice questions →

Unit 8: Databases (7 questions)

What are the three normal forms?

1NF has no repeating groups and atomic values. 2NF also has no partial dependencies on part of a composite key. 3NF also has no non-key dependencies.

What is a foreign key?

A foreign key is a field in one table that is the primary key of another table, used to link the two tables.

What is the difference between DDL and DML?

DDL (Data Definition Language) creates and changes the structure, such as CREATE TABLE. DML (Data Manipulation Language) queries and changes data, such as SELECT, INSERT, UPDATE and DELETE.

What is an entity-relationship diagram?

An E-R diagram shows the entities in a database and the relationships between them: one-to-one, one-to-many or many-to-many.

What is referential integrity?

Referential integrity means every foreign key value must match an existing primary key value in the linked table, so records cannot refer to data that does not exist.

What is a DBMS?

A database management system is software that manages a database. It provides a data dictionary, data modelling, logical schema, data integrity, security features, back-up and a query processor.

What does INNER JOIN do in SQL?

INNER JOIN combines rows from two tables where the values in the linking fields match, usually a foreign key in one table and the primary key in the other.

Study the full Databases notes and practice questions →

Unit 9: Algorithm design and problem-solving (7 questions)

What is the difference between abstraction and decomposition?

Abstraction removes unnecessary detail to focus on what matters. Decomposition breaks a problem into smaller sub-problems that can be solved separately.

What is stepwise refinement?

Stepwise refinement starts with a high-level outline of an algorithm and breaks each step into more detailed steps until each can be coded directly.

How do you complete a trace table?

Follow the algorithm one line at a time and write a new value in the column for any variable that changes, including any outputs.

What is a structure chart?

A structure chart shows how a problem is broken down into modules, the order they run in, and the parameters passed between them, using symbols for selection and iteration.

What is an identifier table?

An identifier table lists each variable, constant or array used in an algorithm, with its data type and a description of what it is used for.

What is the difference between structured English, flowcharts and pseudocode?

Structured English describes the steps in plain English with keywords. A flowchart shows the steps as a diagram. Pseudocode writes the steps in a form close to program code.

Is Paper 2 of 9618 a programming paper?

Paper 2, Fundamental Problem-solving and Programming Skills, is a written paper. You write and trace pseudocode and design algorithms, but you do not use a computer.

Study the full Algorithm design and problem-solving notes and practice questions →

Unit 10: Data types and structures (7 questions)

What is the difference between a stack and a queue?

A stack is Last In First Out, so items are added and removed at the top. A queue is First In First Out, so items are added at the rear and removed from the front.

What is a record data type?

A record is a user-defined data type that groups related fields of different data types under one identifier.

How do you read a text file in pseudocode?

Use OPENFILE for READ, then a WHILE NOT EOF loop with READFILE, and finally CLOSEFILE.

What is an abstract data type?

An abstract data type is a collection of data and the operations on that data, defined by what it does rather than how it is stored. In 9618 these are the stack, queue and linked list.

What is a circular queue?

A circular queue uses a fixed-size array where the front and rear pointers wrap around to the start of the array, so space freed at the front can be reused.

What is a linked list?

A linked list is a set of nodes, each holding data and a pointer to the next node. A start pointer shows the first node and a null pointer marks the end.

What is the difference between WRITE and APPEND in pseudocode?

Opening a file FOR WRITE creates a new file or overwrites existing contents. Opening a file FOR APPEND adds new data to the end of the existing file.

Study the full Data types and structures notes and practice questions →

Unit 11: Programming (7 questions)

What is the difference between BYVAL and BYREF?

BYVAL passes a copy of the value, so changes inside the subroutine do not affect the original. BYREF passes the address, so changes inside the subroutine change the original variable.

What is the difference between a WHILE loop and a REPEAT loop?

A WHILE loop checks its condition at the start and may run zero times. A REPEAT UNTIL loop checks at the end, so it always runs at least once.

What do MOD and DIV do?

MOD returns the remainder of a division and DIV returns the whole-number result. For example, MOD(17, 5) is 2 and DIV(17, 5) is 3.

What is the difference between a procedure and a function in pseudocode?

A procedure performs a task and is run with CALL. A function returns a single value, has a RETURNS data type in its header, and is used inside an expression.

What string functions are used in 9618 pseudocode?

Common string functions include LENGTH, LEFT, RIGHT, MID, TO_UPPER and TO_LOWER. They are listed in the insert given with the exam.

How do you generate a random number in 9618 pseudocode?

RAND(x) returns a random real number from 0 up to, but not including, x. For a whole number from 1 to 6, use INT(RAND(6)) + 1.

What is a CASE statement?

A CASE statement selects one of several actions based on the value of a single variable, with OTHERWISE catching any value not listed.

Study the full Programming notes and practice questions →

Unit 12: Software development (7 questions)

What is the difference between waterfall, iterative and RAD?

Waterfall completes each stage once in order. Iterative builds the system in repeated cycles. RAD uses quick prototypes refined with constant user feedback.

What is the difference between black-box and white-box testing?

Black-box testing checks inputs against expected outputs without looking at the code. White-box testing tests every path through the code using knowledge of its structure.

What are the three types of maintenance?

Corrective maintenance fixes errors, adaptive maintenance changes the program for new requirements or hardware, and perfective maintenance improves performance or usability.

What is the program development life cycle?

The stages are analysis, design, coding, testing and maintenance.

What is a state-transition diagram?

A state-transition diagram shows the states a system can be in, the events that cause it to move between states, and the start state and final states.

What is the difference between alpha and beta testing?

Alpha testing is carried out by the developers or in-house testers before release. Beta testing is carried out by a selected group of real users before the software is released to everyone.

What is the difference between syntax, logic and run-time errors?

A syntax error breaks the rules of the language. A logic error gives the wrong result. A run-time error causes the program to crash while it is running, such as dividing by zero.

Study the full Software development notes and practice questions →

Unit 13: Data representation (A Level) (7 questions)

How do you normalise a floating-point number?

Shift the mantissa until its first two bits are different (01 for positive, 10 for negative), and adjust the exponent by the same number of places in the opposite direction.

What is the difference between precision and range in floating point?

More mantissa bits give greater precision. More exponent bits give a greater range of numbers.

What is a hashing algorithm used for in files?

A hashing algorithm calculates the address where a record is stored from its key field, allowing direct access in random files.

What is a user-defined data type?

A user-defined data type is created by the programmer. Non-composite types include enumerated and pointer types; composite types include records, sets and classes.

What is the difference between serial, sequential and random file organisation?

In serial files records are stored in the order they arrive. In sequential files records are stored in order of a key field. In random files a hashing algorithm calculates where each record is stored.

What is a floating-point number?

A floating-point number is stored as a mantissa and an exponent in two’s complement. The mantissa holds the significant digits and the exponent shows where the binary point goes.

Why are floating-point numbers normalised?

Normalising gives the maximum precision for the bits available and gives each number a single representation. A normalised positive mantissa starts 0.1 and a negative one starts 1.0.

Study the full Data representation (A Level) notes and practice questions →

Unit 14: Communication and internet technologies (7 questions)

What are the layers of the TCP/IP model?

The four layers are application, transport, internet and link.

What is the difference between POP3 and IMAP?

POP3 downloads emails to one device and usually removes them from the server. IMAP keeps emails on the server so they stay in sync across devices.

What is the difference between circuit switching and packet switching?

Circuit switching sets up a dedicated path for the whole communication. Packet switching splits data into packets that can take different routes and are reassembled at the destination.

What is the difference between TCP and UDP?

TCP is connection-based and guarantees that packets arrive in order and without errors. UDP is faster but does not guarantee delivery or order.

What protocols are in the 9618 syllabus?

Protocols include HTTP, FTP, POP3, IMAP, SMTP and BitTorrent, along with TCP/IP.

How does a router work?

A router reads the destination IP address in each packet header and forwards the packet towards its destination, using a routing table to choose the best route.

How does BitTorrent work?

BitTorrent is a peer-to-peer protocol. A file is split into pieces that are shared between many users (peers) at the same time, coordinated by a tracker.

Study the full Communication and internet technologies notes and practice questions →

Unit 15: Hardware and virtual machines (7 questions)

What is the difference between RISC and CISC?

RISC processors use a small set of simple, fixed-length instructions that take about one clock cycle each. CISC processors use many complex instructions that take several cycles.

How do you simplify a Karnaugh map?

Place the 1s from the truth table in Gray code order, group adjacent 1s in the largest possible rectangles of 1, 2, 4 or 8, then write one term per group using only the variables that do not change.

What is the difference between an SR and a JK flip-flop?

An SR flip-flop has an invalid state when both inputs are 1. A JK flip-flop is clocked and toggles its output when both J and K are 1, so it has no invalid state.

What is a virtual machine?

A virtual machine is software that emulates a physical computer, allowing one computer to run several operating systems at the same time.

What is pipelining?

Pipelining lets a processor work on different stages of several instructions at the same time, such as fetching one instruction while decoding another, so more instructions are completed per clock cycle.

What is a half adder and a full adder?

A half adder adds two bits and outputs a sum and a carry. A full adder adds three bits (two inputs and a carry in) and outputs a sum and a carry out.

What is Boolean algebra used for?

Boolean algebra uses laws such as De Morgan’s laws to simplify logic expressions, so the same result can be produced with fewer logic gates.

Study the full Hardware and virtual machines notes and practice questions →

Unit 16: System software (A Level) (7 questions)

What are the three process states?

Running means the process is on the CPU, ready means it is waiting for CPU time, and blocked means it is waiting for an event such as input or output.

What happens in lexical analysis?

Lexical analysis removes whitespace and comments, splits the code into tokens and builds the symbol table.

How do you evaluate Reverse Polish Notation?

Read the tokens left to right using a stack. Push each number; for each operator, pop two numbers, apply the operator and push the result.

What is the difference between paging and segmentation?

Paging divides memory into fixed-size blocks called pages and frames. Segmentation divides memory into variable-size blocks based on the logical parts of a program.

What is virtual memory?

Virtual memory uses secondary storage as an extension of RAM, so programs larger than the available RAM can run. Too much swapping between disk and RAM causes disk thrashing.

What are the stages of compilation?

Lexical analysis, syntax analysis, code generation and optimisation.

What is process scheduling?

Process scheduling decides which process uses the processor next. Algorithms include first come first served, round robin, shortest job first and shortest remaining time.

Study the full System software (A Level) notes and practice questions →

Unit 17: Security (7 questions)

How does a digital signature work?

The sender hashes the message and encrypts the digest with their private key. The receiver decrypts it with the sender’s public key and compares it with their own hash of the message.

What is the difference between symmetric and asymmetric encryption?

Symmetric encryption uses one shared secret key. Asymmetric encryption uses a public key and a matching private key, which solves the problem of sharing the key securely.

What happens in a TLS handshake?

The server sends its digital certificate, the client checks it with a trusted certificate authority, a symmetric session key is agreed, and all further data is encrypted with that key.

What is a digital certificate?

A digital certificate is issued by a certificate authority to verify the identity of a website or organisation and to provide its public key.

How does asymmetric encryption work?

Asymmetric encryption uses a pair of keys. Data encrypted with the recipient’s public key can only be decrypted with the recipient’s private key.

What is quantum cryptography?

Quantum cryptography uses the properties of photons to share an encryption key. Any attempt to intercept the key changes the photons and can be detected.

What is SSL/TLS used for?

SSL and its successor TLS encrypt data sent between a browser and a web server and authenticate the server, as shown by HTTPS.

Study the full Security notes and practice questions →

Unit 18: Artificial intelligence (7 questions)

How does Dijkstra’s algorithm work?

Set all distances to infinity except the start node, then repeatedly visit the unvisited node with the smallest distance and update its neighbours if a shorter route is found.

What is the difference between A* and Dijkstra’s algorithm?

A* adds a heuristic estimate of the remaining distance to the goal and chooses the node with the lowest total of cost so far plus heuristic, so it usually explores fewer nodes.

What are the types of machine learning?

Supervised learning uses labelled data, unsupervised learning finds patterns in unlabelled data, and reinforcement learning learns through rewards and penalties.

What is a graph in AI?

A graph is a set of nodes connected by edges, which can be weighted. Graphs are used in AI to represent problems such as routes between places.

What is deep learning?

Deep learning is a type of machine learning that uses artificial neural networks with many hidden layers to learn from large amounts of data.

What is reinforcement learning?

In reinforcement learning, an agent learns by trial and error, receiving rewards or penalties for its actions in an environment.

What is back propagation?

Back propagation adjusts the weights in a neural network by working backwards from the error in the output, so the network’s predictions improve.

Study the full Artificial intelligence notes and practice questions →

Unit 19: Computational thinking and problem-solving (7 questions)

What is the difference between linear and binary search?

Linear search checks each item in turn and works on unsorted data. Binary search needs sorted data and halves the list each time, so it is much faster for large lists.

What does Big O notation mean?

Big O describes how the time or memory an algorithm needs grows as the input size grows, using the worst case. For example, binary search is O(log n).

What is recursion?

Recursion is when a subroutine calls itself. It needs a base case to stop and a general case that moves towards the base case.

How does binary search work?

Binary search repeatedly checks the middle item of a sorted list, discards the half that cannot contain the target, and repeats until the item is found or the list is empty.

What is insertion sort?

Insertion sort builds a sorted list one item at a time, taking each item in turn and inserting it into the correct position among the items already sorted.

What is the difference between bubble sort and insertion sort?

Bubble sort repeatedly compares and swaps adjacent items. Insertion sort inserts each item into its correct place in the sorted part of the list, and is usually faster on nearly sorted data.

What are the features of a recursive algorithm?

A recursive algorithm calls itself, has a base case that stops the recursion, and has a general case that moves towards the base case.

Study the full Computational thinking and problem-solving notes and practice questions →

Unit 20: Further programming (7 questions)

What are the main OOP concepts for A Level?

The key concepts are classes, objects, encapsulation, inheritance, polymorphism and containment.

What is the difference between inheritance and polymorphism?

Inheritance lets a subclass reuse the attributes and methods of a superclass. Polymorphism lets a subclass override a method so the same method name behaves differently.

What is exception handling?

Exception handling catches unexpected run-time events, such as a missing file, using TRY and EXCEPT, so the program can recover instead of crashing.

What are the programming paradigms in 9618?

Low-level programming, imperative (procedural) programming, object-oriented programming and declarative programming.

What is encapsulation in OOP?

Encapsulation keeps an object’s attributes private, so they can only be accessed or changed through the object’s public methods, such as getters and setters.

What is declarative programming?

In declarative programming, such as Prolog, you write facts and rules, and the program answers queries by working out what follows from them.

What is a random access file in pseudocode?

A random access file lets records be read or written directly at any position using SEEK, GETRECORD and PUTRECORD, without reading through the file from the start.

Study the full Further programming notes and practice questions →

Still have a question? Send a message through the contact page or book a free demo lesson. Contact Revision Hub →