Computer Systems Flashcards
What is hardware?
The physical components of a computer system, such as the cpu, SSD or keyboard.
What is software?
Any set of instructions that tell the hardware what to do.
What’s the difference between system software and application software?
System software: manages hardware resources so users don’t have to write their own programs.
Application software: enables users to use apps and a variety of tasks.
What are the roles of the operating system?
Manages hardware resources.
Provides user interface
Handles file management and multitasking
Explain the von Neumann architecture
Consists of CPU, memory, input/output devices and control unit.
Programs stored in system memory,p and the. Fetched and executed sequentially.
Describe the roles of ALU, control unit, clock, registers, and bus within a CPU.
ALU: Performs arithmetic and logic operations.
Control Unit: Coordinates CPU activities.
Clock: Synchronizes tasks.
Registers: Fast storage.
Bus: Connects components.
What factors affect CPU performance?
Clock speed (GHz).
Cache size.
Number of cores.
Instruction set architecture
Explain fetch execute cycle:
Fetch: program counter holds memory address of next instruction and the CPU sends this to the memory via the address bus. It’s then retrieved and placed in current instruction register.
Decode: CPU exams instruction in CIR and decides the operation to be performed (add, subtract…..)
Execute: CPU carries out operation and results are stored in the Accumulator. The cycle then repeats for the next instruction.
Random access memory and read only firmware differences:
Ram is volatile memory you can work on whilst Rom is non volatile firmware you can only view.
What is secondary storage and why is it needed?
Secondary storage (e.g., hard drives, SSDs) stores data long-term.
Needed because RAM is volatile (loses data when powered off) and stores data permanently somewhere else.
Describe optical, magnetic, and solid-state secondary storage
Optical: CDs, DVDs (uses laser to) read/write). Lands and pits.
Magnetic: Hard drives (uses magnetic disks).
Solid State: SSDs (no moving parts, faster).
What’s cloud storage?
Remote data storage accessible by internet
What are cloud storage’s advantages and disadvantages?
Advantages: Accessibility, scalability, backup.
Disadvantages: Security, reliance on internet.
What’s an embedded system?
Small computes within devices with limited and specific functions.
What are the different types of programming languages?
High-Level Languages: These languages allow programmers to write instructions in a language that is easier to understand than low-level languages. Examples include C, C++, Java, and Python.
Low-Level Languages: Low-level languages provide less abstraction from the hardware. They interact directly with the computer’s registers and memory. Examples include assembly language and machine code.