1/54
Looks like no tags are added yet.
Software Metropolis Metaphor
Hardware is the physical bedrock; System Software is the infrastructure/City Council managing hardware; Application Software is the venues where users perform tasks.
System Software
Software that controls and manages computer hardware, runs in the background, and provides a platform for application software.
Application Software
Software designed for end-users to perform specific tasks, such as word processing, web browsing, or playing games.
Utility Programs
System software that maintains, optimizes, or secures the computer system (e.g., antivirus software, disk defragmenters, file compression tools).
Disk Defragmenter
Utility software that reorganizes fragmented file blocks on a Hard Disk Drive (HDD) into contiguous sectors to minimize read/write head movement and speed up access.
Antivirus Scanner
Utility software that scans files against known virus signatures and uses heuristic checks to detect, quarantine, or remove malicious code.
Device Driver
System software that translates generalized Operating System commands into device-specific binary instructions for hardware peripherals.
Operating System (OS)
Essential background system software that manages computer hardware, hides hardware complexity, and provides a user-friendly environment.
OS Department: User Interface (HCI)
The tour guide of the OS; allows human users to interact and communicate with the computer hardware.
OS Department: Memory Management
The land zoning board; allocates RAM blocks to running programs and tracks memory locations to prevent data overwriting.
OS Department: Hardware Management
The dispatch centre; uses device drivers to control external peripheral devices like printers.
OS Department: File Management
The city library; manages directory structures, file naming conventions, and file access permissions.
OS Department: Multitasking
The traffic controller; manages CPU time allocation so multiple applications can execute concurrently.
OS Department: Security Management
The police force; manages user accounts, passwords, data privacy, and access rights.
Graphical User Interface (GUI)
A visual user interface using WIMP (Windows, Icons, Menus, Pointers) or post-WIMP touch inputs. Very user-friendly but resource-intensive.
Command Line Interface (CLI)
A text-based user interface where users type exact commands. Highly memory-efficient and fast, but requires memorizing syntax.
Boot Process Step 1 (The Spark)
Power is turned on, and the microprocessor accesses the BIOS (Basic Input/Output System).
Boot Process Step 2 (Firmware Check)
The BIOS, stored on a non-volatile EEPROM chip, executes initial system start-up instructions.
Boot Process Step 3 (Reading Settings)
The BIOS reads user hardware settings (like system time) from the CMOS chip, powered by a motherboard battery.
Boot Process Step 4 (Loading the OS)
The BIOS locates the Operating System on secondary storage and loads its essential core into RAM.
Application Execution Sequence
Interrupt
A critical signal sent to the CPU that temporarily halts its current task to service an urgent request, enabling multitasking and responsiveness.
Hardware Interrupt
An interrupt generated by a physical hardware device needing immediate CPU service (e.g., printer paper jam, disk buffer empty, key combo pressed).
Software Interrupt
An interrupt generated by a running program encountering an error or emergency (e.g., division by zero, missing file, illegal memory access).
Interrupt Service Routine (ISR)
A dedicated software subroutine executed by the CPU to process and handle a specific interrupt request.
Interrupt Handling Sequence
Interrupt Priority Levels
A mechanism where the CPU evaluates the urgency of incoming interrupts to decide whether to pause the current execution or queue the request.
Buffer
A temporary memory region used to hold data and compensate for speed differences between fast CPU processing and slow external peripherals (e.g., printers).
High-Level Language (HLL)
A problem-oriented, portable programming language close to English/math that is easy for humans to read, write, and debug (e.g., Python, Java).
Low-Level Language (LLL)
A hardware-oriented, machine-dependent programming language tied to a specific CPU architecture (e.g., Assembly Language, Machine Code).
Assembly Language
A low-level language that uses short mnemonic codes (e.g., LDA, ADD, STO) to represent hardware instructions.
Machine Code
The ultimate low-level language consisting of raw binary patterns (1s and 0s) directly executable by CPU logic gates.
Assembly Mnemonics: LDA / ADD / STO
LDA = Load value into accumulator; ADD = Add value to accumulator; STO = Store value from accumulator to memory.
Translator
A system utility program that converts human-readable source code into machine-readable object code / binary.
Assembler
A translator utility that converts Assembly Language source code into Machine Code.
Compiler
A translator that converts an entire HLL program into machine code at once, producing a standalone executable file (.exe).
Interpreter
A translator that reads, translates, and executes HLL code line-by-line, stopping execution immediately when an error is found.
Compiler vs. Interpreter Execution Speed
Compiled programs execute much faster because they run directly as pure machine code without concurrent translation.
Compiler vs. Interpreter Debugging
Interpreters make debugging easier because they halt immediately at the exact line containing an error. Compilers report all errors only at the end.
Integrated Development Environment (IDE)
A single software suite providing tools (editor, debugger, translator, diagnostics) required to write, test, and run code.
IDE Feature: Prettyprinting
Syntax highlighting that color-codes keywords, strings, variables, and functions to make code easier to read and debug.
IDE Feature: Debugger
A tool that allows developers to set breakpoints to pause execution and single-step through code to inspect variable values.
IDE Feature: Error Diagnostics
Dynamic background checking that flags syntax errors in real-time as code is typed and offers auto-corrections.
IDE Feature: Auto-Documenter
A utility that explains built-in commands and automatically generates documentation based on code comments.
True/False: An assembler translates a high-level language program.
False. An assembler translates Assembly Language (a low-level language) into machine code.
True/False: It is more difficult to write a program in a low-level language.
True. LLLs require managing memory and hardware details manually.
True/False: Java is an assembly language.
False. Java is a High-Level Language.
True/False: It is quicker to develop a program using a high-level language.
True. HLLs use human-readable syntax and built-in functions.
True/False: You always need a compiler to run a compiled program.
False. Compilers produce independent executable files that run without the compiler.
True/False: A program that is interpreted takes a longer time to run than a compiled program.
True. Interpreters translate code on the fly during execution.
True/False: Low-level languages are machine dependent.
True. LLLs are written for specific CPU hardware architectures.
Why choose Assembly Language over a High-Level Language?
When code requires minimal memory space, maximum execution speed, or direct control over specialized hardware (e.g., embedded systems).
Which translator is best for active software development and debugging?
Interpreter, because it halts instantly on errors and allows quick testing without compiling.
Which translator is best for commercial application distribution?
Compiler, because it creates a fast executable file and protects the original source code from being copied.