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 2 MCQsMemory and I/O Devices
DECAP145 ·
60 questions. Pick an option to check it.
One byte is a group of 8 bits, which is the standard unit used to represent a single character.
Question 2 of 60 · Units of memory · Easy
Which of the following is the smallest unit of memory?
Not quite. Try another option.
Answer: Bit
A bit (binary digit) is the smallest unit of memory and holds either a or a .
Question 3 of 60 · Units of memory · Easy
Approximately how many bytes are there in one kilobyte (KB)?
Not quite. Try another option.
Answer: 1024 bytes
One kilobyte equals bytes.
Question 4 of 60 · RAM · Easy
What does RAM stand for?
Not quite. Try another option.
Answer: Random Access Memory
RAM stands for Random Access Memory, the main memory where data is temporarily stored while a computer runs.
Question 5 of 60 · RAM · Easy
Which type of memory loses its contents when the computer is switched off?
Not quite. Try another option.
Answer: RAM
RAM is volatile memory, meaning its stored data is lost when power is turned off.
Question 6 of 60 · ROM · Easy
What does ROM stand for?
Not quite. Try another option.
Answer: Read Only Memory
ROM stands for Read Only Memory, which stores permanent instructions that are normally only read, not changed.
Question 7 of 60 · ROM · Easy
Which characteristic best describes ROM?
Not quite. Try another option.
Answer: Non-volatile memory
ROM is non-volatile, so it retains its contents even after the power is turned off.
Question 8 of 60 · Memory: Types · Easy
Which of the following is considered primary memory?
Not quite. Try another option.
Answer: RAM
RAM is primary (main) memory that the CPU accesses directly, while the others are secondary storage.
Question 9 of 60 · Memory: Types · Easy
Cache memory is mainly used to:
Not quite. Try another option.
Answer: Speed up access to frequently used data
Cache is a small, fast memory that stores frequently used data to speed up processing.
Question 10 of 60 · Secondary storage devices—HDD · Easy
What does HDD stand for?
Not quite. Try another option.
Answer: Hard Disk Drive
HDD stands for Hard Disk Drive, a common secondary storage device that stores data magnetically.
Question 11 of 60 · Secondary storage devices—HDD · Easy
A hard disk drive (HDD) stores data using which technology?
Not quite. Try another option.
Answer: Magnetic storage
An HDD stores data on spinning magnetic platters using magnetic recording.
Question 12 of 60 · SSD · Easy
What does SSD stand for?
Not quite. Try another option.
Answer: Solid State Drive
SSD stands for Solid State Drive, a storage device that uses flash memory with no moving parts.
Question 13 of 60 · SSD · Easy
Compared to a traditional HDD, an SSD is generally:
Not quite. Try another option.
Answer: Faster to access data
SSDs have no moving parts and use flash memory, making data access much faster than an HDD.
Question 14 of 60 · Optical Disks: DVD · Easy
A DVD is an example of which type of storage?
Not quite. Try another option.
Answer: Optical storage
A DVD is an optical disk that stores data read by a laser beam.
Question 15 of 60 · Flash Drives · Easy
A USB flash drive stores data using:
Not quite. Try another option.
Answer: Flash memory
A flash drive uses non-volatile flash memory and connects through a USB port.
Question 16 of 60 · I/O Devices—Keyboard · Easy
A keyboard is classified as which type of device?
Not quite. Try another option.
Answer: Input device
A keyboard is an input device used to enter text and commands into the computer.
Question 17 of 60 · I/O Devices—Mouse · Easy
A mouse is primarily used to:
Not quite. Try another option.
Answer: Point and select items on screen
A mouse is a pointing input device used to move the cursor and select items on screen.
Question 18 of 60 · I/O Devices—LCDs · Easy
What does LCD stand for?
Not quite. Try another option.
Answer: Liquid Crystal Display
LCD stands for Liquid Crystal Display, a common flat-panel output device for showing images and text.
Question 19 of 60 · I/O Devices—Scanner · Easy
A scanner is used to:
Not quite. Try another option.
Answer: Convert printed documents into digital form
A scanner is an input device that converts physical documents or images into a digital format.
Question 20 of 60 · I/O Devices—Plotter · Easy
A plotter is an output device mainly used to print:
Not quite. Try another option.
Answer: Large drawings and engineering designs
A plotter is an output device used to produce large, high-quality graphics such as maps and engineering drawings.
Question 21 of 60 · Units of memory · Medium
A file is exactly in size. How many kilobytes is this, assuming the binary convention where ?
Not quite. Try another option.
Answer:
Using the binary convention, .
Question 22 of 60 · Units of memory · Medium
How many bits are there in nibble?
Not quite. Try another option.
Answer: bits
A nibble is half a byte, so it equals bits. A full byte is bits.
Question 23 of 60 · RAM · Medium
A user notices that all unsaved work is lost whenever the power is suddenly cut off. Which property of RAM best explains this behavior?
Not quite. Try another option.
Answer: It is volatile
RAM is volatile, meaning it loses its stored contents when power is removed, so unsaved data disappears.
Question 24 of 60 · RAM · Medium
A system needs memory that automatically refreshes its data periodically to retain contents and offers high density at low cost for main memory. Which type is most suitable?
Not quite. Try another option.
Answer: DRAM
DRAM stores each bit in a capacitor that leaks charge, so it must be refreshed periodically. It is cheaper and denser than SRAM, making it ideal for main memory.
Question 25 of 60 · RAM · Medium
Why is SRAM commonly used for cache memory instead of DRAM?
Not quite. Try another option.
Answer: It is faster and does not require refreshing
SRAM uses flip-flops that hold data without refresh cycles, making it faster than DRAM. This speed makes it suitable for cache, despite being costlier.
Question 26 of 60 · ROM · Medium
A manufacturer wants a memory chip whose contents can be erased using ultraviolet light and then reprogrammed. Which type of ROM should be chosen?
Not quite. Try another option.
Answer: EPROM
EPROM (Erasable Programmable ROM) is erased by exposing it to ultraviolet light through a quartz window and can then be reprogrammed.
Question 27 of 60 · ROM · Medium
The small program that starts a computer and tests hardware at power-on is typically stored in which type of memory?
Not quite. Try another option.
Answer: ROM
The BIOS/firmware startup routine must survive power loss, so it is stored in non-volatile ROM rather than volatile RAM.
Question 28 of 60 · Memory: Types · Medium
Arrange the following memory types from fastest to slowest access speed.
Not quite. Try another option.
Answer: Register → Cache → RAM → Hard Disk
The memory hierarchy places registers closest to the CPU (fastest), followed by cache, then main RAM, and finally secondary storage like the hard disk (slowest).
Question 29 of 60 · Memory: Types · Medium
Which statement correctly distinguishes primary memory from secondary memory?
Not quite. Try another option.
Answer: Primary memory is directly accessed by the CPU; secondary memory is not
The CPU works directly with primary memory (RAM/ROM). Secondary storage is accessed indirectly and is used for permanent, long-term storage.
Question 30 of 60 · Secondary storage devices — HDD · Medium
In a hard disk drive, data is organized into concentric circles on each platter surface. What are these circles called?
Not quite. Try another option.
Answer: Tracks
Each platter surface is divided into concentric circles called tracks; tracks are further divided into sectors, the smallest addressable storage unit.
Question 31 of 60 · Secondary storage devices — HDD · Medium
Which factor of a traditional HDD most directly affects how fast data can be read once the read/write head is positioned over the correct track?
Not quite. Try another option.
Answer: Rotational speed (RPM)
Higher platter rotation speed (e.g., RPM vs RPM) reduces the time for the required sector to reach the head, improving data transfer rate.
Question 32 of 60 · SSD · Medium
Why does an SSD generally provide faster boot and load times than a traditional HDD?
Not quite. Try another option.
Answer: It has no moving mechanical parts and accesses data electronically
An SSD stores data in flash memory and has no moving parts, so there is no seek or rotational delay, giving much lower access times than a mechanical HDD.
Question 33 of 60 · SSD · Medium
Which of the following is a genuine limitation of SSDs compared to HDDs?
Not quite. Try another option.
Answer: Flash memory cells have a limited number of write/erase cycles
Each flash cell wears out after a finite number of program/erase cycles, so SSDs use wear-leveling to extend life. They still retain data without power (non-volatile).
Question 34 of 60 · Flash Drives · Medium
A USB flash drive retains stored files even after being unplugged from the computer. This is because it uses which kind of memory?
Not quite. Try another option.
Answer: Non-volatile flash memory
USB flash drives use non-volatile flash memory, which keeps data intact without a continuous power supply.
Question 35 of 60 · Optical Disks: DVD · Medium
A single-layer, single-sided DVD stores roughly how much data, which is far more than a standard CD's ?
Not quite. Try another option.
Answer:
A single-layer DVD holds about , achieved through smaller pits and a shorter-wavelength laser than a CD.
Question 36 of 60 · Optical Disks: DVD · Medium
Optical disks such as DVDs read data using which technology?
Not quite. Try another option.
Answer: A laser beam reflecting off pits and lands
Optical drives use a laser to detect variations between pits and lands on the disk surface, which represent binary data.
Question 37 of 60 · I/O Devices — Scanner · Medium
A librarian wants to convert printed pages into editable text on the computer. Which combination is required?
Not quite. Try another option.
Answer: A scanner with OCR software
A scanner captures the page as an image; Optical Character Recognition (OCR) software then converts that image into editable, machine-readable text.
Question 38 of 60 · I/O Devices — Plotter · Medium
An architecture firm needs to print large, precise engineering drawings and blueprints on wide sheets. Which output device is best suited?
Not quite. Try another option.
Answer: Plotter
A plotter draws continuous, precise vector lines and handles large-format media, making it ideal for engineering and architectural drawings.
Question 39 of 60 · I/O Devices — Printer · Medium
Which type of printer uses a toner powder fused onto paper by heat and is known for high-speed, high-quality office printing?
Not quite. Try another option.
Answer: Laser printer
A laser printer uses a laser to form an image on a drum, attracts toner powder, and fuses it to paper with heat, giving fast, sharp output.
Question 40 of 60 · I/O Devices — Printer · Medium
Why is a dot-matrix printer preferred for printing multipart carbon-copy forms even though its quality is lower than an inkjet?
Not quite. Try another option.
Answer: It strikes the paper via an impact mechanism, so it can print through multiple copies at once
A dot-matrix printer is an impact printer; the physical striking of pins transfers ink through carbon layers, printing several copies simultaneously.
Question 41 of 60 · Units of memory · Hard
A storage device is advertised as having a capacity of GB using the decimal (SI) definition. When the operating system reports capacity using binary units (GiB), approximately how much usable space will it show?
Not quite. Try another option.
Answer: GiB
Manufacturers use GB bytes, so GB bytes. Dividing by gives GiB, which is why reported capacity looks smaller.
Question 42 of 60 · Units of memory · Hard
An image sensor captures frames of pixels at -bit color, streaming at frames per second uncompressed. What is the approximate raw data rate?
Not quite. Try another option.
Answer: Gbps
Per frame: bits. At fps: bits/s Gbps. Confusing bits with bytes yields the smaller distractors.
Question 43 of 60 · RAM · Hard
Why does DRAM require periodic refresh cycles while SRAM does not?
Not quite. Try another option.
Answer: DRAM stores each bit as charge in a capacitor that leaks over time, whereas SRAM holds bits in a bistable latch
A DRAM cell is one transistor plus one capacitor; leakage drains the stored charge, so refresh restores it. SRAM uses a cross-coupled transistor latch that holds state as long as power is applied, needing no refresh.
Question 44 of 60 · Memory: Types · Hard
In the memory hierarchy, cache is placed between the CPU and main memory primarily to exploit which principle?
Not quite. Try another option.
Answer: Locality of reference, both temporal and spatial
Cache works because programs tend to reuse recently accessed data (temporal locality) and access nearby addresses (spatial locality), so keeping such data in fast cache reduces average access time.
Question 45 of 60 · ROM · Hard
Which statement most accurately distinguishes EEPROM from EPROM?
Not quite. Try another option.
Answer: EEPROM is erased electrically byte-by-byte in-circuit, while EPROM is erased in bulk using ultraviolet light
EPROM requires removal and UV exposure through a quartz window to erase the whole chip. EEPROM can be electrically erased and rewritten selectively while remaining in the circuit.
Question 46 of 60 · SSD · Hard
Why do SSDs employ wear leveling and a Flash Translation Layer (FTL)?
Not quite. Try another option.
Answer: NAND flash cells tolerate a limited number of program/erase cycles, so writes are spread across blocks to prevent premature failure
Each NAND cell endures a finite number of P/E cycles. The FTL maps logical addresses to physical blocks and distributes writes (wear leveling) so no single block wears out early, extending drive life.
Question 47 of 60 · SSD · Hard
An SSD shows fast sequential writes initially but slows dramatically during sustained large writes. What is the most likely cause?
Not quite. Try another option.
Answer: The SLC write cache becomes exhausted, forcing direct writes to slower TLC/QLC cells
Many SSDs use a fast SLC cache region for incoming writes. Under sustained load this cache fills, and data must be written directly to the slower multi-level (TLC/QLC) NAND, causing the observed slowdown.
Question 48 of 60 · Secondary storage devices—HDD · Hard
A HDD spins at RPM. What is its average rotational latency?
Not quite. Try another option.
Answer: ms
One rotation takes ms. Average rotational latency is half a rotation, ms.
Question 49 of 60 · Secondary storage devices—HDD · Hard
The total time to service a random HDD read request is best expressed as the sum of which components?
Not quite. Try another option.
Answer: Seek time + rotational latency + data transfer time
For a mechanical HDD, the head must move to the correct track (seek), wait for the sector to rotate under the head (rotational latency), then transfer the data. Their sum gives the total service time.
Question 50 of 60 · Optical Disks: DVD · Hard
Why can a DVD store far more data than a CD despite similar physical dimensions?
Not quite. Try another option.
Answer: DVDs use a shorter-wavelength red laser with a smaller focused spot, tighter track pitch, and support multiple layers/sides
The nm DVD laser focuses a smaller spot than the nm CD laser, enabling smaller pits and closer tracks. Dual-layer and double-sided formats further multiply capacity.
Question 51 of 60 · Flash Drives · Hard
A USB 2.0 flash drive advertises a MB/s write speed, but the USB 2.0 bus supports Mbps. Why can the drive not saturate the bus?
Not quite. Try another option.
Answer: The NAND flash write speed and controller are the bottleneck, not the interface bandwidth
USB 2.0's Mbps ( MB/s theoretical) far exceeds the drive's actual MB/s. The limiting factor is the internal NAND program time and low-cost controller, not the interface.
Question 52 of 60 · Memory: Types · Hard
Which classification correctly groups memory as volatile versus non-volatile?
DRAM and SRAM lose contents when power is removed (volatile). ROM, flash memory, and hard disks retain data without power (non-volatile).
Question 53 of 60 · I/O Devices—Keyboard · Hard
In a matrix-scanned keyboard, 'ghosting' (phantom keypresses) is prevented by adding what component to each key?
Not quite. Try another option.
Answer: A diode in series with each switch to block reverse current paths
When multiple keys are pressed, current can flow backward through the matrix, creating false detections. A diode per key enforces one-way current flow, enabling reliable n-key rollover.
Question 54 of 60 · I/O Devices—Mouse · Hard
How does an optical mouse determine movement direction and distance?
Not quite. Try another option.
Answer: A camera captures rapid surface images and a DSP compares successive frames to compute displacement
An optical mouse uses a tiny image sensor taking thousands of pictures per second; an onboard digital signal processor correlates consecutive frames to measure how far and in which direction the surface shifted.
Question 55 of 60 · I/O Devices—LCDs · Hard
In a TFT-LCD, what is the primary role of the thin-film transistors at each subpixel?
Not quite. Try another option.
Answer: They act as switches holding the pixel's voltage, enabling active-matrix addressing without crosstalk
LCDs modulate a backlight; the TFTs are per-pixel switches that latch and maintain the applied voltage, giving active-matrix displays sharp, stable images without the crosstalk of passive matrices.
Question 56 of 60 · Scanner · Hard
A flatbed scanner scans an A4 page ( in) at dpi in 24-bit color. Approximately how large is the uncompressed image?
Not quite. Try another option.
Answer: MB
Pixels: M pixels. At bytes/pixel: MB. Ignoring the -byte depth would give the MB distractor.
Question 57 of 60 · Printer & Latest I/O devices in market · Hard
Which sequence correctly describes the laser printer imaging process?
Not quite. Try another option.
Answer: Charge drum → laser writes latent image → toner adheres to discharged areas → transfer to paper → fuse with heat
A laser printer uniformly charges the photosensitive drum, the laser discharges points forming a latent image, oppositely charged toner sticks to those areas, it is transferred to paper, and heat/pressure fuse it permanently.
Question 58 of 60 · Plotter · Hard
Why are pen plotters preferred over raster printers for engineering line drawings and CAD output on large formats?
Not quite. Try another option.
Answer: They draw continuous vector lines at arbitrary angles with high precision, independent of pixel resolution
Plotters move a pen along vector paths, producing smooth continuous lines of any orientation without stair-step aliasing, which is ideal for precise, large-format technical and architectural drawings.
Question 59 of 60 · SSD · Hard
Why must an SSD erase an entire block before rewriting data, unlike an HDD which overwrites sectors directly?
Not quite. Try another option.
Answer: NAND flash can be programmed at the page level but can only be erased at the larger block level, causing read-modify-write and write amplification
In NAND, a page can be programmed but not individually overwritten; erasing works only on full blocks. Modifying data means reading a block, updating, erasing, and rewriting, which produces write amplification.
Question 60 of 60 · Memory: Types · Hard
Ordering by typical access speed from fastest to slowest, which sequence is correct?
Not quite. Try another option.
Answer: Registers → L1 cache → DRAM → SSD → HDD
CPU registers are fastest, then on-chip L1 cache, then main-memory DRAM, then flash-based SSDs, and finally mechanical HDDs, which are the slowest due to seek and rotational delays.
That's unit 2
Answer a few questions and your score shows up here.
Nearly through. Did unit 2 of DECAP145 save you a night before the exam?
LPU Notes is free. A student pays for the servers.
Did unit 2 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.