IB Computer Science: CPU Architecture
26 Questions
0 Views

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

Which component of the CPU is responsible for performing arithmetic and logical operations?

  • Registers
  • Control Unit
  • Cache Memory
  • Arithmetic Logic Unit (correct)
  • Read-Only Memory (ROM) is a type of memory that allows writing data frequently.

    False

    What is the primary function of the Control Unit (CU) in the CPU?

    To direct the operation of the processor and manage the execution of instructions.

    The ______ stores data temporarily for active processes and is volatile memory.

    <p>RAM</p> Signup and view all the answers

    Match the following terms with their definitions:

    <p>Bit = The smallest unit of data in computing. Byte = A group of 8 bits. Denary/Decimal = Base-10 numbering system. Hexadecimal = Base-16 numbering system.</p> Signup and view all the answers

    What is the function of the Arithmetic Logic Unit (ALU)?

    <p>Performs arithmetical and logical operations</p> Signup and view all the answers

    The control bus carries data from the CPU to RAM.

    <p>False</p> Signup and view all the answers

    What does the data bus link?

    <p>RAM and CPU</p> Signup and view all the answers

    MAR stands for __________.

    <p>Memory Address Register</p> Signup and view all the answers

    Match the following registers with their functions:

    <p>MAR = Stores the address of data to be fetched MDR = Stores data fetched from RAM CU = Controls data flow and executes instruction cycles Accumulator = Holds intermediate results of operations</p> Signup and view all the answers

    Which component of the CPU is responsible for arithmetic and logical operations?

    <p>Arithmetic Logic Unit</p> Signup and view all the answers

    The Control Unit (CU) is responsible for fetching new commands and executing them.

    <p>True</p> Signup and view all the answers

    What does the Program Counter (PC) store?

    <p>The memory address of the next instruction/data to be fetched from RAM.</p> Signup and view all the answers

    The ________ holds the data that will be written to RAM or that was read from RAM.

    <p>Memory Data Register</p> Signup and view all the answers

    Match the following CPU registers with their functions:

    <p>Program Counter = Stores the next instruction address Memory Address Register = Stores the current instruction address Memory Data Register = Holds data to/from RAM Accumulator = Stores intermediate results</p> Signup and view all the answers

    What is the primary role of the Accumulator in the CPU?

    <p>Store intermediate results from calculations</p> Signup and view all the answers

    Dual core technology indicates that a CPU has two Control Units.

    <p>False</p> Signup and view all the answers

    What connects the Program Counter (PC) to the memory?

    <p>The address bus.</p> Signup and view all the answers

    What does CPU stand for?

    <p>Central Processing Unit</p> Signup and view all the answers

    The Control Unit is responsible for performing arithmetic and logic operations.

    <p>False</p> Signup and view all the answers

    What is the function of the Memory Address Register (MAR)?

    <p>The MAR holds the address of the memory location to be accessed.</p> Signup and view all the answers

    The ________ is responsible for fetching data/instructions and executing program instructions.

    <p>CPU</p> Signup and view all the answers

    Match the following components with their functions:

    <p>ALU = Performs arithmetic and logic operations CU = Manages the execution of instructions MDR = Holds data to be written or read from memory Address Bus = Transmits memory addresses to/from the CPU</p> Signup and view all the answers

    Which register holds the data to be read from or written to memory?

    <p>MDR</p> Signup and view all the answers

    A computer system has no storage components.

    <p>False</p> Signup and view all the answers

    What is included in a simplified model of CPU connections?

    <p>Address Bus, Data Bus, Control Bus, ALU, MAR, MDR, Cache, RAM.</p> Signup and view all the answers

    Study Notes

    Computer Organization and Architecture

    • Central Processing Unit (CPU): Core component responsible for fetching, decoding, and executing instructions from main memory (RAM).
    • Arithmetic Logic Unit (ALU): Performs arithmetic (+, -) and logical (AND, OR) operations; essential for calculations and comparisons.
    • Control Unit (CU): Directs CPU's operations by managing instruction sequencing, data flow, and coordinating the ALU's functions.
    • Registers: Small, fast storage locations within the CPU that hold intermediate values; key registers include:
      • Memory Address Register (MAR): Stores the address of the instruction/data to be fetched from RAM.
      • Memory Data Register (MDR): Holds the data being written to or read from RAM.
      • Accumulator: Temporarily stores results of arithmetic or logical operations performed by the ALU.
      • Program Counter (PC): Tracks the address of the next instruction/data to be fetched.

    Memory Types

    • Primary Memory: Includes RAM (volatile storage) and ROM (non-volatile storage).
      • Random Access Memory (RAM): Temporary storage for data and instructions while in use.
      • Read-Only Memory (ROM): Permanent storage that holds essential system instructions.
    • Cache Memory: Fast memory located close to the CPU to speed up data access by storing frequently used data.

    System Architecture

    • Computer System Components: Comprised of hardware and software that perform input, processing, output, and storage functions.
    • Buses: Communication pathways that connect the CPU to other components:
      • Data Bus: Transports actual data to/from RAM and CPU via MDR.
      • Control Bus: Transmits control signals ensuring proper operation between the CPU and other devices.
      • Address Bus: Carries addresses specifying memory locations for data transfer.

    Functionality Overview

    • Machine Instruction Cycle: The process where programs/data are sequentially loaded from storage into RAM and executed by the CPU one instruction at a time.
    • Logic Gates: Basic building blocks in digital circuits that execute Boolean operations (AND, OR, NOT, NAND, NOR, XOR).

    Key Concepts in Binary Representation

    • Bit: A binary digit, the smallest unit of data in computing.
    • Byte: Typically consists of 8 bits; fundamental unit of data storage.
    • Number Systems:
      • Binary: Base 2, used by computers.
      • Denary/Decimal: Base 10, commonly used by humans.
      • Hexadecimal: Base 16, often used in programming and memory addressing.

    Recap of Functions

    • ALU Functions: Executes arithmetic and logical operations; performs complex calculations and data handling.
    • CU Functions: Manages instruction cycles and controls data flow among CPU components.
    • Relationship between MAR and MDR: MAR fetches data from specific memory addresses, while MDR stores the data either fetched from or written to RAM.

    Studying That Suits You

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

    Quiz Team

    Related Documents

    2.1.1 Modified.pdf

    Description

    This quiz focuses on the architecture of the central processing unit (CPU) and evaluates the use of natural resources in computer organization. Perfect for students studying the IB syllabus in Computer Science, it encourages critical thinking about technology and sustainability.

    More Like This

    CPU Architecture Fundamentals
    8 questions
    CPU Architecture: The Fetch-Execute Cycle
    7 questions
    Computer Science CPU Overview
    13 questions
    Use Quizgecko on...
    Browser
    Browser