Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.
You're offline
Unit 3 MCQsProcessing Data
DECAP145 ·
60 questions. Pick an option to check it.
Question 1 of 60 · Transforming data into information · Easy
What is the term for raw, unprocessed facts and figures?
Not quite. Try another option.
Answer: Data
Data refers to raw, unorganized facts and figures that have not yet been processed into a meaningful form.
Question 2 of 60 · Transforming data into information · Easy
When data is processed and organized into a meaningful form, it becomes:
Not quite. Try another option.
Answer: Information
Information is data that has been processed, organized, and given context so it becomes meaningful and useful.
Question 3 of 60 · How computers represent data · Easy
Which number system do computers use to represent data internally?
Not quite. Try another option.
Answer: Binary
Computers represent all data internally using the binary number system, which uses only the digits and .
Question 4 of 60 · How computers represent data · Easy
What is the smallest unit of data in a computer?
Not quite. Try another option.
Answer: Bit
A bit (binary digit) is the smallest unit of data and can hold a value of either or .
Question 5 of 60 · How computers represent data · Easy
How many bits make up one byte?
Not quite. Try another option.
Answer: 8
One byte consists of bits, which is enough to represent a single character such as a letter or number.
Question 6 of 60 · How computers represent data · Easy
Which coding standard is commonly used to represent characters using numbers?
Not quite. Try another option.
Answer: ASCII
ASCII (American Standard Code for Information Interchange) is a common standard for representing text characters as numeric codes.
Question 7 of 60 · How computers process data · Easy
Which component is often called the "brain" of the computer?
Not quite. Try another option.
Answer: CPU
The CPU (Central Processing Unit) processes instructions and performs calculations, earning it the nickname the brain of the computer.
Question 8 of 60 · How computers process data · Easy
Which part of the CPU performs arithmetic and logical operations?
Not quite. Try another option.
Answer: ALU
The Arithmetic Logic Unit (ALU) carries out all arithmetic calculations and logical comparisons in the CPU.
Question 9 of 60 · How computers process data · Easy
Which part of the CPU directs and coordinates the operations of the computer?
Not quite. Try another option.
Answer: Control Unit
The Control Unit manages and coordinates the activities of the CPU by directing the flow of data and instructions.
Question 10 of 60 · Machine cycles · Easy
How many main steps are in a basic machine cycle?
Not quite. Try another option.
Answer: 4
A machine cycle has four steps: fetch, decode, execute, and store.
Question 11 of 60 · Machine cycles · Easy
Which step of the machine cycle retrieves an instruction from memory?
Not quite. Try another option.
Answer: Fetch
During the fetch step, the CPU retrieves the next instruction from memory to be processed.
Question 12 of 60 · Machine cycles · Easy
In the machine cycle, which step actually carries out the instruction?
Not quite. Try another option.
Answer: Execute
The execute step is where the CPU performs the operation specified by the decoded instruction.
Question 13 of 60 · Memory · Easy
Which type of memory loses its contents when the computer is turned off?
Not quite. Try another option.
Answer: RAM
RAM is volatile memory, meaning it loses all stored data when the power is turned off.
Question 14 of 60 · Memory · Easy
What does the abbreviation RAM stand for?
Not quite. Try another option.
Answer: Random Access Memory
RAM stands for Random Access Memory, the main memory used to temporarily hold data and programs in use.
Question 15 of 60 · Memory · Easy
Which type of memory is non-volatile and typically stores startup instructions?
Not quite. Try another option.
Answer: ROM
ROM (Read Only Memory) is non-volatile and retains its contents, often storing instructions needed to start the computer.
Question 16 of 60 · Registers · Easy
Where are registers located in a computer?
Not quite. Try another option.
Answer: Inside the CPU
Registers are small, high-speed storage locations located inside the CPU itself.
Question 17 of 60 · Registers · Easy
Compared to RAM, registers are:
Not quite. Try another option.
Answer: Faster and smaller
Registers are the fastest storage in a computer but hold very small amounts of data compared to RAM.
Question 18 of 60 · The Bus · Easy
What is the main function of a bus in a computer?
Not quite. Try another option.
Answer: To transfer data between components
A bus is a set of pathways that transfers data and signals between the various components of a computer.
Question 19 of 60 · The Bus · Easy
Which type of bus carries the actual data being transferred?
Not quite. Try another option.
Answer: Data bus
The data bus carries the actual data being moved between the CPU, memory, and other components.
Question 20 of 60 · Cache Memory · Easy
What is the main purpose of cache memory?
Not quite. Try another option.
Answer: To speed up access to frequently used data
Cache memory stores frequently used data and instructions close to the CPU so they can be accessed more quickly than from RAM.
Question 21 of 60 · Transforming data into information · Medium
A retail store records every individual sale throughout the day. At closing, the manager runs a report showing total revenue, best-selling item, and average transaction value. Which statement best describes what happened in this scenario?
Not quite. Try another option.
Answer: Raw data was processed into information
The individual sales records are raw data. Summarizing and organizing them into meaningful totals and averages produces information that supports decisions.
Question 22 of 60 · How computers represent data · Medium
How many distinct values can be represented using a group of 6 bits?
Not quite. Try another option.
Answer:
Each bit has 2 possible states, so bits represent combinations. For 6 bits that is .
Question 23 of 60 · How computers represent data · Medium
A file is described as being 2 KB in size. Approximately how many bits does this represent (using bytes)?
Not quite. Try another option.
Answer: bits
bytes. Each byte is 8 bits, so bits.
Question 24 of 60 · How computers represent data · Medium
A system uses a character encoding scheme that reserves 8 bits per character. What is the maximum number of unique characters this scheme can encode?
Not quite. Try another option.
Answer: 256
With 8 bits, there are possible bit patterns, so up to 256 unique characters can be represented (this is the basis of extended ASCII).
Question 25 of 60 · How computers process data · Medium
Which component of the CPU is responsible for performing arithmetic operations such as addition and logical comparisons?
Not quite. Try another option.
Answer: The Arithmetic Logic Unit (ALU)
The ALU carries out arithmetic (add, subtract) and logic (AND, OR, compare) operations. The control unit only directs and coordinates these actions.
Question 26 of 60 · How computers process data · Medium
What is the primary role of the Control Unit (CU) within the CPU?
Not quite. Try another option.
Answer: Directing and coordinating operations by fetching and decoding instructions
The control unit manages the flow of instructions and data, decoding instructions and signaling other components to execute them. It does not perform the calculations itself.
Question 27 of 60 · Machine cycles · Medium
In the correct order, what are the four steps of a standard machine (instruction) cycle?
Not quite. Try another option.
Answer: Fetch, Decode, Execute, Store
A machine cycle fetches the instruction from memory, decodes it, executes it in the ALU, then stores the result. This order repeats for each instruction.
Question 28 of 60 · Machine cycles · Medium
Fetching and decoding an instruction are handled by one part of the CPU, while executing and storing are handled by another. Which pairing is correct?
Not quite. Try another option.
Answer: Fetch/Decode by Control Unit; Execute/Store by ALU
The control unit performs the fetch and decode steps, while the ALU performs the execute and store steps of the machine cycle.
Question 29 of 60 · Machine cycles · Medium
A CPU has a clock speed of . Roughly how many clock cycles can it perform in one second?
Not quite. Try another option.
Answer: cycles
equals one billion () cycles per second, so is cycles per second.
Question 30 of 60 · Memory · Medium
A user notices that all open programs and unsaved documents disappear after a sudden power loss, but installed applications remain on the drive. Which characteristic of RAM explains the lost work?
Not quite. Try another option.
Answer: RAM is volatile and loses its contents without power
RAM is volatile memory, meaning it requires continuous power to retain data. When power is lost, anything held only in RAM is erased.
Question 31 of 60 · Memory · Medium
Which type of memory holds the essential startup instructions (like the BIOS) and retains them even when the computer is turned off?
Not quite. Try another option.
Answer: ROM
ROM (Read-Only Memory) is non-volatile and stores firmware such as the boot instructions, which must survive power cycles. RAM would lose this data on shutdown.
Question 32 of 60 · Memory · Medium
A computer with limited RAM begins using part of the hard drive to hold data that does not fit in RAM. What is this technique called?
Not quite. Try another option.
Answer: Virtual memory
Virtual memory uses disk space as an extension of RAM. It lets the system run larger workloads, though disk access is much slower than RAM.
Question 33 of 60 · Registers · Medium
Why are registers the fastest storage locations available to the CPU?
Not quite. Try another option.
Answer: They are located inside the processor itself, closest to the ALU
Registers are built directly into the CPU, right next to the ALU, so data in them can be accessed with virtually no delay. They are small but the fastest storage in the hierarchy.
Question 34 of 60 · Registers · Medium
Which register holds the memory address of the next instruction to be fetched during the machine cycle?
Not quite. Try another option.
Answer: Program Counter
The Program Counter (PC) stores the address of the next instruction to fetch. After each fetch it is updated to point to the following instruction.
Question 35 of 60 · Registers · Medium
During execution, the intermediate results of arithmetic operations performed by the ALU are commonly held in which register?
Not quite. Try another option.
Answer: Accumulator
The accumulator temporarily stores the intermediate and final results of ALU arithmetic and logic operations before they are moved elsewhere.
Question 36 of 60 · The Bus · Medium
A CPU has a data bus that is 64 bits wide. What does this width primarily determine?
Not quite. Try another option.
Answer: The number of bits transferred simultaneously between components
Data bus width sets how many bits move in parallel per transfer. A 64-bit data bus moves 64 bits at once, increasing throughput compared to a narrower bus.
Question 37 of 60 · The Bus · Medium
If a computer's address bus is 20 bits wide, how many unique memory addresses can it directly access?
Not quite. Try another option.
Answer: addresses
The address bus width determines addressable locations as . A 20-bit address bus can access (about 1 million) unique addresses.
Question 38 of 60 · The Bus · Medium
Which bus is responsible for carrying signals that specify whether the CPU wants to read from or write to a memory location?
Not quite. Try another option.
Answer: Control bus
The control bus carries command and timing signals such as read/write instructions. The address bus identifies the location and the data bus carries the actual data.
Question 39 of 60 · Cache Memory · Medium
Why does adding cache memory typically improve overall system performance?
Not quite. Try another option.
Answer: It stores frequently used data closer to the CPU, reducing access time
Cache holds frequently accessed data and instructions in fast memory near the CPU, so the processor waits less often for slower main memory.
Question 40 of 60 · Cache Memory · Medium
Ordering cache levels from fastest/smallest to slowest/largest, which sequence is correct?
Not quite. Try another option.
Answer: L1, L2, L3
L1 cache is the smallest and fastest, sitting closest to the CPU core. L2 is larger and slower, and L3 is the largest and slowest of the three cache levels.
Question 41 of 60 · How computers represent data · Hard
A system stores unsigned integers in 8 bits. A program computes and stores the result in an 8-bit register. What value will the register hold after the operation?
Not quite. Try another option.
Answer:
8 bits hold values to . , which exceeds . Overflow wraps modulo : .
Question 42 of 60 · How computers represent data · Hard
Using two's complement in 8 bits, what is the decimal value of the bit pattern ?
Not quite. Try another option.
Answer:
The leading bit is 1, so the value is negative. Invert to get and add 1 to get , then apply the negative sign: .
Question 43 of 60 · Machine cycles · Hard
In the standard machine cycle, which sequence correctly orders the phases the CPU performs for each instruction?
Not quite. Try another option.
Answer: Fetch, Decode, Execute, Store
The machine cycle retrieves the instruction (fetch), interprets it (decode), performs it (execute), then writes the result back (store).
Question 44 of 60 · The Bus · Hard
A processor has a 32-bit address bus. What is the maximum amount of directly addressable memory, assuming each address references one byte?
Not quite. Try another option.
Answer: GB
A 32-bit address bus can generate distinct addresses. With one byte per address, that is bytes GB.
Question 45 of 60 · Cache Memory · Hard
A CPU has a cache hit rate of . Cache access takes ns and main memory access takes ns. What is the average (effective) memory access time?
Not quite. Try another option.
Answer: ns
Average time ns. The miss penalty dominates despite the high hit rate.
Question 46 of 60 · Memory · Hard
Which statement best explains why DRAM used as main memory requires periodic refreshing while SRAM used in cache does not?
Not quite. Try another option.
Answer: DRAM stores each bit as charge in a capacitor that leaks over time, while SRAM holds each bit in a stable latch of transistors that retains state as long as power is supplied
DRAM cells rely on capacitor charge that dissipates, requiring refresh cycles. SRAM uses transistor latches that hold state without refresh (though both are volatile).
Question 47 of 60 · Registers · Hard
During the fetch phase, which register holds the address of the next instruction to be retrieved, and which register receives the instruction once it arrives?
Not quite. Try another option.
Answer: Program Counter holds the address; Instruction Register receives the instruction
The Program Counter (PC) points to the next instruction's address, and the fetched instruction is placed in the Instruction Register (IR) for decoding.
Question 48 of 60 · How computers process data · Hard
Two 4-bit signed (two's complement) numbers () and () are added. Why does this produce an incorrect result?
Not quite. Try another option.
Answer: The sum represents , an overflow because two positives yielded a negative in the 4-bit range
4-bit two's complement holds to . exceeds . The bits are interpreted as , signaling signed overflow.
Question 49 of 60 · The Bus · Hard
A memory bus runs at MHz and is bits wide. Assuming one transfer per clock cycle, what is its theoretical peak bandwidth?
Not quite. Try another option.
Answer: GB/s
bits bytes per transfer. transfers/s bytes bytes/s GB/s.
Question 50 of 60 · Transforming data into information · Hard
In the data-to-information model, a temperature sensor logs the raw reading . Which action best represents transforming this data into information?
Not quite. Try another option.
Answer: Labeling it as "patient body temperature: normal" within a medical monitoring context
Data becomes information when processed and given context and meaning. Adding interpretation and context to the raw turns it into usable information.
Question 51 of 60 · Cache Memory · Hard
A designer wants to improve performance by adding an L2 cache between L1 cache and main memory. Which principle most directly justifies why this multi-level hierarchy reduces average access time?
Not quite. Try another option.
Answer: Locality of reference means recently and nearby accessed data is likely to be reused, so keeping it in progressively faster, smaller stores raises the overall hit rate
The memory hierarchy exploits temporal and spatial locality. Multi-level caches capture more reused data close to the CPU, lowering the effective access time.
Question 52 of 60 · How computers represent data · Hard
A character encoded in ASCII occupies 7 significant bits. To represent the string "Data!" (5 characters) using 8-bit bytes, how many total bits are used?
Not quite. Try another option.
Answer: bits
Although ASCII uses 7 significant bits, characters are stored in 8-bit bytes. characters bits bits.
Question 53 of 60 · Machine cycles · Hard
A CPU without pipelining takes 4 clock cycles per instruction (one per machine-cycle phase) and runs at GHz. Approximately how many instructions can it execute per second?
Not quite. Try another option.
Answer: million
At GHz there are cycles/s. With 4 cycles per instruction: million instructions/s.
Question 54 of 60 · Registers · Hard
Why can register access be roughly an order of magnitude faster than accessing L1 cache, despite both being fast on-chip storage?
Not quite. Try another option.
Answer: Registers are located directly within the CPU's execution units and are addressed by short internal identifiers rather than requiring an address lookup
Registers sit inside the CPU and are referenced by tiny fixed identifiers with no address decoding or tag matching, making them the fastest storage available.
Question 55 of 60 · How computers process data · Hard
The ALU performs a bitwise AND on and . What is the result?
Not quite. Try another option.
Answer:
Bitwise AND yields 1 only where both bits are 1. Comparing each column of and gives .
Question 56 of 60 · Cache Memory · Hard
A program runs with hit rate . Cache access is ns and memory access is ns. Below what hit rate does the effective access time exceed ns?
Not quite. Try another option.
Answer: Below about
Effective time . Setting this to : . Below it exceeds ns.
Question 57 of 60 · The Bus · Hard
A system's data bus is 32 bits wide but its address bus is only 24 bits. What is the primary consequence of this configuration?
Not quite. Try another option.
Answer: The CPU can transfer bits at a time but can only directly address ( MB) of memory
Data bus width sets how many bits move per transfer (32); address bus width sets addressable range. MB is the addressing limit here.
Question 58 of 60 · Memory · Hard
A student claims that adding more RAM always makes any program run faster. Under which condition is this claim least valid?
Not quite. Try another option.
Answer: When the program's working set already fits comfortably in existing RAM and there is no paging to disk
Extra RAM helps mainly by reducing disk paging. If the working set already fits with no swapping, additional RAM provides little to no speed benefit.
Question 59 of 60 · How computers represent data · Hard
The hexadecimal value is stored in memory. What is its equivalent 8-bit binary and decimal representation?
Not quite. Try another option.
Answer: and
: digit , digit , giving . In decimal, .
Question 60 of 60 · Machine cycles · Hard
In a pipelined CPU, the fetch, decode, execute, and store phases each take one cycle and different instructions occupy different phases simultaneously. Ideally, after the pipeline is full, how often does one instruction complete?
Not quite. Try another option.
Answer: Once every clock cycle
A full 4-stage pipeline overlaps instructions so that one completes each cycle, giving an ideal throughput of one instruction per cycle despite each taking 4 cycles of latency.
That's unit 3
Answer a few questions and your score shows up here.
Nearly through. Did unit 3 of DECAP145 save you a night before the exam?
LPU Notes is free. A student pays for the servers.
Did unit 3 of DECAP145 save you a night before the exam?
Then you can help keep it free for the next batch. Ads cover part of the server bill;
the rest comes out of a student's own pocket: the domain, the storage, and keeping
the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.