comp

    Cards (151)

    • CPU
      Carries out the fetch decode execute cycle
    • Fetch decode execute cycle
      1. Fetch the instruction is moved from memory to the CPU
      2. Decode the instruction is understood by the CPU
      3. Execute the instruction is carried out
    • Common CPU components
      • Control unit (CU)
      • Arithmetic logic unit (ALU)
      • Register
      • Cache memory
    • Von Neumann architecture
      Program and data are both loaded into memory, making it easier to change and update programs
    • Components of Von Neumann architecture
      • Control unit
      • Arithmetic logic unit
      • Buses
      • Registers
      • Input/output
    • Registers
      • Program counter (PC)
      • Memory address register (MAR)
      • Memory data register (MDR)
      • Accumulator (ACC)
    • CPU performance factors
      • Clock speed
      • Cache memory
      • Number of cores
    • Embedded system
      Computer system that is part of a larger device and has a single or limited range of functions
    • Characteristics of embedded systems
      • Usually on a single chip
      • Small in size
      • Low power
      • Rugged
      • Low cost
    • Primary storage (main memory)
      Where programs and data are stored for the CPU to access
    • RAM
      Volatile memory used to store programs and data currently in use
    • ROM
      Non-volatile memory used to store hardware settings, BIOS, and boot up instructions
    • Virtual memory
      Part of secondary storage used to supplement main memory when RAM is full
    • Secondary storage
      Non-volatile storage for long-term or permanent storage of programs and data
    • Types of secondary storage
      • Solid state storage (e.g. SSD, SD cards)
      • Magnetic storage (e.g. hard disk drives)
      • Optical storage (e.g. CDs, DVDs, Blu-rays)
    • Factors to consider when choosing storage
      • Capacity
      • Speed
      • Portability
      • Durability
      • Reliability
      • Cost
    • Units of data storage
      • Bit
      • Nibble
      • Byte
      • Kilobyte
      • Megabyte
      • Gigabyte
      • Terabyte
      • Petabyte
    • Converting data to binary
      1. Computers use switches to represent on/off as 1/0
      2. All data and instructions must be converted to binary
    • Calculating text file size
      Bits per character x number of characters
    • Calculating image file size
      Color depth x image height x image width
    • Calculating sound file size
      Sample rate x duration x bit depth x number of channels
    • Converting denary to binary
      Repeatedly subtract largest possible binary value from denary number
    • Converting binary to denary
      Add up the binary place values with 1s
    • Adding binary integers
      1. 0 + 0 = 0
      2. 0 + 1 = 1
      3. 1 + 0 = 1
      4. 1 + 1 = 0, carry 1
    • Overflow errors can occur when adding binary integers that exceed the maximum representable value
    • Adding two binary integers
      1. Start with least significant bits
      2. 0 + 0 = 0
      3. 0 + 1 = 1
      4. 1 + 0 = 1
      5. 1 + 1 = 0, carry 1 to next column
      6. Carry any 1s to next column
    • Cannot just do binary to decimal conversion and then add, must show binary addition process
    • Overflow error occurs when there is a carry out from the most significant bit, which cannot be represented in the 8-bit limit
    • Binary shift
      Moving digits in a binary number left or right
    • Shifting left one place
      Multiplies the number by 2
    • Shifting right one place
      Divides the number by 2
    • Shifting left with most significant bit 1 causes overflow error, shifting right with least significant bit 1 causes loss of precision
    • Converting denary to hexadecimal
      1. Divide by 16, keep whole number and remainder
      2. Whole number is first hex digit, remainder is second hex digit
    • Converting hexadecimal to denary
      1. Multiply hex digits by 16^n where n is position (right to left)
      2. Add results together
    • Converting 8-bit binary to hexadecimal
      1. Split into two 4-bit nibbles
      2. Convert each nibble to its denary value
      3. Convert denary to hexadecimal digit
    • ASCII uses 7 bits to represent characters, extended ASCII uses 8 bits for 256 characters, Unicode uses 16+ bits for thousands of characters
    • Pixel
      Picture element, a block that makes up an image
    • Metadata

      Data about data, information about an image/sound file like color depth, resolution, etc.
    • Color depth
      • Number of bits used to represent each pixel, more bits = more colors
    • Resolution
      • Number of pixels in an image, higher resolution = more pixels = larger file size
    See similar decks