









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










1.1 Understanding of Artificial and Natural Systems 1.2 Computational Architecture 1.3 Memory Management Unit (MMU) 1.4 Software and Hardware Engineers 1.5 Computer Software 1.6 Programming Languages
Complete Notes for Better Grades
1.1 Understanding of Artificial and Natural Systems
Distinguishing between man-made and naturally occurring systems
What is a System?
A system is a collection of interrelated components that work together to achieve a common purpose or goal. Every system has inputs, processes, and outputs. Systems can be classified into two broad categories: Natural Systems and Artificial Systems.
Natural Systems
Natural systems are systems that exist in nature without human intervention. They are self-regulating, self-organizing, and have evolved over time through natural processes.
Key Examples of Natural Systems:
Artificial Systems
Artificial systems are man-made systems designed and created by humans to solve specific problems, meet needs, or achieve particular goals. They require human intervention to function and maintain.
Key Examples of Artificial Systems:
Comparison: Natural vs Artificial Systems
Aspect Natural System Artificial System
1.2 Computational Architecture
Structure and organization of computer systems
What is Computational Architecture?
Computational Architecture (or Computer Architecture) refers to the design and organization of a computer system's hardware components and how they interact to execute instructions and process data. It defines the capabilities and programming model of a computer.
Key Definition: Computer Architecture = Instruction Set Architecture (ISA) + Microarchitecture + System Design
It is the blueprint that determines how a computer operates and performs tasks.
Von Neumann Architecture
The Von Neumann Architecture is the foundational design model for most modern computers. Proposed by John von Neumann in 1945, it describes a stored-program computer where instructions and data are stored in the same memory.
Key Components of Computer Architecture
The CPU is the brain of the computer. It fetches, decodes, and executes instructions. It consists of three main parts:
Primary memory stores data and instructions that the CPU needs immediately. It is volatile (loses data when power is off).
Permanent storage for data and programs. It is non-volatile.
Devices that allow the computer to communicate with the outside world.
Types of Computer Architecture
Architecture Type Description Use Case
Von Neumann Single bus for data and instructions General-purpose computers
Harvard Separate buses for data and instructions Embedded systems, DSPs
RISC Reduced Instruction Set, simple instructions Mobile devices, ARM processors
CISC Complex Instruction Set, powerful instructions Desktop PCs, Intel/AMD
Parallel Multiple processors working together Supercomputers, servers
Exam Tip: Remember the FDE Cycle: Fetch -> Decode -> Execute. This is how the CPU processes every instruction. The Control Unit manages this cycle.
Feature With MMU Without MMU
Memory Protection Yes - programs are isolated No - programs can crash each other
Virtual Memory Supported Not supported
Multitasking Safe and efficient Risky and limited
Address Space Each program has its own All programs share same space
System Stability High - errors are contained Low - one crash affects all
Paging vs Segmentation
Aspect Paging Segmentation
Unit Size Fixed-size blocks (pages) Variable-size blocks (segments)
User Awareness Invisible to user/programmer Visible to user/programmer
Internal Fragmentation May occur Does not occur
External Fragmentation Does not occur May occur
Table Used Page Table Segment Table
Exam Tip: MMU = Memory Management UNIT. It is HARDWARE, not software. The Operating System works WITH the MMU but does not replace it. Remember: Virtual Address -> MMU -> Physical Address.
1.4 Software and Hardware Engineers
Roles, responsibilities, and differences
Who is a Hardware Engineer?
A Hardware Engineer (or Computer Hardware Engineer) designs, develops, and tests physical computer components such as processors, circuit boards, memory devices, networks, and routers. They work with the tangible parts of a computer system.
Key Responsibilities of Hardware Engineers:
Skills Required for Hardware Engineers
Who is a Software Engineer?
A Software Engineer designs, develops, tests, and maintains software applications and systems. They write code to create programs that run on computer hardware. Software engineers solve problems through programming.
Key Responsibilities of Software Engineers:
Skills Required for Software Engineers
Comparison: Hardware vs Software Engineer
1.5 Computer Software
Types, functions, and categories of software
What is Software?
Software is a set of instructions, data, or programs that tell a computer how to perform specific tasks. Unlike hardware, software is intangible - you cannot touch it, but you can use it. Software is stored on hardware media (hard drives, SSDs) but exists as digital code.
Key Definition: Software = Programs + Data + Documentation
Programs: Instructions that tell the computer what to do Data: Information processed by the program Documentation: Manuals and guides for using the software
Categories of Software
Software is broadly classified into two main categories:
System software manages computer hardware and provides a platform for running application software. It acts as an interface between the user, application software, and hardware.
Application software performs specific tasks for users. It runs on top of system software and is designed for end-users.
Aspect System Software Application Software
Purpose Manage hardware and system resources Perform specific user tasks
User Interaction Runs in background Directly used by users
Dependency Independent - runs on hardware directly Depends on system software
Examples Windows, Linux, Drivers MS Word, Chrome, Games
Installation Usually pre-installed Installed by user as needed
Number Few system software per computer Many applications possible
Types of Application Software
Firmware
Firmware is a special type of software that is permanently stored on hardware devices (in ROM/Flash memory). It provides low-level control for the device's specific hardware.
Exam Tip: Remember the hierarchy: HARDWARE -> SYSTEM SOFTWARE -> APPLICATION SOFTWARE -> USER. System software is the bridge between hardware and applications. Without an OS, you cannot run MS Word or any other application!
Types of High-Level Languages
Language Translators
Since computers only understand machine code (binary), high-level and assembly languages must be translated. Three types of translators exist:
Assembler:
Translates Assembly Language to Machine Code. One assembly instruction = one machine instruction.
Compiler:
Translates entire High-Level program to Machine Code at once. Creates an executable file. Examples: C, C++, Java compiler.
Interpreter: Translates and executes High-Level program line by line. No executable file created. Examples: Python, JavaScript interpreter.
Aspect Compiler Interpreter
Translation Entire program at once Line by line
Speed Faster execution (after compilation) Slower execution
Error Detection Shows all errors after compilation Stops at first error
Output Creates executable file No executable file
Memory Uses more memory Uses less memory
Examples C, C++, Java Python, JavaScript, Ruby
Exam Tip: Remember: Machine Language is the ONLY language a CPU understands directly. All other languages must be translated. Low-Level = fast but hard. High-Level = easy but slower. Compiler = all at once. Interpreter = line by line.
Quick Revision Summary
Key points to remember for the exam
Topic 1.1: Natural vs Artificial Systems
Topic 1.2: Computational Architecture
Topic 1.3: Memory Management Unit (MMU)
Topic 1.4: Software vs Hardware Engineers
Topic 1.5: Computer Software
Topic 1.6: Programming Languages