Unit 3: Computer Hardware - Practice Quiz

CSE111 — Orientation To Computing 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 What does CPU stand for?

CPU and GPU Easy
A. Computer Processing Utility
B. Computer Program Unit
C. Central Processing Unit
D. Central Program Utility

2 What is the main function of a CPU?

CPU and GPU Easy
A. Connecting network cables
B. Recording sound signals
C. Displaying printed documents
D. Executing program instructions

3 Which CPU component performs arithmetic and logical operations?

CPU and GPU Easy
A. Arithmetic Logic Unit
B. Graphics Processing Unit
C. Power Supply Unit
D. Random Access Memory

4 What does GPU stand for?

CPU and GPU Easy
A. General Program Unit
B. General Processing Utility
C. Graphics Processing Unit
D. Graphics Program Utility

5 Which task is a GPU especially designed to perform?

CPU and GPU Easy
A. Storing backup files
B. Printing text documents
C. Scanning paper documents
D. Rendering images and video

6 Which measurement is commonly used for a processor's clock speed?

CPU and GPU Easy
A. Milliseconds
B. Gigahertz
C. Gigabytes
D. Megapixels

7 What is a CPU core?

CPU and GPU Easy
A. A removable storage device
B. A visual display connector
C. An external input device
D. An individual processing unit

8 Which device is mainly used to enter text into a computer?

Input Devices and Output Devices Easy
A. Printer
B. Monitor
C. Keyboard
D. Speaker

9 Which device displays visual information from a computer?

Input Devices and Output Devices Easy
A. Scanner
B. Mouse
C. Monitor
D. Microphone

10 Which device converts a paper document into digital data?

Input Devices and Output Devices Easy
A. Scanner
B. Projector
C. Printer
D. Speaker

11 Which device produces a physical copy of a digital document?

Input Devices and Output Devices Easy
A. Joystick
B. Webcam
C. Keyboard
D. Printer

12 Which device is used to capture sound as computer input?

Input Devices and Output Devices Easy
A. Monitor
B. Projector
C. Microphone
D. Headphones

13 Which device is commonly used to control the pointer on a desktop computer?

Input Devices and Output Devices Easy
A. Mouse
B. Printer
C. Projector
D. Speaker

14 Which device provides audio output from a computer?

Input Devices and Output Devices Easy
A. Keyboard
B. Scanner
C. Webcam
D. Speaker

15 Which type of memory temporarily stores data that programs are currently using?

Memory devices Easy
A. ROM
B. SSD
C. RAM
D. DVD

16 What usually happens to data in RAM when the computer is turned off?

Memory devices Easy
A. It is printed
B. It is duplicated
C. It is lost
D. It is encrypted

17 Which memory commonly stores permanent startup instructions?

Memory devices Easy
A. Cache
B. Register
C. ROM
D. RAM

18 Which storage device uses flash memory and has no moving parts?

Memory devices Easy
A. Solid-state drive
B. Optical disc drive
C. Magnetic tape drive
D. Hard disk drive

19 Which unit is commonly used to measure computer storage capacity?

Memory devices Easy
A. Kilovolt
B. Gigabyte
C. Gigahertz
D. Megapixel

20 Which device is a small, portable storage device that connects to a USB port?

Memory devices Easy
A. Processor cache
B. Optical disc drive
C. USB flash drive
D. Internal hard drive

21 A research application must perform the same mathematical operation on millions of independent data values. Which processor is generally best suited to this workload?

CPU and GPU Medium
A. A CPU with a larger instruction cache
B. A GPU with a lower memory capacity
C. A CPU with one high-speed processing core
D. A GPU with many parallel processing cores

22 Processor A runs at GHz with an average CPI of . Processor B runs at GHz with an average CPI of . For the same instruction count, which conclusion is correct?

CPU and GPU Medium
A. Processor B finishes about 25% sooner
B. Both processors finish at the same time
C. Processor A finishes about 10% sooner
D. Processor B finishes about 10% sooner

23 A program repeatedly accesses a small set of data, but the CPU must often retrieve that data from RAM. Which hardware change would most directly reduce the access delay?

CPU and GPU Medium
A. Increasing storage capacity
B. Adding more CPU cache
C. Adding more GPU cores
D. Increasing monitor resolution

24 Two CPUs use the same architecture. CPU X has 4 cores at GHz, while CPU Y has 8 cores at GHz. Which is likely to complete a highly parallel video-encoding job faster?

CPU and GPU Medium
A. CPU Y, because more cores can share the work
B. CPU X, because clock speed is always decisive
C. CPU Y, because it uses fewer instructions
D. CPU X, because each core has more cache

25 A laptop uses an integrated GPU and becomes slower when a graphics-intensive program is opened. Which explanation is most likely?

CPU and GPU Medium
A. The GPU disables all CPU processing cores
B. The GPU shares system RAM with the CPU
C. The GPU transfers graphics through the keyboard
D. The GPU stores graphics only in CPU cache

26 A computer initially performs well during gaming, but its frame rate drops after several minutes while its temperature rises. What is the most likely cause?

CPU and GPU Medium
A. The CPU cache has become permanently full
B. The RAM has become nonvolatile storage
C. The GPU has changed the monitor resolution
D. The CPU or GPU is thermally throttling

27 During a game, GPU utilization remains near 100%, CPU utilization stays near 45%, and lowering graphics quality greatly improves the frame rate. Which upgrade would most likely help?

CPU and GPU Medium
A. A faster graphics card
B. A higher-resolution monitor
C. A larger mechanical drive
D. A faster keyboard controller

28 Why is a touchscreen classified as both an input and an output device?

Input Devices and Output Devices Medium
A. It records sound and produces video signals
B. It stores files and executes program instructions
C. It prints documents and scans paper pages
D. It displays images and detects user touches

29 An office needs to convert printed contracts into searchable and editable text. Which combination is most appropriate?

Input Devices and Output Devices Medium
A. A printer with audio software
B. A monitor with compression software
C. A scanner with OCR software
D. A projector with drawing software

30 A microphone produces an analog signal, but a computer stores digital audio. Which component performs the required conversion?

Input Devices and Output Devices Medium
A. A digital-to-analog converter
B. An analog-to-digital converter
C. A graphics processing unit
D. A printer control unit

31 A supermarket wants to reduce errors when employees enter product identification numbers at checkout. Which input device is most suitable?

Input Devices and Output Devices Medium
A. A computer microphone
B. A graphics tablet
C. A flatbed image scanner
D. A barcode scanner

32 A printer produces dots per inch in both directions. Approximately how many dots are used to print a solid -inch by -inch square?

Input Devices and Output Devices Medium
A. dots
B. dots
C. dots
D. dots

33 A projector has a native resolution of . Which laptop output setting will usually provide the clearest image without additional scaling?

Input Devices and Output Devices Medium
A.
B.
C.
D.

34 A digital artist needs to create drawings with lines that become thicker when more pressure is applied. Which input device is most suitable?

Input Devices and Output Devices Medium
A. A graphics tablet with a pressure-sensitive stylus
B. A scanner with an automatic document feeder
C. A trackball with an optical movement sensor
D. A keyboard with programmable function keys

35 A student is editing a document when the computer suddenly loses power. The saved version remains, but recent unsaved changes disappear. Where were the unsaved changes primarily stored?

Memory devices Medium
A. In optical storage
B. In motherboard firmware
C. In volatile RAM
D. In printer memory

36 A computer has GB of RAM, but running applications require about GB. The operating system remains functional but becomes much slower. What is most likely happening?

Memory devices Medium
A. The system is using storage as virtual memory
B. The GPU is replacing all system memory
C. The CPU is storing files in its registers
D. The firmware is executing the applications

37 A user wants faster startup times and a storage device that is less vulnerable to damage from laptop movement. Which upgrade is most appropriate?

Memory devices Medium
A. Replace the SSD with magnetic tape
B. Replace the RAM with a DVD
C. Replace the cache with an HDD
D. Replace the HDD with an SSD

38 A GB memory device reserves 20% of its capacity for other data. How many complete GB video files can be stored in the remaining space?

Memory devices Medium
A. 8 files
B. 6 files
C. 5 files
D. 7 files

39 A computer must retain its startup firmware even when disconnected from power. Which type of memory is appropriate for storing it?

Memory devices Medium
A. Nonvolatile flash ROM
B. Dynamic system RAM
C. Virtual memory space
D. Volatile CPU cache

40 A camera has an SDXC slot and records high-bitrate 4K video. Which memory device is the most appropriate choice?

Memory devices Medium
A. A standard desktop DDR4 module
B. A low-speed optical disc
C. A high-speed SDXC memory card
D. A motherboard flash ROM chip

41 Processor A runs at with an average CPI of . Processor B runs at with an average CPI of for the same instruction set and program. Ignoring other bottlenecks, which conclusion is correct?

CPU and GPU Hard
A. Processor B is about faster
B. Processor A is about faster
C. Processor A is about faster
D. Processor B is about faster

42 A CPU has a base CPI of . Branches form of instructions, of branches are mispredicted, and each misprediction adds 12 cycles. What is the resulting average CPI?

CPU and GPU Hard
A.
B.
C.
D.

43 A computation takes on a CPU. A discrete GPU performs the computation in , but it must receive and return a buffer over a link. Assuming no overlap and decimal units, which execution is faster?

CPU and GPU Hard
A. The GPU is faster by
B. The GPU is faster by
C. The CPU is faster by
D. The CPU is faster by

44 Which workload is most likely to achieve high utilization on a GPU rather than merely having many operations?

CPU and GPU Hard
A. A small recursive search whose branches diverge at every level
B. A transaction handler dominated by locks and random disk requests
C. A serial parser with unpredictable branches and pointer traversal
D. Thousands of independent matrix operations with regular memory access

45 A GPU executes 32 threads as a group. For one conditional instruction, 16 threads take the if path and 16 take the else path. If both paths contain substantial work, what is the primary performance consequence?

CPU and GPU Hard
A. The paths are generally serialized, reducing effective parallelism
B. The threads migrate to CPU cores, increasing communication overhead
C. The conditional is removed automatically, preserving full throughput
D. The paths are merged into one instruction, increasing arithmetic intensity

46 A four-core CPU accelerates the parallel portion of a program perfectly, but of the original execution time is strictly serial. According to Amdahl's law, what is the maximum speedup on four cores?

CPU and GPU Hard
A.
B.
C.
D.

47 A CPU uses a write-back cache. After modifying a cached block, the CPU writes the same address again without eviction. Compared with a write-through cache, what memory traffic is normally avoided?

CPU and GPU Hard
A. Only the first write to lower-level memory
B. Both immediate writes to lower-level memory
C. The eventual write caused by block eviction
D. Only the second write to lower-level memory

48 An audio input device samples a pure signal at without an anti-aliasing filter. At what frequency will the aliased component appear in the sampled data?

Input Devices and Output Devices Hard
A.
B.
C.
D.

49 A mechanical button is connected to a digital input and produces several rapid transitions during one physical press. Which design most reliably records exactly one press without making the input permanently unresponsive?

Input Devices and Output Devices Hard
A. Accept one edge, then require a stable state for a debounce interval
B. Count every edge, then divide the total transition count by two
C. Sample once at startup, then retain the initial value indefinitely
D. Disable all interrupts, then poll the input continuously at maximum speed

50 A display has a resolution of , uses 32 bits per pixel, and refreshes at . Ignoring blanking and compression, approximately what minimum framebuffer read bandwidth is required?

Input Devices and Output Devices Hard
A.
B.
C.
D.

51 A scanner must distinguish alternating black and white lines whose full black-white cycle is . Under ideal sampling, what minimum resolution satisfies the Nyquist criterion?

Input Devices and Output Devices Hard
A. 1016 dpi
B. 2540 dpi
C. 508 dpi
D. 254 dpi

52 A printer receives pages faster than it can physically print them. Which component primarily allows the application to continue while preserving page order?

Input Devices and Output Devices Hard
A. A device driver using synchronous application calls
B. A rasterizer backed only by printer firmware
C. A display buffer shared with the graphics processor
D. A print spooler backed by queued storage

53 A capacitive touchscreen reports two simultaneous contact points, but an application receives only one pointer position because of an older software interface. Where is information most directly being lost?

Input Devices and Output Devices Hard
A. At the display controller that refreshes visible pixels
B. At the graphics processor that composites application windows
C. At the sensor layer that detects both physical contacts
D. At the software interface that exposes only one pointer

54 A byte-addressable system has a 36-bit physical address bus. What is the maximum directly addressable physical memory space, regardless of how much RAM is installed?

Memory devices Hard
A.
B.
C.
D.

55 A direct-mapped cache has a capacity of and a block size of 64 bytes. For a byte address, how many bits are used for the cache index and block offset?

Memory devices Hard
A. 8 index bits and 7 offset bits
B. 9 index bits and 6 offset bits
C. 10 index bits and 5 offset bits
D. 11 index bits and 4 offset bits

56 An L1 cache takes and has a hit rate. On an L1 miss, an L2 lookup takes and hits of the time; main memory adds after an L2 miss. What is the average memory access time?

Memory devices Hard
A.
B.
C.
D.

57 A system's normal memory access time is . A page fault takes , and the probability of a page fault on an access is . Approximately what is the effective memory access time?

Memory devices Hard
A.
B.
C.
D.

58 An SSD receives of host writes while its controller writes to flash because of garbage collection and data movement. What is the write amplification factor?

Memory devices Hard
A.
B.
C.
D.

59 Why can repeatedly overwriting small random regions be especially expensive on NAND flash compared with magnetic RAM-like storage?

Memory devices Hard
A. Flash pages require erasing a larger block before rewritten data can be placed
B. Flash controllers must rotate the physical medium before accessing each sector
C. Flash cells require continuous power before an existing bit can be read
D. Flash addresses must be translated into analog audio signals before storage

60 A memory module uses SECDED error-correcting code. Which error pattern is it designed to handle during one protected memory word?

Memory devices Hard
A. Correct one bit error and detect two bit errors
B. Correct two bit errors and detect three bit errors
C. Correct any burst error within one memory page
D. Correct one failed chip and detect two failed chips