Computer Hardware and I/O Systems

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What is the primary role of the Control Unit within the CPU?

  • To coordinate the activity of memory components (correct)
  • To execute the stored program concept
  • To perform arithmetic operations
  • To hold the CPU’s Instruction Set (correct)

Which operation is NOT one of the major functions performed by a computer?

  • Accepts data and instructions through any means of output (correct)
  • Stores data and instructions
  • Produces results in the form of output
  • Controls all operations inside a computer

What does the Arithmetic and Logic Unit (ALU) primarily perform?

  • Storing data temporarily
  • Executing logical operations and arithmetic calculations (correct)
  • Supervising overall CPU operations
  • Controlling the sequence of instructions

What characteristic is unique to the microprocessor in a computer system?

<p>It is plugged into the motherboard and contains billions of components. (D)</p> Signup and view all the answers

Which component of the CPU is responsible for temporarily holding data during processing?

<p>Registers (D)</p> Signup and view all the answers

What is the primary function of cache memory in a computer system?

<p>To offer fast access to data recently used by the CPU (D)</p> Signup and view all the answers

Which statement accurately describes the structure of computer memory hierarchy?

<p>The hierarchy combines fast expensive memory with slow cheap memory (C)</p> Signup and view all the answers

During the instruction cycle, what is the first operation performed by the CPU?

<p>Fetch the program instruction from memory (B)</p> Signup and view all the answers

What determines the memory capacity specifications in computers?

<p>The combinations of bytes, kilobytes, and gigabytes (C)</p> Signup and view all the answers

What component of computer memory is classified as non-volatile?

<p>Read Only Memory (ROM) (A)</p> Signup and view all the answers

Flashcards

CPU

The central processing unit, the brain of the computer. It executes instructions and processes data.

Microprocessor

A specific type of CPU, often a single chip.

ALU

The Arithmetic Logic Unit; part of the CPU that performs mathematical and logical calculations.

Control Unit

The part of the CPU that manages the flow of instructions and data.

Signup and view all the flashcards

Registers

High-speed memory locations inside the CPU for temporarily holding data and instructions during processing.

Signup and view all the flashcards

Stored Program Concept

The idea that instructions and data are stored in memory before the CPU executes them.

Signup and view all the flashcards

Computer System Hardware Interaction

The way different computer hardware components work together. The CPU, memory and I/O interact to perform the required tasks.

Signup and view all the flashcards

I/O Devices

Input/Output devices are used to communicate with the computer, allowing data input and output.

Signup and view all the flashcards

Memory

Storage area in a computer that holds instructions and data.

Signup and view all the flashcards

Computer Hardware

The physical components of a computer (like the motherboard, CPU, and video card) that can be seen, touched, and are used to create the computer system.

Signup and view all the flashcards

CPU

Central Processing Unit; the brain of a computer that executes instructions.

Signup and view all the flashcards

Instruction Cycle

The process of fetching, decoding, and executing instructions.

Signup and view all the flashcards

Memory Hierarchy

A structured arrangement of different memory types with varying speeds and costs.

Signup and view all the flashcards

Memory Unit

The component that stores data and programs for the CPU.

Signup and view all the flashcards

Main Memory

The primary storage for active programs and data.

Signup and view all the flashcards

Secondary Memory

Non-volatile storage for permanent data and programs.

Signup and view all the flashcards

Memory Capacity

The amount of data a memory unit can hold.

Signup and view all the flashcards

Bit

The smallest unit of data in a computer (0 or 1).

Signup and view all the flashcards

Byte

A group of 8 bits, representing a character or other data.

Signup and view all the flashcards

Cache Memory

High-speed memory that stores frequently accessed data.

Signup and view all the flashcards

Study Notes

Computer Hardware, Memory, and I/O

  • Objectives:
    • Learn computer hardware components
    • Understand CPU, memory, and I/O device relationships
    • Differentiate storage device types and characteristics
    • Identify different input/output devices
  • Computer Operations:
    • Accepts data and instructions via input
    • Stores data and instructions
    • Processes data based on instructions
    • Produces output
    • Controls all computer operations

PC Hardware Interaction

  • Diagram shows the interaction between:
    • Input Unit
    • CPU (Central Processing Unit)
      • Registers
      • Control Unit (CU)
      • Arithmetic Logic Unit (ALU)
    • Output Unit
    • Memory Unit

Computer System Components

  • Diagram shows:
    • Input Devices (e.g., keyboard, mouse, camera)
    • Output Devices (e.g., monitor, printer, speakers)
    • Central Processing Unit (CPU)
    • Main Memory (RAM)
    • Secondary Storage Devices (e.g., hard drive, SSD, CD/DVD)

Central Processing Unit (CPU)

  • CPU (Microprocessor):
    • Brain of the computer
    • Most complex part
    • Example: Six-Core i7 / Eight-Core Xeon E5
    • 2,270,000,000 individual components
    • Plugged into the motherboard
    • Follows the "stored program" concept, data & instructions stored in memory

CPU Components

  • Arithmetic and Logic Unit (ALU):
    • Performs arithmetic and logical operations.
  • Control Unit (CU):
    • Supervises and coordinates processing of data & instructions.
    • List of all possible CPU functions is the "Instruction Set".
  • Registers:
    • High-speed memory inside the CPU, temporarily stores data (processing/control).
    • Examples: Instruction register (IR), Program counter(PC)

Instruction Cycle

  • Programs are broken down into simple commands (primitive operations), for example "Add two numbers".
  • Instruction Cycle:
    • Fetch: CPU gets the instruction from memory.
    • Decode: CPU interprets the instruction.
    • Execute: CPU performs the required operation (e.g., arithmetic).

Memory Hierarchy

  • Modern computers use a combination of memory types, each with its own performance and cost characteristics.
  • CPU is much faster than memory.
  • Memory is organized so the speed does not affect system performance.
    • Uses a limited amount of fast, but expensive memory.
    • Uses a larger amount of slow, but inexpensive memory.

Memory Unit

  • Part of the computer that stores programs and data.
  • Consists of cache memory and primary memory.
  • Main Memory (Primary Memory):
    • Computers main storage area holding data and programs being used by the CPU.
  • Random Access Memory (RAM):
    • Holds programs and data active in the computer.
  • Read Only Memory (ROM):
    • Works with RAM to form primary memory.
  • Secondary Memory:
    • Data & program storage that is permanent, non-volatile.

Memory Capacity (Size)

  • Bits are building block units for digital memory.
  • Memory is measured in bytes (1 byte = 8 bits).
  • Groups of bytes form a word (e.g., 2, 4, or 8 bytes).
  • Memory size measured in:
    • kilobytes (KB)
    • megabytes (MB)
    • gigabytes (GB)
    • terabytes (TB)
  • Byte represents a character (e.g., letter). Megabyte is more than a million characters.

Cache Memory

  • High-speed circuitry for fast data access.
  • Holds recently used data in a small amount of megabytes.
  • Placed between RAM & CPU
  • Volatile (contents lost if power is off)

RAM (Random Access Memory)

  • Operating system & apps load into RAM when started.
  • Volital, meaning data erased when power is off
  • Larger than cache memory
  • Significantly cheaper to produce than cache memory
  • Separate chips

ROM (Read Only Memory)

  • Non-volatile, containing read-only software programmed by the manufacturer.
  • BIOS chip (Basic Input/Output System):
    • Basic program the computer uses to work with the motherboard and operating system.
    • Power-On Self-Test (POST)
      • Checks hardware for proper operation during startup.
  • Bootstrap loader
    • Loads operating system from disk to RAM.

CPU-Memory Interaction

  • Diagram shows flow of data between CPU, RAM, and secondary storage.

Secondary Memory

  • Main memory is expensive and volatile
  • Secondary memory is cheap and non-volatile (stores data when power is off)
  • Access time is slower than main memory.

Magnetic Hard Disk (HDD)

  • Metal platters with magnetic medium, storing data as spots.
  • Disk rotates, spots detected by sensor.
  • Measured in GB or TB.
    • Divided into concentric rings (tracks) and sectors on each ring.
    • Sectors on the same radius form a cylinder.
    • Fragments of files—clusters—are stored in contiguous sectors.

Solid State Drive (SSD)

  • Uses integrated circuits, typically using flash memory.
  • More resistant to physical shock, runs silently, and has faster access times.
  • Stores data in semiconductor cells.

Optical Disk Technologies

  • Written & read by laser beams (not affected by magnetic fields).
  • Slower than HDD.
  • Include CD-ROM, CD-RW,DVD.
  • Examples
    • CD-ROM (read only)
    • CD-RW (rewritable)
    • DVD

Flash Memory

  • Non-volatile computer storage chip that is removable & reusable (via USB).
  • Smaller, lighter, higher capacity (TB).
  • Durable due to lack of internal moving parts.
  • High speed, low energy consumption.

Buses

  • Set of wires for interconnection in a system.
  • System Bus (Internal Bus): Connects components (CPU, memory) on the motherboard.
  • Expansion Bus(External Bus) Connects external components (peripherals),expansion slots, I/O ports and drive connections.
  • Data bus: Transfers data between the CPU and memory.
  • The bus width and speed affect computer speed.

System Bus

  • Consists of three buses: address bus, data bus, and control bus
  • Address Bus: Determines max number of locations computer can access.
  • Data Bus: Transfers data between the CPU and memory.
  • Control Bus: Controls all system functions.

Performance of a Computer

  • Performance measured by factors like:
    • Registers
    • RAM
    • System Clock (measured in Hertz - one clock tick per second)
    • Bus Bandwidth
    • Cache Memory

Motherboard

  • Large printed circuit board that connects all components (processor, memory, electronic devices).

Chipset

  • A series of chips directly attached to the motherboard.
  • Controls the system's functions and capabilities.
  • All components communicate with the processor via the chipset.

CMOS Chip

  • Saves system information (e.g., time, date, settings).
  • Powered by a battery on the motherboard.

Expansion Slots

  • Bus slots or expansion ports for adding video, fax/modem, network cards, memory slots for HD/CD drives to a computer.

Input/Output Devices

  • Peripheral devices: I/O devices attached to the computer.
  • Input Devices: Devices providing data/instructions to the computer.
  • Output Devices: Devices conveying information from the computer.

Input Devices: Scanner

  • Optical Input device that reads paper documents & converts the image into digital format for storage on the computer.
  • Types: Hand-held, flat-bed.

Output Devices: Printer

  • Print quality determined by resolution measured in dots per inch (dpi).
  • Types: Impact (Dot Matrix, Daisy Wheel, Drum) and Non-impact (Laser, Inkjet).

Output Devices: Monitor/Screen

  • Monochrome or color display monitors.
  • Color support varies by adapter (e.g., SVGA).
  • Types: CRT, LCD.
  • Resolution: Number of pixels (dots) which measure clarity & sharpness.

Input/Output Devices: Touch Screen

  • Accepts input when a user touches the screen.
  • Used in ATM, information kiosks, etc.
  • Types: Resistive, capacitive, surface wave.

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

More Like This

Use Quizgecko on...
Browser
Browser