Computer Science
Grade 9
20 min
What is a Computer?
What is a Computer?
Tutorial Preview
1
Introduction & Learning Objectives
Learning Objectives
Explain the components and principles of the Von Neumann architecture.
Trace a simple instruction through the Fetch-Decode-Execute cycle.
Differentiate between high-level programming languages and low-level machine code.
Describe the role of the Operating System as a resource manager and abstraction layer.
Define the concept of abstraction in the context of computer systems.
Distinguish between volatile (RAM) and non-volatile (Storage) memory.
Ever wonder how your computer runs your Python code, a video game, and a web browser all at once without getting confused? 🤔 Let's look under the hood!
We've learned the basics of what a computer does, but now we'll explore the core architectural principles that make modern computing possible. This...
2
Key Concepts & Vocabulary
TermDefinitionExample
Von Neumann ArchitectureA computer design model where both program instructions and the data they use are stored in the same memory (RAM). This allows the computer to treat instructions just like data, which is a foundational concept of modern computing.When you open a program like a word processor, both the program's code (instructions) and the document you're typing (data) are loaded into your computer's RAM to be accessed by the CPU.
CPU (Central Processing Unit)The 'brain' of the computer that performs calculations, executes instructions, and processes data. It's responsible for running the operating system and all applications.When you click 'save', the CPU executes the instructions to take the data from RAM and write it t...
3
Core Syntax & Patterns
The Stored-Program Concept
Instructions (the program) and data are stored together in the same memory location (RAM).
This is the core principle of the Von Neumann architecture. It means a program can be easily changed by just loading a new set of instructions and data into memory. It also means a program can manipulate its own instructions, which is a powerful, advanced concept.
The Fetch-Decode-Execute Cycle Pattern
1. Fetch -> 2. Decode -> 3. Execute -> (Repeat)
This is the three-step loop that the CPU continuously performs to run a program. It fetches the next instruction from RAM, the Control Unit decodes it, and the appropriate part of the CPU (like the ALU) executes it. This cycle is the heartbeat of the computer.
4 more steps in this tutorial
Sign up free to access the complete tutorial with worked examples and practice.
Sign Up Free to ContinueSample Practice Questions
Challenging
A computer virus is a type of program that can modify other programs on the computer. Which fundamental principle of the Von Neumann architecture makes the existence of such malicious software possible?
A.The use of a Fetch-Decode-Execute cycle.
B.The separation of volatile and non-volatile memory.
C.The requirement of an Operating System.
D.The storing of program instructions and data in the same memory.
Challenging
A program requests 100MB of memory. The OS denies the request, causing the program to crash, even though the system monitor shows 200MB of free RAM. What is the most likely reason for the OS's denial, acting as a resource manager?
A.The OS is protecting the remaining RAM for its own critical processes and to keep the system stable.
B.The program is written in a high-level language that the OS does not trust.
C.The CPU was in the middle of an 'Execute' cycle and could not be interrupted.
D.The free RAM is non-volatile and cannot be allocated to programs.
Challenging
A high-level program to process an image is run on two different CPUs with the same clock speed. CPU A's machine code has a single instruction `IMAGE_ROTATE` while CPU B must use 50 simpler instructions (add, move, etc.) to do the same rotation. What is the likely outcome?
A.Both CPUs will perform identically because their clock speed is the same.
B.CPU B will be faster because its instructions are simpler.
C.CPU A will likely be much faster because it completes the complex task in fewer Fetch-Decode-Execute cycles.
D.The performance depends only on the amount of RAM, not the CPU instructions.
Want to practice and check your answers?
Sign up to access all questions with instant feedback, explanations, and progress tracking.
Start Practicing Free