In deze les zitten 42 slides, met interactieve quizzen, tekstslides en 1 video.
Lesduur is: 60 min
Onderdelen in deze les
Year 10 Computer architecture
Slide 1 - Tekstslide
Log into your student accounts and go to the following website
www.lessonup.app
the code is written on the whiteboard.
Log into your student accounts and go to the following website
www.lessonup.app
the code is written on the whiteboard.
Slide 2 - Tekstslide
What is the MAR?
Slide 3 - Open vraag
What is ROM?
Slide 4 - Open vraag
What are the data types?
Slide 5 - Open vraag
Von Neumann architecture uses the ‘stored program’ concept. What does this mean?
Slide 6 - Open vraag
Learning intension
By the end of this lesson will understand how what affects the CPU performance.
Slide 7 - Tekstslide
RAM – Random Access Memory
Holds data and instructions that are currently in use by the processor.
Located on the motherboard.
Directly accessible by the processor.
All data/instructions are lost once power is turned off.
Slide 8 - Tekstslide
ROM – Read Only Memory
Instructions are permanently etched onto a ROM Chip.
When power is turned off, instructions still remain on the ROM chip.
Bootstrap Loader is held in ROM.
Gives the instructions to start up the Operating System.
Slide 9 - Tekstslide
Why do you think RAM is erased?
Slide 10 - Open vraag
Why do you think companies use ROM?
Slide 11 - Open vraag
Slide 12 - Tekstslide
The Central Processing Unit or CPU is arguably the most important component of a computer
What does it do?
What organ in the human body
is it often compared to?
What are the similarities it has
to this organ?
Slide 13 - Tekstslide
The CPU processes instructions
When you run a program, it is the CPU which runs the instructions.
It is often thought of as being the ‘brains’ of the computer.
The way that a brain works is very different to a CPU.
A CPU simply runs one simple instruction at a time.
It carries out billions of instructions per second.
Slide 14 - Tekstslide
Essentially this means anything to do with a computer process is stored in the same box meaning memory.
The CPU accesses both instructions and data from the
same RAM.
Slide 15 - Tekstslide
The CPU has two major components
The Control Unit
Arithmetic-Logic Unit (ALU).
These connect to the memory unit inside of the CPU chip.
Slide 16 - Tekstslide
Inside the memory unit is registers and cache memory, these are used to carry out instructions.
A register is a very fast memory location in the CPU.
Cache is located on the CPU, it is slower to access than registers but faster than RAM.
Slide 17 - Tekstslide
Slide 18 - Tekstslide
Memory type
Speed
Storage Capacity
Registers
Cache
RAM
Fast
Fastest
Small
Smallest
Large
Very Fast
Slide 19 - Sleepvraag
There are different ‘levels’ of cache:
Level 1 cache is extremely fast but small (between 2-256KB), located on the CPU. Each core will have its own level 1 cache.
Level 2 cache is usually also given to each core. It is very fast, but a little slower than level 1 cache. The typical size is 256KB-8MB.
Level 3 cache is the slowest type of cache, but still faster than RAM. It is usually located on the CPU and stores 4MB-50MB. The cache is shared between all the cores on the processor.
Slide 20 - Tekstslide
The data used most often by the CPU is held in Level 1 cache so is available extremely quickly.
In most systems, Level 1 cache is used about 50% of the time, with Level 2 cache being accessed about 90% of the time.
This greatly reduces the time that the CPU has to wait for data from main memory.
The size of the Level 2 cache is a major factor in determining the performance of the CPU.
Slide 21 - Tekstslide
The ALU or Arithmetic Logic Unit is where the actual arithmetic operations are done.
It also carries out logical operations such as those including AND, OR and NOT.
Slide 22 - Tekstslide
Which of the following is NOT a function performed by the ALU?
A
Fetching instructions from memory
B
Adding two binary numbers together
C
Performing logical AND operations
D
Comparing if one number is greater than another
Slide 23 - Quizvraag
CPU Registers
Program Counter (PC) - holds the address of the next instruction to be executed.
Memory Address Register (MAR) - holds the memory address of the current instruction, and then the data that it uses, so that these can be fetched from memory.
Memory Data Register (MDR) - holds the actual instruction, and then the data that has been fetched from memory.
Accumulator (ACC) - holds the result of an instruction before it is transferred to memory.
Slide 24 - Tekstslide
Used for temporarily storing arithmetic and logic results.
Points to the next instruction that needs to be executed. It is located in the Control Unit
Used for holding the address of the
current instruction to be executed,
and the address of data to be used in instruction
Used for holding the actual instruction or data that is stored in RAM.
MAR
MDR
ACC
PC
Slide 25 - Sleepvraag
Cache
Cores
Clock speed
The three C's
Slide 26 - Tekstslide
Clock speed
Everything in a computer happens on the pulse of
the internal clock
Therefore, the faster the clock speed, the faster the
instructions are processed
Slide 27 - Tekstslide
One cycle per second = 1 hertz (Hz) = 1 instruction carried out each second
1 kilohertz (kHz) = 1000 cycles per second
1 Megahertz (MHz) = 1,000,000 cycles per second
1 Gigahertz (GHz) = 1,000,000,000 cycles per second
Look up the system information of your pc.
How fast is your computer’s processor?
Remember, a 1 GHz processor is performing one billion
cycles per second
Slide 28 - Tekstslide
A dual-core processor has two processors in the same integrated circuit, linked together.
A dual-core processor has the potential to perform two instructions at the same time.
This allows twice as many instructions to be executed, however, it doesn’t always perform at this rate as software may not be able to take full advantage of both cores.
A quad-core processor has four linked processors.
Slide 29 - Tekstslide
Which processor would you prefer, a dual-core 1GHz, or a 3GHz single core processor?
Slide 30 - Open vraag
forms.office.com
Slide 31 - Link
What are the three c's?
Slide 32 - Open vraag
Which is theoretically faster?
A
Dual core 4ghz
B
Quad core 1ghz
C
Single core 8ghz
D
Quad core 3ghz
Slide 33 - Quizvraag
Data is passed between these CPU components using BUSES.
A bus is a set of parallel wires connecting two or more independent components of a computer system in order to pass signals between them.
Slide 34 - Tekstslide
There are 3 buses:
Data bus
Control bus
Address bus
Slide 35 - Tekstslide
Address Bus
Carries addresses from the processor to main memory or other I/O devices.
It is one direction (uni-directional).
The processor generates an address.
All data/instructions are returned on the data bus.
Slide 36 - Tekstslide
Data Bus
Carries data/instructions from main memory to the processor (or from other secondary storage devices) to the processor.
Bi-directional (two way).
Data can be read/written.
Slide 37 - Tekstslide
Control Bus
Control signals are sent along the control bus
For example Memory Read and Memory Write
This instructs which was data will be travelling to/from memory.
Slide 38 - Tekstslide
Overview of the buses
Slide 39 - Tekstslide
I/O Devices
Peripherals are any devices that are not directly connected to the CPU
E.g. mouse, keyboard, printer, hard disk drive, CD-ROM drive.
These devices are known as I/O devices (input/output devices).
They connect using an IO port.
Slide 40 - Tekstslide
Secondary Storage
Used for long term storage of data and instructions: