Programming for GCSE Topic 2.1: Computer Components

17
Programming for GCSE Topic 2.1: Computer Components Teaching London Computing William Marsh School of Electronic Engineering and Computer Science Queen Mary University of London

description

T eaching L ondon C omputing. Programming for GCSE Topic 2.1: Computer Components. William Marsh School of Electronic Engineering and Computer Science Queen Mary University of London. Aims. Overview of computer components Example: Raspberry Pi Theme: the Universal Machine. Computers. - PowerPoint PPT Presentation

Transcript of Programming for GCSE Topic 2.1: Computer Components

Page 1: Programming for GCSE Topic 2.1: Computer Components

Programming for GCSE

Topic 2.1: Computer Components

Teaching London Computing

William MarshSchool of Electronic Engineering and Computer Science

Queen Mary University of London

Page 2: Programming for GCSE Topic 2.1: Computer Components

Aims

• Overview of computer components• Example: Raspberry Pi• Theme: the Universal Machine

Page 3: Programming for GCSE Topic 2.1: Computer Components

Computers• Principal components of a computer

• Processor• Memory• Input and Output

Page 4: Programming for GCSE Topic 2.1: Computer Components

Processor• The part that does the calculation

Page 5: Programming for GCSE Topic 2.1: Computer Components

CPU• Instructions and data read from

memory• Results written to memory Memory

ALU

RegistersInstructionRegister

ControlUnit

Data

Program

Page 6: Programming for GCSE Topic 2.1: Computer Components

Graphics Processing Unit (GPU)• Another computer

• Separate card same chip

• Best for graphics calculations• Games• Frame rate

Page 7: Programming for GCSE Topic 2.1: Computer Components

Memory

• Lots of different types• Volatile versus permanent• Size and performance

Page 8: Programming for GCSE Topic 2.1: Computer Components

Motherboard• Joins everything

together• Standards

• Wires inside

Page 9: Programming for GCSE Topic 2.1: Computer Components

Interface Devices and Cards

• ISA bus Ethernet card

• PCI sound card• Sound blaster live!

Page 10: Programming for GCSE Topic 2.1: Computer Components

RASPBERRY PI• Complete small computer• Similar to a mobile phone

Page 11: Programming for GCSE Topic 2.1: Computer Components

Memory, CPU, GPU

SD Card (under here)

Page 12: Programming for GCSE Topic 2.1: Computer Components

USB sockets

Ethernet controller

Ethernet socket

Power: 5V, 1 A

GPIO

Page 13: Programming for GCSE Topic 2.1: Computer Components

AudioDSI Display I/F

HDMIsocket

Composite video

Camera connector

Page 14: Programming for GCSE Topic 2.1: Computer Components

THEMES

Page 15: Programming for GCSE Topic 2.1: Computer Components

What’s a Computer?

• ‘Do anything’• With a program

• ‘Do nothing’• Without a program

• Embedded computers• Control, toys

Memory

ALU

RegistersInstructionRegister

ControlUnit

Data

Program

Program is data

Page 16: Programming for GCSE Topic 2.1: Computer Components

Computer Layers

• Each layer solves a problem

Logic Gates

CPU RAM

Operating System

Disk, I/O

Binary data Binary code

Processes Files

GUI Shell

Networks

Application

Page 17: Programming for GCSE Topic 2.1: Computer Components

Summary – Computer

• Stored program computer• Processor(s) – CPU and GPU • Memory

• Data and program• Storage• Idea of a universal machine

• Computer + program