
![[igCS] Computer Architecture Revision](https://cf.quizizz.com/img/presentation/default-img/presentation_title_img-1_default.jpg?w=200&h=200)
[igCS] Computer Architecture Revision
Presentation
•
Computers
•
9th - 10th Grade
•
Practice Problem
•
Medium
Andy tsui
Used 8+ times
FREE Resource
20 Slides • 8 Questions
1
[igCS] Computer Architecture Revision

2
Topics Covered
Von Neuman's Architecture
CPU Architecture
Fetch-Decode-Execute Cycle
High and Low Level Languages
3
Early Computers
Difference Engine - Charles Babbage
https://www.youtube.com/watch?v=BlbQsKpq3Ak
Machine is purposely built, only able to perform certain tasks
4
Open Ended
The picture showing a "Game and Watch" machine which is some of the earliest game console made by Nintendo. What is the problem if a machine is built to perform one specific task?
5
General purpose computer
ENIAC - First general purpose computer
https://www.youtube.com/watch?v=bGk9W65vXNA
Allows reprogram (through hardware) the computer for different tasks
6
Von Neumann architecture
Stored-program computer - not only data is stored in memory, but also instructions
Modern computer stores instructions as well as data in RAM
7
Open Ended
Suggest and explain one major benefit of Von Neuman Architecture compare to those early computer systems.
8
Core of Modern Computer System
CPU
Memory (mainly refer to primary storage)
Input and Output devices
9
Parts in CPU
Control Unit - Control flow of data and different parts of CPU
Arithmetic Logic Unit (ALU) - Carries out calculation and logic
Registers - Internal, temporary storage used within CPU
Buses - connects parts in CPU and outside CPU for data exchange
10
Bus
Bus is a connection type where a central communication channel is connected to multiple nodes (like bus stops)
Control bus - Carries control instructions
Address bus - Carries information about address of, e.g. RAM
Data bus - Transmits Data retrieved / write to addresses
11
Registers
PC - Program Counter, store the memory address of NEXT instructions
CIR - Current Instruction Register
ACC - Accumulator stores the result of logic and calculation
ACC also refers as an example of "General Purpose Register" where programmers can access to
12
Fetch-Decode-Execute Cycle
Processor Fetch one instruction by one
Decode the instruction
Execute the instruction
Repeat the cycle
13
Open Ended
Use textbook p.49 to help, write down the correct sequence.
14
Overview of some programming language levels
15
Machine Code
Machine code is the instruction provided directly to CPU (more specificly, Control Unit)
Usually represented in Binary numbers
Note: CPU can only understand machine code thus all languages need to be "translated" into this
16
Assembly Languages
Often refer as Low level language
Contains mnemonic code that is machine dependent (i.e. your code can only work with specific machine)
Assembler is needed to translate assembly into machine code
17
Machine code (Left) vs Assembly (right)
18
Open Ended
Low level language looks so complicated and not intuitive to program. Why do some people still need to use them?
19
Why low level?
Program specifics to platform, e.g. writing device drivers
Performance - programmer can highly optimize code in assembly
20
Higher level languages
The higher level of the language, the less dependent on specific machine
High level languages has two types of translators:
Compilers
Interpreters
21
Multiple Select
Check all the high level languages
Assembly
Java
C
Python
SQL (Structural query language)
22
Open Ended
Explain 2 benefits of programming in high level compare to low level.
23
Higher level language compare to low
Easier to understand, since it is closer to human language, so that:
Development takes less time
Easier to debug and trace problems
Code is more manageable and allows developing more complex program
24
Compiler
C, C++ are example of compiled language
The code is compiled into machine code in one go
Results in an executable file (e.g. exe), after that, compiler is no longer needed to run
If there's error in compilation, a summary of all errors will be displayed to the programmer
25
26
Interpreter
Example include Python, Javascript
Code is translated, executed one line by one
The interpreter is always required to run the program
When error is found, the interpreter is
27
Multiple Choice
Which of the following is NOT true?
Interpreter is required to run a program
Compiler is needed only when compiling a program
A summary of syntax error can be shown after compiling
A summary of logical error can be shown after compiling
28
Multiple Select
Check all the True statements:
Low level language are easier for human to understand
Machine code can be understand by computer natively
Assembly languages need to be translated before computer can understand
High level languages need to be translated before computer can understand
[igCS] Computer Architecture Revision

Show answer
Auto Play
Slide 1 / 28
SLIDE
Similar Resources on Wayground
20 questions
Online Essentials - Revision Lesson 1
Presentation
•
10th Grade
21 questions
Functions
Presentation
•
9th - 10th Grade
22 questions
Mendelian Genetics
Presentation
•
9th Grade
21 questions
Module 1 Lesson 2C - Parts of Windows Desktop
Presentation
•
9th Grade
22 questions
Direct and Indirect Speech
Presentation
•
9th - 10th Grade
20 questions
G9 Chap 2.2 - Flow of Energy in an Ecosystem
Presentation
•
9th Grade
20 questions
Digital Ethics
Presentation
•
9th Grade
22 questions
Rock-paper-scissors (microbit)
Presentation
•
9th Grade
Popular Resources on Wayground
6 questions
Secondary Safety Quiz
Presentation
•
9th - 12th Grade
10 questions
MyPath Diagnostic Overview
Presentation
•
6th - 8th Grade
20 questions
Lab Safety Quiz
Quiz
•
6th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
20 questions
Adding and Subtracting Decimals
Quiz
•
5th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade
21 questions
Lab Safety
Quiz
•
10th Grade
Discover more resources for Computers
20 questions
Early Computing
Quiz
•
7th - 12th Grade
20 questions
Module 1 Topic 1 Vocabulary
Quiz
•
9th - 12th Grade
10 questions
Exploring Computer Hardware and Software Components
Interactive video
•
6th - 10th Grade
14 questions
Introduction to Digital Citizenship
Quiz
•
9th Grade
39 questions
Safety Review
Quiz
•
9th - 12th Grade
20 questions
Digital Citizenship
Quiz
•
8th - 12th Grade
25 questions
OSHA and Lab Safety
Quiz
•
9th Grade
22 questions
Electronic Computing
Quiz
•
8th - 12th Grade