Cambridge Lower Secondary CheckpointStage 7

Computer Systems

Computing Stage 7 Chapter Notes

What this chapter covers

Computer Systems
ShareWhatsAppPost
Computer Systems notes

Unable to load PDF

The notes viewer could not load. Please refresh the page.

Read online free. Download a watermarked copy with a free account.

Read the notes

The full Computer Systems notes as text: skim, search, and jump between subtopics.

~17 min read

1. Systems vs. Application Software

Every computer system is made of two fundamental parts: hardware and software. Hardware refers to the physical components you can touch, like the CPU, memory, and monitor. Software refers to the programs and instructions that run on the hardware. Software is broadly divided into two categories: systems software and application software. Systems software manages the computer itself. It acts as the intermediary between the hardware and the application programs. The most important piece of systems software is the operating system (OS), which controls everything from memory management to user interfaces. Other examples include utility programs (like disk defragmenters) and device drivers. Application software is designed to perform specific tasks for the user. If you are writing an essay, browsing the internet, or playing a game, you are using application software. These programs rely on the systems software to function.

Key term

Operating System (OS): Systems software that manages computer hardware and software resources and provides common services for computer programs.

Examiner insight

Examiners award marks for clear examples that distinguish the function of systems software (managing the computer) from application software (performing a user-specific task).

Common pitfall

Stating that an operating system is 'the software' without explaining its specific role in managing hardware and running other programs.

Fun fact

The first recognized operating system, GM-NAA I/O, was created in 1956 by General Motors for their IBM 704 computer, primarily to automatically run a batch of jobs.

Worked example 14 marks

A student uses a laptop to write an essay and then print it. Identify one piece of application software and one piece of systems software used in this process. Justify your choices.

  1. 1

    Application Software: Word processor (e.g., Microsoft Word, Google Docs).

  2. 2

    Justification: This software is used to perform a specific user task, which is writing and formatting the essay.

  3. 3

    Systems Software: Operating System (e.g., Windows, macOS) or a printer driver.

  4. 4

    Justification: The OS manages the hardware (like the keyboard and screen) and allows the word processor to run. The printer driver is systems software that translates the document data into a format the printer can understand and execute.

Recap

  • Hardware refers to the physical components of a computer system.
  • Software is the set of instructions or programs that tell the hardware what to do.
  • Systems software manages the computer's basic functions and hardware.
  • The operating system is the most important type of systems software.
  • Application software is designed to perform specific tasks for the user, such as word processing or web browsing.

Quick check

  1. Is a web browser an example of systems software or application software? Explain your answer.2 marks

2. The Language of Computers: Binary

At its most fundamental level, a computer is made of billions of tiny electronic switches called transistors. Each switch can be in one of two states: ON or OFF. To represent these two states, computers use the binary number system, which has only two digits: 1 (ON) and 0 (OFF). Every piece of data in a computer—whether it's text, images, sound, or instructions—is stored as a sequence of binary digits, or 'bits'. While we use the denary (base-10) system with digits 0-9, computers use binary (base-2). Binary place values are powers of 2, increasing from right to left: ..., 64, 32, 16, 8, 4, 2, 1. An 8-bit binary number is called a 'byte'.

Binary Place Values (8-bit): 128, 64, 32, 16, 8, 4, 2, 1

Key term

Binary: A number system that uses only two digits, 0 and 1, to represent all data in a computer system.

Examiner insight

Marks are often awarded for showing the correct method in binary-to-denary conversions, including writing out the place values being added together.

Common pitfall

When converting from denary to binary, forgetting to fill the unused higher place values with zeros to make up the required number of bits (e.g., giving 1100 for 12 instead of 00001100 for an 8-bit number).

Fun fact

The word 'bit' is a portmanteau of 'binary digit'. A 'byte' is typically 8 bits, which was historically the number of bits used to encode a single character of text.

Worked example 12 marks

Convert the denary number 45 into an 8-bit binary number.

  1. 1

    Write down the 8-bit place values: 128, 64, 32, 16, 8, 4, 2, 1.

  2. 2

    Find the largest place value less than or equal to 45. This is 32. Place a 1 under 32. Remainder: 45 - 32 = 13.

  3. 3

    The largest place value less than or equal to 13 is 8. Place a 1 under 8. Remainder: 13 - 8 = 5.

  4. 4

    The largest place value less than or equal to 5 is 4. Place a 1 under 4. Remainder: 5 - 4 = 1.

  5. 5

    The largest place value less than or equal to 1 is 1. Place a 1 under 1. Remainder: 1 - 1 = 0.

  6. 6

    Fill the remaining place values (128, 64, 16, 2) with 0s.

  7. 7

    The final 8-bit binary number is 00101101.

Worked example 22 marks

Convert the 8-bit binary number 10110100 into a denary number.

  1. 1

    Write the binary number under its place values: 128(1), 64(0), 32(1), 16(1), 8(0), 4(1), 2(0), 1(0).

  2. 2

    Add the place values where there is a '1'.

  3. 3

    Sum = 128 + 32 + 16 + 4.

  4. 4

    Calculate the total: 128 + 32 = 160; 160 + 16 = 176; 176 + 4 = 180.

  5. 5

    The denary number is 180.

Recap

  • Computers process all data as binary numbers, which use only 0s and 1s.
  • A 'bit' is a single binary digit (0 or 1).
  • An '8-bit' binary number is called a 'byte'.
  • To convert denary to binary, use the place value subtraction method.
  • To convert binary to denary, add up the place values that have a '1'.

Quick check

  1. What is the largest denary number that can be represented with 4 bits?1 mark
  2. Convert the denary number 12 to a 4-bit binary number.1 mark

3. From Analogue World to Digital Data

The world around us is analogue, meaning data is continuous and has an infinite number of possible values (e.g., the smoothness of a sound wave, the infinite shades in a photograph). Computers, however, are digital and can only handle discrete data (finite values represented by 0s and 1s). To process real-world information, computers must convert analogue data into a digital format. For an image, this process is called sampling. The image is overlaid with a grid, and each square in the grid becomes a pixel (picture element). The colour and brightness of each pixel are measured and assigned a specific binary value. The number of pixels (width x height) determines the image's resolution. The number of bits used to store the colour of each pixel is called the colour depth. A higher colour depth allows for more colours but results in a larger file size.

Image File Size (bits) = Width (pixels) × Height (pixels) × Colour Depth (bits)

Key term

Pixel: Short for 'picture element', it is the smallest addressable unit of a digital image or display.

Examiner insight

Students who explain conversion as a process of 'sampling' at regular intervals and 'quantising' (assigning a binary value) to each sample demonstrate a deeper understanding.

Common pitfall

Confusing resolution with colour depth. Resolution is the density of pixels in an image, while colour depth is the amount of data stored for each individual pixel.

Worked example 13 marks

An image is 100 pixels wide and 50 pixels high. Each pixel uses a 1-bit colour depth (meaning it can only be black or white). Calculate the file size of the image in bits.

  1. 1

    State the formula: File size = Width × Height × Colour Depth.

  2. 2

    Substitute the given values into the formula: File size = 100 pixels × 50 pixels × 1 bit.

  3. 3

    Calculate the result: 5000 bits.

Recap

  • Analogue data is continuous, while digital data is discrete and represented by numbers.
  • To digitise an image, it is divided into a grid of pixels.
  • The colour of each pixel is sampled and assigned a binary code.
  • Image resolution refers to the total number of pixels (Width × Height).
  • Colour depth is the number of bits used to store the colour of each pixel, determining the number of possible colours.

Quick check

  1. What is the term for the process of taking measurements of an analogue signal at regular intervals?1 mark
  2. If an image has a colour depth of 8 bits, how many different colours can each pixel represent?1 mark

4. Making Decisions with Logic Gates

Logic gates are the fundamental building blocks of all digital circuits, including CPUs. They perform a logical operation on one or more binary inputs to produce a single binary output. These operations are based on Boolean logic, which deals with TRUE (represented by 1) and FALSE (represented by 0) values. The three most basic logic gates are AND, OR, and NOT.

  • AND Gate: Outputs 1 only if ALL of its inputs are 1. Think of it as 'this AND that must be true'.
  • OR Gate: Outputs 1 if AT LEAST ONE of its inputs is 1. Think of it as 'this OR that must be true'.
  • NOT Gate: Has only one input and inverts it. A 1 becomes a 0, and a 0 becomes a 1. It is often called an inverter.

The behaviour of a logic gate or circuit is shown in a truth table, which lists all possible input combinations and the corresponding output.

Boolean AND: Q = A . B

Boolean OR: Q = A + B

Boolean NOT: Q = Ā

Key term

Logic Gate: An electronic device that implements a simple Boolean function, acting as a building block for digital circuits.

Examiner insight

Examiners expect students to be able to draw the standard symbols for AND, OR, and NOT gates and complete their corresponding truth tables accurately.

Common pitfall

Confusing the standard symbols for AND and OR gates. A good mnemonic is that the AND gate has a 'D' shape, like the 'D' in 'AND'.

Fun fact

A modern CPU contains billions of transistors that form logic gates, allowing it to perform billions of logical operations per second.

Worked example 14 marks

A car's warning light (Q) should turn on (Q=1) if a passenger is in the seat (P=1) AND their seatbelt is not fastened (S=0). A NOT gate is used to invert the seatbelt sensor input. Draw the logic gate circuit and the truth table for this system.

  1. 1

    Identify the logic: The light is on if P is 1 AND (NOT S) is 1. This requires a NOT gate for input S, followed by an AND gate.

  2. 2

    Draw the circuit: Input P goes into one input of an AND gate. Input S goes into a NOT gate, and the output of the NOT gate goes into the second input of the AND gate. The final output is Q.

  3. 3

    Create the truth table with columns for P, S, NOT S, and Q.

  4. 4

    Fill in the truth table: P=0, S=0 -> NOT S=1 -> Q=0. P=0, S=1 -> NOT S=0 -> Q=0. P=1, S=0 -> NOT S=1 -> Q=1. P=1, S=1 -> NOT S=0 -> Q=0.

Recap

  • Boolean logic deals with TRUE (1) and FALSE (0) values.
  • Logic gates are electronic circuits that perform Boolean operations.
  • An AND gate outputs 1 only if both inputs are 1.
  • An OR gate outputs 1 if at least one input is 1.
  • A NOT gate inverts its single input (1 becomes 0, 0 becomes 1).
  • A truth table shows all possible input combinations and the resulting output for a logic circuit.

Quick check

  1. Draw the standard symbol for an OR gate.1 mark
  2. If an AND gate has inputs A=1 and B=0, what is the output?1 mark

5. What is Artificial Intelligence?

Artificial Intelligence (AI) is a branch of computer science focused on creating machines capable of performing tasks that typically require human intelligence. These tasks include learning from experience, solving problems, understanding human language, and recognizing objects. The core principle of an AI system is a simple cycle: input, processing, and output. The system takes in data from its environment (input), uses complex algorithms to analyze that data and make a decision (processing), and then performs an action or provides information (output). For example, a digital assistant like Siri or Alexa takes your voice command as input, processes the language to understand your request, and provides an answer or performs an action (like playing music) as the output.

Key term

Artificial Intelligence (AI): The simulation of human intelligence in machines that are programmed to learn, reason, and self-correct.

Examiner insight

A good explanation of AI will link the concepts of input, processing, and output to a specific, understandable example like a digital assistant or a game character.

Common pitfall

Describing AI as 'thinking computers' without explaining that it is based on complex algorithms processing data to simulate intelligent behaviour.

Worked example 13 marks

Describe how a smart thermostat uses AI principles to control the heating in a house. Use the terms input, processing, and output in your answer.

  1. 1

    Input: The thermostat collects data from its surroundings. This includes the current room temperature from its internal sensor, whether anyone is home (via motion sensors or phone location), and the user's preferred temperature schedule.

  2. 2

    Processing: The AI algorithm processes this data. It learns the user's habits over time (e.g., when they typically leave for work) and may even access external data like the online weather forecast. It then decides whether to turn the heating on or off to maintain the desired temperature in the most energy-efficient way.

  3. 3

    Output: The thermostat sends an electronic signal to the home's heating system, instructing it to turn on, turn off, or adjust its power level.

Recap

  • AI involves creating computer systems that can perform tasks requiring human-like intelligence.
  • AI systems operate on an input-process-output cycle.
  • Inputs for AI can be data from sensors, images, text, or voice commands.
  • Processing involves using algorithms to analyse the input and make a decision.
  • Output is the action or result produced by the AI system.

Quick check

  1. What is one example of an input for a self-driving car's AI?1 mark
  2. What is one example of an output from a self-driving car's AI?1 mark

6. AI in the Real World

AI is no longer science fiction; it is a technology used in many industries. Two key applications are automation and image recognition. In industry, AI helps automate repetitive or dangerous tasks. For example, in a car factory, AI-controlled robotic arms perform welding and painting with a level of precision and speed humans cannot match. In logistics, robots navigate large warehouses to find, pick, and pack items for shipping, a process guided by AI. Image recognition is a powerful AI capability that allows computers to 'see' and interpret visual information. An AI is 'trained' by being shown millions of labelled images until it can identify objects, people, text, and patterns on its own. This is used in self-driving cars to identify pedestrians and traffic signs, in medicine to detect tumours in X-rays, and on your phone to unlock it with your face.

Key term

Image Recognition: A field of AI that trains computers to identify and understand the content of digital images.

Examiner insight

Examiners look for specific, explained examples of AI applications, not just a list of technologies. For image recognition, explain what is being recognised and why it is useful.

Common pitfall

Simply listing applications without explaining how AI contributes. For example, saying 'AI is used in factories' instead of 'AI controls robots in factories to perform precise welding tasks, improving speed and consistency'.

Fun fact

Some AI image recognition systems are now better than humans at certain tasks, such as classifying breeds of dogs or identifying specific types of cancer cells from medical images.

Worked example 13 marks

Explain how AI-powered image recognition could be used in a supermarket to automate the checkout process.

  1. 1

    Cameras positioned above the checkout counter would capture images of the items a customer places there.

  2. 2

    An AI image recognition system, which has been trained on a massive database of all products sold in the store, would analyse these images to identify each item.

  3. 3

    The system would then automatically add the identified items and their prices to the customer's bill, removing the need for a cashier to manually scan barcodes.

Recap

  • AI is used to automate tasks in manufacturing and logistics, increasing speed and precision.
  • Image recognition is a key AI application that allows computers to 'see' and interpret images.
  • AI for image recognition is trained on large datasets of labelled images.
  • Real-world uses of image recognition include medical scanning, security systems, and self-driving cars.
  • AI helps automate industries by taking over repetitive, complex, or dangerous jobs.

Quick check

  1. Give one example of how AI helps automate tasks in the logistics industry.1 mark
  2. Besides self-driving cars, name one other application that uses image recognition.1 mark

7. Evaluating AI System Design

Evaluating an AI system is a complex process that goes beyond simply checking if it produces an output. A thorough evaluation must consider several key criteria:

  1. Accuracy: How often does the AI make the correct decision? For a medical diagnosis AI, this could be a matter of life and death.
  2. Efficiency: How quickly and with how much computational resource does the AI operate? A self-driving car's AI must be efficient enough to react to hazards in milliseconds.
  3. Bias: Is the AI system fair? Bias occurs when an AI produces prejudiced results because it was trained on skewed or unrepresentative data. For example, a facial recognition system trained mostly on one demographic may perform poorly for others.
  4. Ethics: Does the AI operate in a morally responsible way? This involves complex questions, such as who is at fault if a self-driving car has an accident, or whether it's right for an AI to make hiring decisions. A truly well-designed AI system must be accurate, efficient, unbiased, and ethical.

Key term

AI Bias: Systematic prejudice in the output of an AI system, often caused by biased or incomplete training data.

Examiner insight

When asked to evaluate an AI system, students should consider both its technical performance (accuracy, speed) and its wider societal impacts (bias, ethics).

Common pitfall

Only focusing on whether the AI 'works' in a technical sense, while ignoring crucial evaluation points like bias and ethical implications.

Worked example 14 marks

An AI system is designed to screen job applications and shortlist candidates for an interview. Evaluate this system, considering one potential benefit and one significant risk.

  1. 1

    Potential Benefit (Efficiency): The AI can process thousands of applications in minutes, something that would take a human team days or weeks. This drastically speeds up the hiring process and ensures no application is missed.

  2. 2

    Significant Risk (Bias): The system is at high risk of being biased. If it was trained on data from the company's past hires, and those hires were predominantly from a certain gender or university, the AI might learn to unfairly reject qualified candidates who do not fit this historical pattern.

  3. 3

    Evaluation Point 1: The system offers a major advantage in terms of speed and efficiency for the company.

  4. 4

    Evaluation Point 2: However, the risk of embedding and amplifying historical biases is a major ethical and legal concern, potentially leading to discriminatory hiring practices.

Recap

  • Evaluating an AI system means judging its performance and wider impact.
  • Key evaluation criteria are accuracy, efficiency, bias, and ethics.
  • AI bias occurs when a system produces unfair results due to skewed training data.
  • Ethical considerations involve the moral implications of an AI's actions and decisions.
  • A good AI system is not only technically proficient but also fair and responsible.

Quick check

  1. Why might an AI trained to recognise faces only on pictures of celebrities perform poorly in the real world?2 marks

End-of-chapter exercise

Test yourself on the whole chapter. Work through these before moving on.

  1. State two differences between systems software and application software. Give one clear example of each.4 marks
  2. Convert the denary number 25 into an 8-bit binary number. You must show your working.2 marks
  3. A simple security system for a door uses a pressure sensor (P) and a keypad (K). An alarm (A) should sound if the pressure sensor is activated (P=1) OR the wrong code is entered on the keypad (K=1). Draw the logic gate diagram for this system and complete its truth table.4 marks
  4. Explain how an analogue sound wave is converted into a digital format that a computer can store and play. Use the term 'sampling' in your answer.4 marks
  5. Describe how a ride-sharing app (like Uber or Lyft) uses AI to connect drivers and passengers. Refer to inputs, processing, and outputs in your answer.4 marks
  6. Explain how AI-powered image recognition can be used in agriculture to monitor crop health and improve yields.3 marks
  7. A black and white image is 200 pixels wide and 300 pixels high. A 1-bit colour depth is used. Calculate the size of this image in bytes. (Note: 1 byte = 8 bits). Show your working.3 marks
  8. A logic circuit is constructed as follows: Input A goes into a NOT gate. The output of this NOT gate and a second input, B, are both fed into an AND gate. The final output is Q. Draw the complete logic circuit and derive the truth table for inputs A, B and the final output Q.5 marks
  9. A social media company wants to use an AI to automatically moderate comments and remove 'toxic' content. Evaluate this proposal. In your answer, you should discuss one major advantage and two significant disadvantages or risks, including the concept of AI bias.6 marks
  10. Explain the relationship between hardware (the CPU), systems software (the OS), and binary representation. Describe how a simple instruction, such as 'add two numbers', is handled by this complete system from start to finish.6 marks

Go deeper

Practise and revise with member-only material for this chapter.

Free notes are just the start.

Unlock every Workbook and Chapter at a Glance, and generate your own worksheets and predicted papers.

Explore plans

Related chapters