010-160 Hardware and Operating Systems 3 — Questions and Answers
Question 1: What type of storage device uses NAND flash memory and has no moving parts?
- HDD (Hard Disk Drive)
- SSD (Solid State Drive) (Correct answer)
- Optical Drive
- Tape Drive
Correct answer: SSD (Solid State Drive)
SSDs use NAND flash memory chips with no mechanical parts, making them faster and more durable than traditional hard drives.
Question 2: Which directory in a Linux system typically contains device files for hardware devices?
- /sys
- /hardware
- /dev (Correct answer)
- /proc/devices
Correct answer: /dev
/dev contains device files (special files) that represent hardware devices such as disks, terminals, and printers.
Question 3: What does the command 'free -h' display?
- Free disk space in human-readable format
- RAM and swap memory usage in human-readable format (Correct answer)
- Free inodes on all filesystems
- Available CPU cycles
Correct answer: RAM and swap memory usage in human-readable format
free -h displays RAM and swap memory statistics in human-readable format using units like MB and GB.
Question 4: What is the role of a device driver in Linux?
- A program that installs new hardware
- A kernel module that allows the OS to communicate with hardware (Correct answer)
- A utility that partitions disk drives
- A script that mounts file systems
Correct answer: A kernel module that allows the OS to communicate with hardware
A device driver is a kernel module that provides an interface between the operating system and a specific hardware device.
Question 5: Which command shows USB devices currently connected to the system?
- usbscan
- lsusb (Correct answer)
- devlist --usb
- cat /proc/usb
Correct answer: lsusb
lsusb lists USB buses and the devices connected to them, displaying vendor/product IDs and descriptions.
Question 6: What is the difference between 32-bit and 64-bit processor architectures?
- 32-bit CPUs run faster than 64-bit CPUs
- 64-bit CPUs can address more memory and process larger data chunks per cycle (Correct answer)
- 32-bit CPUs support more CPU cores
- 64-bit CPUs can only run 64-bit operating systems exclusively
Correct answer: 64-bit CPUs can address more memory and process larger data chunks per cycle
64-bit CPUs can address far more RAM (theoretically up to 18 EB) and process 64-bit data words per cycle, improving performance for large workloads.
Question 7: On a Linux system, where are kernel modules typically stored?
- /etc/modules/
- /lib/modules/<kernel-version>/ (Correct answer)
- /boot/modules/
- /usr/kernel/modules/
Correct answer: /lib/modules/<kernel-version>/
Kernel modules are stored under /lib/modules/<kernel-version>/ and are organized by subsystem type.
What type of storage device uses NAND flash memory and has no moving parts?