Components of computer system - hardware, peopleware, software
Peopleware refers to the human component of computing systems.
Hardware is the physical components that make up a computer.
Software includes all programs running on a computer system.
Hardware Components: Input, Output, Storage, CPU
Software components: Application software, System software
CPU /Central Processing Unit - controls the operation of the computer and performs its data processing functions
5 major parts of CPU - Arithmetic Logic Unit (ALU), Control Unit (CU), Internal Bus, Processor Registers, CPU Cache
ALU - perform all arithmetic and logic calculation or operation of the CPU
CU - responsible for directing the flow of instruction and data within the CPU
Processor Register - small set of data holding places that are part of the computer processor. Holds data from RAM to be executed by ALU and already processed data before passing to RAM.
CPU Cache - an internal memory used by the CPU to reduce the average time to access data from the main memory.
Internal Bus - bundles of tiny wires that serve as the communication path between 4 components of cpu.
Machine cycle or instruction cycle - basic operation performed by cpu when may pinoprocess (fetch, decode, execute, store)
Computer bootstrapping - aka computer booting. the process of loading a set of instruction when a computer is turned on.
types of computer booting - cold/hard booting, warm/soft booting
cold booting - computer is in complete off state
warm booting - refers to restarting a computer. instructions are loaded already
power supply unit (PSU) - considered heart of computer. supplies electricity
types of PSU - modular (detachable cables), non-modular (fixed cables), semi - modular(some fixed, some detachable)
computer bootstrapping process
Press power button to activate PSU, and PSU will deliver the power to essential components(CPU, RAM, GPU, Secondarystorage)
BasicInput/OutputSystem will activate, and POST will performed
Checking of BootSequence/Bootorder in CMOS RAM(Complementary Metal-Oxide Semiconductor)
BIOS executes the bootstraploader
BIOS loads the basic OS files into RAM. transfer the operation to OS
OS will load devicedrivers, systemservices, start-upprograms
UEFI - Unified Extensible Firmware Interface
BIOS AND UEFI - firmware
firmware - software that is embedded on hardware devices.
Bios - first program that runs while bootin
Bootstrap loader - a program which is tasked to find and load the OS Loader
Modern operating systems are known as being interrupt driven
POST-Power On Self Test. Will check components of computer if working properly
Two types of interrupt - Hardware-triggered interrupts AND Software triggered interrupts
Hardware triggered interrupts - aka interrupts. signal sent to the cpu which commonly is in the form of request or message of i/o completion
Software triggered interrupts - aka traps. is indicative of an abnormal condition sensed by the cpu, which usually means that an error has occurred
example of traps: divisionbyzero, accesstoaninvalid or non-existingmemorylocation, accesstoarestrictedmemorylocation, executionofanundefinedcode, accesstoanon-existingperipheraldevice
I/Otechniques - how cpu sense that theres an event/ signal from i/o devices
Interrupt-driven i/o (Interrupt-based) - additional component: interrupt controller that will sensed if there is a signal/interrupt received fron the i/o devices
Direct Memory Access(DMA) - no involvement of CPU. Direct memory access controller does the minimal tasks
CMOS RAM(Complementary Metal-Oxide Semiconductor)
Machine cycle or instruction cycle - fetch, decode, execute, store
system software - responsible for controlling, integrating, and managing the individual hardware components of computer system. Classification: device drivers, utility software, operating system