First 50 of 200 questions. Each one lists the choices, the correct answer, and an explanation. The checker at the top of this page saves progress in this browser when it is available.
Continue in the practice tool above to load more questions, 50 at a time.
Question 1IT Fundamentals and Computer Hardware
Which component of a computer is primarily responsible for executing program instructions and performing arithmetic operations?
- The hard disk drive
- The central processing unit Correct answer.
- The graphics card
- The power supply unit
Explanation
The central processing unit fetches, decodes, and executes instructions and performs arithmetic and logical operations, making it the main engine of computation. Other components support storage, power delivery, or rendering rather than general instruction execution.
Question 2IT Fundamentals and Computer Hardware
Which type of memory is volatile and loses its contents when power is removed?
- Solid-state drive storage
- Read-only memory
- Optical disc storage
- Random access memory Correct answer.
Explanation
Random access memory holds working data and instructions only while powered, so its contents vanish on shutdown. Non-volatile media such as ROM, SSDs, and optical discs retain data without power.
Question 3IT Fundamentals and Computer Hardware
What is the main purpose of an operating system?
- To manage hardware resources and provide services to applications Correct answer.
- To encrypt all network traffic automatically
- To convert analog signals into digital data
- To compile source code into machine instructions
Explanation
An operating system coordinates hardware such as memory, storage, and processors while offering abstractions and services that applications rely on. Compilation, encryption, and signal conversion are handled by other software or hardware.
Question 4IT Fundamentals and Computer Hardware
Which unit is used to express the clock speed of a modern processor?
- Milliampere-hours
- Gigahertz Correct answer.
- Gigabits per second
- Gigabytes
Explanation
Clock speed measures cycles per second, so processors are rated in hertz, commonly gigahertz. Gigabytes measure storage, gigabits per second measure throughput, and milliampere-hours measure battery capacity.
Question 5IT Fundamentals and Computer Hardware
Which connector standard is commonly used to attach an internal hard drive or SSD inside a desktop computer?
- SATA Correct answer.
- RJ-45
- HDMI
- USB-C
Explanation
SATA is the standard interface for connecting internal mass storage devices to a motherboard. HDMI carries video, RJ-45 is for Ethernet networking, and USB-C is a general external connector.
Question 6IT Fundamentals and Computer Hardware
What does the acronym BIOS refer to on a personal computer?
- A standard for wireless network security
- A firmware that initializes hardware and starts the boot process Correct answer.
- A protocol for encrypting disk volumes
- A format for compressing image files
Explanation
BIOS is firmware stored on the motherboard that performs power-on self-test, initializes hardware, and hands control to the bootloader. It is not an encryption protocol, wireless standard, or image format.
Question 7IT Fundamentals and Computer Hardware
Which of the following best describes a bit?
- A unit of processor clock frequency
- A group of eight binary digits
- A single binary digit, either 0 or 1 Correct answer.
- One thousand bytes
Explanation
A bit is the smallest unit of digital data and holds exactly one of two values, 0 or 1. Eight bits form a byte, and clock frequency is measured in hertz.
Question 8IT Fundamentals and Computer Hardware
Which device converts digital computer signals into analog signals for transmission over a telephone line and back again?
- A switch
- A modem Correct answer.
- A router
- A hub
Explanation
A modem performs modulation and demodulation, translating between digital data and analog signals suitable for a transmission medium. Routers, switches, and hubs forward packets or frames but do not perform this conversion.
Question 9IT Fundamentals and Computer Hardware
A user wants to reduce the time it takes for frequently used files to load from storage. Which upgrade is most directly effective?
- Adding a second monitor
- Upgrading the power supply wattage
- Replacing the hard disk drive with a solid-state drive Correct answer.
- Installing a larger CPU cooler
Explanation
Solid-state drives have far lower access latency and higher random read throughput than mechanical drives, so replacing the HDD shortens file load times. Monitors, power supplies, and coolers do not affect storage read speed.
Question 10IT Fundamentals and Computer Hardware
A computer has 8 GB of RAM and runs many applications simultaneously. The system becomes slow and the disk activity light stays on. What is the most likely cause?
- Excessive paging because physical memory is exhausted Correct answer.
- The network cable is faulty
- The CPU clock multiplier is set too low
- The monitor refresh rate is too high
Explanation
When physical memory is exhausted, the operating system moves pages to disk, and heavy paging causes sustained disk activity and slowdowns. Clock settings, refresh rate, and cabling do not explain continuous disk activity under memory pressure.
Question 11IT Fundamentals and Computer Hardware
Which characteristic distinguishes a solid-state drive from a magnetic hard disk drive?
- The SSD can only hold a single file
- The SSD stores data only while powered
- The SSD requires a higher operating voltage than an HDD
- The SSD has no moving mechanical parts Correct answer.
Explanation
SSDs store data in flash memory cells with no spinning platters or moving heads, which makes them shock resistant and quiet. They are non-volatile, operate at similar voltages, and hold many files.
Question 12IT Fundamentals and Computer Hardware
What is the primary function of the motherboard chipset?
- To manage communication between the CPU and peripheral components Correct answer.
- To store the operating system permanently
- To supply alternating current to the computer
- To render three-dimensional graphics
Explanation
The chipset provides the pathways and controllers that connect the processor to memory, storage, and peripherals. Persistent OS storage, graphics rendering, and AC power conversion are handled by other components.
Question 13IT Fundamentals and Computer Hardware
A technician installs two 4 GB memory modules of the same speed in matched slots to enable dual-channel operation. What benefit does this configuration primarily provide?
- Reduced power consumption of the CPU
- Doubled storage capacity
- Increased memory bandwidth Correct answer.
- Faster boot from the network
Explanation
Dual-channel operation lets the memory controller access two modules in parallel, increasing effective bandwidth to the processor. It does not double total capacity beyond the sum of the modules, nor does it primarily cut CPU power or speed network boot.
Question 14IT Fundamentals and Computer Hardware
Which statement correctly compares a 32-bit and a 64-bit operating system?
- A 64-bit OS cannot run 32-bit applications
- A 32-bit OS supports larger virtual address spaces
- A 32-bit OS runs only on 64-bit processors
- A 64-bit OS can address more memory than a 32-bit OS Correct answer.
Explanation
A 64-bit operating system uses wider addresses and can therefore address substantially more physical and virtual memory than a 32-bit system, which is limited to roughly 4 GB of address space. Compatibility details and processor requirements differ from the other options.
Question 15IT Fundamentals and Computer Hardware
A user reports that a laptop battery drains quickly even when idle. Which action is most likely to reduce idle power use?
- Replacing the hard drive with a larger one
- Adding an external keyboard
- Disabling unused wireless radios and background applications Correct answer.
- Increasing the screen brightness to maximum
Explanation
Wireless radios and background applications consume power even when the laptop is idle, so disabling unused ones reduces drain. Brightness increases consumption, and external peripherals or larger drives add rather than remove load.
Question 16IT Fundamentals and Computer Hardware
Which technology allows a processor to execute multiple threads simultaneously on separate physical cores?
- Hyper-threading on a single core
- Overclocking
- Caching
- Multicore processing Correct answer.
Explanation
Multicore processors contain multiple independent execution cores that can run threads truly in parallel. Hyper-threading lets one core interleave two threads but does not provide separate physical cores, while overclocking and caching do not add cores.
Question 17IT Fundamentals and Computer Hardware
A network administrator assigns a computer the address 192.168.1.20 with subnet mask 255.255.255.0. Which statement about this configuration is correct?
- The address is a multicast address
- The address belongs to a private range used in local networks Correct answer.
- The address is a public address routable on the internet
- The address is a loopback address
Explanation
The 192.168.0.0/16 block is reserved for private use and is not routed on the public internet. Loopback addresses are in 127.0.0.0/8, and multicast uses the 224.0.0.0/4 range.
Question 18IT Fundamentals and Computer Hardware
What is the role of a device driver?
- To store user documents in encrypted form
- To assign IP addresses to network hosts
- To translate operating system requests into commands a specific hardware device understands Correct answer.
- To compile high-level code into assembly
Explanation
A driver is software that mediates between the operating system and a particular hardware device, translating generic requests into device-specific operations. Address assignment, document encryption, and compilation are performed by other software.
Question 19IT Fundamentals and Computer Hardware
A workstation with a quad-core CPU runs four CPU-bound processes. Which scheduling outcome is generally achievable?
- Each process can run concurrently on its own core Correct answer.
- The processes cannot be scheduled without a GPU
- All processes must share a single core by definition
- Only one process can ever run at a time
Explanation
With four cores and four CPU-bound processes, the scheduler can place one process on each core so they execute in parallel. Single-core serialization is not required, and a GPU is irrelevant to general process scheduling.
Question 20IT Fundamentals and Computer Hardware
A user needs to transfer a large file between two computers on the same local network with the highest practical throughput. Which connection is generally best?
- A USB 2.0 flash drive carried between the machines
- A Bluetooth 4.0 pairing
- A wired Gigabit Ethernet link Correct answer.
- An infrared link
Explanation
Wired Gigabit Ethernet provides about 1 Gbps of reliable, low-latency bandwidth, far exceeding USB 2.0, Bluetooth, and infrared for bulk transfer. Physical media transfer also requires manual steps and is slower in practice.
Question 21IT Fundamentals and Computer Hardware
Which statement accurately describes the difference between a compiler and an interpreter?
- A compiler can only handle assembly language
- A compiler runs on hardware, while an interpreter runs only in memory
- An interpreter produces faster machine code than a compiler in all cases
- A compiler translates the entire program before execution, while an interpreter translates and executes statements incrementally Correct answer.
Explanation
A compiler processes the whole source program into an executable form ahead of time, whereas an interpreter translates and runs code piece by piece during execution. Performance and language scope vary and are not fixed as the other options claim.
Question 22IT Fundamentals and Computer Hardware
A system uses a direct-mapped cache with 64 lines of 32 bytes each. What is the total cache capacity in bytes?
- 4096 bytes
- 512 bytes
- 2048 bytes Correct answer.
- 1024 bytes
Explanation
Total capacity equals the number of lines multiplied by the line size, so 64 times 32 equals 2048 bytes. The other values result from misapplying one of the factors.
Question 23IT Fundamentals and Computer Hardware
In a little-endian architecture, how is the 32-bit value 0x12345678 stored in memory starting at the lowest address?
- 87 65 43 21
- 78 56 34 12 Correct answer.
- 34 12 78 56
- 12 34 56 78
Explanation
Little-endian order stores the least significant byte first, so the lowest address holds 0x78, followed by 0x56, 0x34, and 0x12. Big-endian order would place 0x12 first.
Question 24IT Fundamentals and Computer Hardware
Which condition most accurately describes a deadlock among processes competing for resources?
- Each process in a set waits for a resource held by another process in the same set, forming a cycle Correct answer.
- A process repeatedly reads the same memory location
- One process uses more CPU time than its fair share
- A thread finishes before its parent process
Explanation
Deadlock requires a circular wait in which each member of a set holds a resource another member needs, so none can proceed. High CPU use, repeated reads, and early thread termination do not by themselves create a deadlock.
Question 25IT Fundamentals and Computer Hardware
A RAID 5 array with four disks loses one disk. What is the expected outcome?
- The array doubles its write performance
- The array automatically converts to RAID 0
- All data is lost immediately
- The array continues to operate in a degraded state using parity Correct answer.
Explanation
RAID 5 distributes parity across the disks, allowing the array to reconstruct data when a single disk fails, though performance is degraded until replacement. Losing one disk does not destroy data, convert the level, or improve write speed.
Question 26IT Fundamentals and Computer Hardware
Which type of connector is used to attach an internal SATA hard disk drive to a motherboard?
- A narrow L-shaped 7-pin data connector Correct answer.
- A 6-pin PCIe power connector
- A wide 40-pin ribbon connector
- A 24-pin power connector
Explanation
SATA drives use a thin data cable with a 7-pin connector that has a distinctive L-shaped key to prevent incorrect insertion. The older 40-pin ribbon cable belongs to the IDE/PATA standard, which SATA replaced. Power is supplied separately through a wider 15-pin SATA power connector.
Question 27IT Fundamentals and Computer Hardware
Which port type is designed so that a cable can be inserted in either orientation?
- USB Type-A
- RJ-45
- USB Type-C Correct answer.
- PS/2
Explanation
USB Type-C uses a symmetrical 24-pin design, so the plug works regardless of which way it is turned. USB Type-A, PS/2, and RJ-45 are all keyed or shaped so that only one insertion orientation is possible. This reversible design is a defining feature of the Type-C standard.
Question 28IT Fundamentals and Computer Hardware
A technician must add a second internal hard disk to a desktop that already uses one SATA drive and has spare SATA ports and power leads. Which two connections are required for the new drive to function?
- A SATA data cable to the motherboard only, because the drive draws power from the data bus
- A SATA power cable from the power supply and a ribbon cable to the motherboard
- A SATA data cable to the motherboard and a SATA power cable from the power supply Correct answer.
- A SATA data cable to the motherboard and a second data cable to the existing drive
Explanation
An internal SATA drive needs both a data path to the controller and a separate power source. The data cable runs from the drive to a SATA port on the motherboard, while a SATA power connector from the power supply provides operating voltage. Neither connection alone is sufficient for the drive to spin up and communicate.
Question 29IT Fundamentals and Computer Hardware
A user's desktop powers on, the fans spin, but no image appears and the monitor reports no signal. The graphics card is seated in its slot and the monitor works when connected to another computer. Which step should be taken first?
- Replace the motherboard because the PCIe slot has failed
- Reinstall the operating system to refresh the display settings
- Replace the power supply with a higher-wattage unit
- Verify that the monitor cable is connected to the graphics card output rather than a motherboard video port Correct answer.
Explanation
When a discrete graphics card is installed, its outputs usually provide the active video signal, and motherboard video ports may be inactive or tied to integrated graphics. A cable plugged into the wrong port produces exactly this no-signal symptom with otherwise normal startup. Checking the cable's port is a quick, non-destructive first step before swapping hardware.
Question 30IT Fundamentals and Computer Hardware
A motherboard supports dual-channel memory and has four DIMM slots labeled A1, A2, B1, and B2, where A1 and B1 form one channel and A2 and B2 form the other. A technician installs one 8 GB module in A1 and one 8 GB module in A2. What is the resulting memory configuration?
- Single-channel operation with 16 GB total, because the modules populate different channels unevenly Correct answer.
- Dual-channel operation with 16 GB total, because both modules are the same size
- Single-channel operation with 8 GB usable, because the second module is disabled
- Dual-channel operation with 16 GB total, because any two populated slots enable dual channel
Explanation
Dual-channel mode requires matched modules to be installed one per channel so the controller can interleave accesses. Slots A1 and A2 belong to different channels but leave the pairing unbalanced, since each channel normally needs an equal module in its partner slot. Total capacity still equals the sum of installed modules, so the system runs in single-channel mode with 16 GB available.
Question 31Operating Systems and Software
Which component of an operating system is responsible for deciding which process runs on the CPU next?
- The file system
- The linker
- The device driver
- The scheduler Correct answer.
Explanation
The scheduler is the kernel subsystem that selects among ready processes and assigns the CPU to one of them according to a scheduling policy. It balances goals such as fairness, throughput, and response time. The other components listed handle program construction, hardware control, and persistent storage rather than CPU dispatch decisions.
Question 32Operating Systems and Software
What is the primary purpose of virtual memory in a modern operating system?
- To give each process an isolated address space that can exceed physical RAM Correct answer.
- To compress files stored on disk
- To encrypt data moving across a network
- To increase the clock speed of the processor
Explanation
Virtual memory maps each process's logical addresses onto physical frames via page tables, providing isolation and allowing the total address space to exceed installed RAM by paging to secondary storage. It also simplifies memory protection and sharing. Performance tuning of the CPU clock or network encryption are unrelated functions.
Question 33Operating Systems and Software
A process is described as being in the 'ready' state. What does this mean?
- It is currently executing on a processor core
- It is waiting for a disk read to complete
- It has terminated but its parent has not yet collected its status
- It is able to run and is waiting for the CPU to be assigned Correct answer.
Explanation
A ready process has all resources it needs except the CPU, so it sits in the scheduler's run queue until dispatched. The running state means execution is actually occurring, and the blocked state means the process awaits an event such as I/O. A terminated process awaiting reaping is a zombie, a distinct condition.
Question 34Operating Systems and Software
Which of the following is an example of a monolithic kernel design?
- A design where each service runs as a separate user-space server
- A design where all core services run together in a single privileged address space Correct answer.
- A design where the kernel is generated per application at compile time
- A design with no kernel at all, only device firmware
Explanation
In a monolithic kernel, scheduling, memory management, file systems, and drivers all execute in one privileged address space, which yields fast internal calls but a larger trusted code base. Microkernels instead push services into user-space servers that communicate by message passing. Per-application kernels and kernel-free designs are not standard classifications.
Question 35Operating Systems and Software
In a UNIX-like system, what does the shell primarily do?
- It stores the file system journal
- It manages physical memory pages
- It reads commands and arranges for programs to be executed Correct answer.
- It schedules threads on the CPU
Explanation
The shell is a user-level command interpreter: it parses input, expands variables and wildcards, and launches programs, often chaining them with pipes and redirection. It relies on system calls to create processes and connect their input and output. Memory paging, thread scheduling, and journaling belong to the kernel.
Question 36Operating Systems and Software
Which statement best describes the difference between a process and a thread?
- A thread always has its own private address space
- A process is lighter weight than a thread
- Threads within a process share the address space but have separate stacks Correct answer.
- A process cannot contain more than one thread
Explanation
Threads of one process share code, data, and open files but each keeps its own stack, registers, and program counter so it can execute independently. Processes, by contrast, have separate address spaces. Creating a thread is therefore cheaper than creating a process.
Question 37Operating Systems and Software
What is the role of a file system's inode in UNIX-like systems?
- It maps hostnames to IP addresses
- It holds the password hashes for user accounts
- It stores the contents of a file's data blocks
- It records metadata about a file such as size, permissions, and block locations Correct answer.
Explanation
An inode is a metadata structure holding a file's type, permissions, owner, size, timestamps, and pointers to its data blocks. The file name lives in a directory entry that refers to the inode. File contents reside in separate data blocks, not inside the inode itself.
Question 38Operating Systems and Software
A user runs a program that opens a file, reads it, and closes it. Which sequence correctly orders the typical system calls used?
- read, open, close
- close, open, read
- open, read, close Correct answer.
- open, close, read
Explanation
The program must first obtain a file descriptor with open, then transfer data with read using that descriptor, and finally release the descriptor with close. Reversing the order would mean reading from or closing a descriptor that does not yet exist.
Question 39Operating Systems and Software
In a system using fixed-size pages of 4 KB, a process accesses logical address 0x3000. Which page number does this address fall in?
- 1
- 0
- 3 Correct answer.
- 2
Explanation
Dividing the address by the page size gives the page number: 0x3000 is 12288 decimal, and 12288 divided by 4096 equals 3. The offset within the page is zero, so the address is the first byte of page 3. This is the standard page-number computation used in paging.
Question 40Operating Systems and Software
Four processes each need 6 seconds of CPU time and arrive at the same moment. Using round-robin scheduling with a 2-second quantum, how long until the last process finishes?
- 12 seconds
- 6 seconds
- 24 seconds Correct answer.
- 18 seconds
Explanation
With four processes and a 2-second quantum, each round of the scheduler delivers 2 seconds to each process, totaling 8 seconds per round. Each process needs 6 seconds, which is three quanta, so three full rounds are required. Three rounds times 8 seconds gives 24 seconds of elapsed time.
Question 41Operating Systems and Software
A system has 3 frames and receives the page reference string 1, 2, 3, 1, 2, 4, 1, 2. Using FIFO replacement, how many page faults occur?
- 4
- 7
- 6 Correct answer.
- 5
Explanation
References 1, 2, 3 each fault to fill the frames. Reference 1 hits, and 2 hits. Reference 4 faults and evicts 1, the oldest page. Reference 1 then faults and evicts 2, and reference 2 faults and evicts 3. Counting gives six faults in total.
Question 42Operating Systems and Software
What is thrashing in a virtual-memory system?
- The disk controller retries failed reads many times
- The system spends most of its time paging and little time executing user code Correct answer.
- The CPU cache repeatedly misses on the same address
- A process holds a lock for an excessively long time
Explanation
Thrashing occurs when the sum of the processes' working sets exceeds available physical memory, so pages are evicted and immediately needed again. The resulting page-fault storm keeps the disk busy and CPU utilization collapses. Reducing the degree of multiprogramming or adding memory relieves the condition.
Question 43Operating Systems and Software
Which mechanism allows two threads to update a shared counter without lost updates?
- Guarding the increment with a mutex Correct answer.
- Increasing the thread priority
- Using a larger integer type for the counter
- Disabling the file system cache
Explanation
An increment is a read-modify-write sequence that can interleave, so a mutex serializes the critical section and prevents lost updates. Atomic instructions such as compare-and-swap achieve the same effect. Changing the data type or priorities does not make the sequence atomic.
Question 44Operating Systems and Software
What condition is necessary for a deadlock among processes competing for resources?
- Frequent context switching between threads
- Circular wait among processes holding resources Correct answer.
- Preemption of held resources by the scheduler
- Priority inversion in the scheduler
Explanation
Deadlock requires four conditions to hold simultaneously: mutual exclusion, hold-and-wait, no preemption, and circular wait. Breaking any one of them prevents the deadlock. Preemption and frequent context switching actually tend to break deadlock rather than cause it.
Question 45Operating Systems and Software
Which scheduling algorithm is most likely to starve a low-priority process indefinitely?
- Strict priority scheduling Correct answer.
- Round-robin with equal quanta
- Shortest remaining time first with aging
- First-come, first-served
Explanation
Under strict priority scheduling, a continuous supply of higher-priority ready processes keeps the CPU away from lower-priority ones, causing starvation. Aging, which gradually raises the priority of waiting processes, is the standard remedy. Round-robin and FCFS treat processes more evenly.
Question 46Operating Systems and Software
What is the function of a translation lookaside buffer (TLB)?
- It stores the contents of recently written files
- It holds the scheduler's run queue
- It caches recent virtual-to-physical address translations Correct answer.
- It buffers network packets before delivery
Explanation
The TLB is a small, fast associative cache inside the memory-management unit that holds recently used page-table entries. A TLB hit avoids walking the page table in memory, greatly reducing translation cost. On a context switch the TLB is flushed or tagged to avoid stale translations.
Question 47Operating Systems and Software
Which statement accurately describes demand paging?
- Pages are loaded in reverse order of their virtual addresses
- All pages of a process are loaded into memory when it starts
- Pages are never written back to secondary storage
- Pages are loaded only when a reference to them causes a fault Correct answer.
Explanation
Demand paging loads a page lazily: the first access triggers a fault, and the kernel brings the page in from backing store. This reduces startup cost and memory use compared with loading the entire image. Dirty pages are later written back when evicted.
Question 48Operating Systems and Software
A process calls fork and the call returns a value of 0. What does this indicate?
- The caller is the parent process
- The fork failed
- The child has already terminated
- The caller is the newly created child process Correct answer.
Explanation
In the child, fork returns 0, giving it a simple way to identify itself. In the parent, fork returns the child's process identifier, and a negative value signals failure. Programs therefore branch on the return value to run different code in each process.
Question 49Operating Systems and Software
What is the main advantage of a microkernel architecture?
- It guarantees higher throughput than any monolithic kernel
- It reduces the amount of code running in privileged mode, improving fault isolation Correct answer.
- It removes the need for interprocess communication
- It eliminates the need for context switches entirely
Explanation
A microkernel keeps only essential services such as scheduling and basic memory management in kernel mode, moving drivers and file systems to user-space servers. A fault in one server can then be restarted without crashing the whole system. The trade-off is extra message-passing overhead between servers.
Question 50Operating Systems and Software
Which technique lets a program perform I/O without blocking its thread while the data transfer completes?
- Using a larger stack size for the thread
- Non-blocking or asynchronous I/O with readiness notification Correct answer.
- Increasing the process's nice value
- Disabling interrupts on all CPUs
Explanation
Non-blocking and asynchronous interfaces let a thread initiate a transfer and continue other work, learning of completion through readiness polling, signals, or completion events. This underpins event-driven servers that handle many connections per thread. Stack size and scheduling priority do not change whether a call blocks.