What is the primary function of a hypervisor in virtualization?
A hypervisor, also known as a virtual machine monitor (VMM), is software, firmware, or hardware that creates, runs, and manages virtual machines (VMs) by abstracting the underlying physical hardware, allowing multiple operating systems to run on a single host machine simultaneously.
Which of the following is a key feature of a microservices architecture?
Microservices architecture decomposes a large application into a collection of small, independent services that communicate over well-defined APIs, each focusing on a specific business capability, enabling easier scaling, deployment, and maintenance compared to monolithic designs.
What is the purpose of a CAPTCHA in online systems?
CAPTCHA (Completely Automated Public Turing test to tell Computers and Humans Apart) presents challenges like image recognition or distorted text that are easy for humans but difficult for bots, preventing automated abuse such as spam or fake account creation on websites.
Which programming construct is used to handle multiple conditions in a program?
A switch-case statement allows a variable to be tested against a list of values, executing different code blocks based on the match, providing an efficient alternative to multiple if-else statements for handling numerous discrete conditions.
What is the role of a denial-of-service (DoS) attack in cybersecurity?
A DoS attack floods a target system, network, or website with excessive traffic or requests, consuming resources and making it unavailable to legitimate users, often used maliciously to cause downtime or as a smokescreen for other attacks.
Which of the following is a characteristic of a holographic storage system?
Holographic storage uses laser interference patterns to store data in three-dimensional volumes within a photosensitive material, allowing massive parallel access and high-density storage far beyond traditional 2D optical discs.
What is the primary benefit of using a content delivery network (CDN)?
A CDN distributes content across a global network of edge servers, caching data closer to users to reduce latency, improve load times, and handle traffic spikes, enhancing user experience for websites and streaming services.
Which of the following is an example of a markup language?
XML (eXtensible Markup Language) is a flexible markup language used to structure, store, and transport data with custom tags, unlike programming languages like Java, Python, or C# which execute logic and computations.
What is the function of a packet sniffer in network analysis?
A packet sniffer (or analyzer) intercepts and logs network traffic data packets, allowing inspection of headers, payloads, and protocols for troubleshooting, security monitoring, or performance optimization in networks.
Which layer of the TCP/IP model corresponds to the physical layer of the OSI model?
The Network Access layer in TCP/IP (combining OSI's Physical and Data Link layers) handles hardware addressing, physical transmission, and media access, directly corresponding to the OSI Physical layer's bit-level signaling and cabling.
What is the purpose of a genetic algorithm in artificial intelligence?
Genetic algorithms mimic natural evolution through selection, crossover, and mutation to iteratively search for optimal solutions in complex, multi-variable problems like scheduling or design optimization in AI.
Which of the following is a feature of a wearable computing device?
Wearables like smartwatches or fitness trackers are designed to be embedded in or attached to clothing/accessories for seamless, hands-free use, collecting real-time data such as health metrics while remaining portable and unobtrusive.
What is the role of a semaphore in operating systems?
Semaphores are synchronization primitives that use counters to manage concurrent access to shared resources, preventing race conditions by signaling processes when resources are available or locked.
Which of the following is a benefit of using a gamification approach in learning?
Gamification incorporates game mechanics like points, badges, and leaderboards into educational content to boost learner motivation, engagement, and retention by making abstract or repetitive tasks more interactive and rewarding.
What is the function of a gateway in a network?
A gateway translates protocols between dissimilar networks (e.g., LAN to WAN), enabling communication by performing protocol conversion, routing, and sometimes security functions at the network boundary.
Which of the following is a type of phishing attack targeting high-profile individuals?
Spear phishing is a targeted phishing variant that crafts personalized emails or messages to specific high-value individuals (e.g., executives) to extract sensitive information, unlike broad phishing or malware like adware/spyware/trojans.
What is the purpose of a profiler in software optimization?
A profiler instruments code to measure execution time, memory usage, and resource consumption, pinpointing inefficient sections (bottlenecks) for optimization, improving overall application speed and efficiency.
Which of the following is a characteristic of a clustered file system?
Clustered file systems distribute data across multiple interconnected nodes for high availability, scalability, and parallel access, allowing shared storage in environments like HPC or cloud computing.
What is the purpose of a honeypot in network security?
A honeypot is a decoy system designed to lure attackers, capturing their tactics, tools, and methods for analysis, helping improve defenses without risking real assets.
Which of the following is an example of a big data processing tool?
Hadoop is an open-source framework for distributed storage and processing of large-scale data sets across clusters using HDFS for storage and MapReduce for parallel computation, ideal for big data analytics.
What is the role of a session layer in the OSI model?
The Session layer (OSI Layer 5) handles setup, coordination, and termination of communication sessions between applications, ensuring dialog control, synchronization, and recovery from disruptions.
Which of the following is a feature of a serverless computing model?
Serverless computing (e.g., AWS Lambda) abstracts server management, automatically scaling and provisioning resources based on demand, allowing developers to focus on code without infrastructure concerns.
What is the purpose of a firmware rollback?
Firmware rollback restores a device's low-level software to a prior stable version if an update introduces bugs or instability, ensuring functionality and data integrity in embedded systems.
Which of the following is a benefit of using continuous integration in development?
Continuous Integration (CI) automates merging code changes into a shared repository with immediate testing, detecting integration errors early, improving code quality, and accelerating release cycles.
What is the function of a parity bit in data transmission?
A parity bit adds redundancy to binary data by setting it so the total number of 1s is even (even parity) or odd (odd parity), allowing the receiver to detect single-bit transmission errors.
Which of the following is a characteristic of a software-defined network (SDN)?
SDN separates the control plane (centralized software controller) from the data plane (hardware switches), enabling programmable, dynamic network management for better automation and efficiency.
What is the role of a coroutine in programming?
Coroutines allow functions to pause and resume execution cooperatively, yielding control without preemption, facilitating lightweight multitasking in languages like Python or Lua for tasks like generators or async I/O.
Which of the following is an example of a raster graphics format?
BMP (Bitmap) is a raster format storing images as pixel grids, suitable for detailed photos but losing quality when scaled, unlike vector formats like SVG, AI, or EPS which use mathematical paths.
What is the purpose of a testbed in software development?
A testbed is an isolated setup with hardware, software, and data mimicking production to safely test new features, integrations, or fixes, identifying issues without affecting live systems.
Which of the following is a feature of a mesh network topology?
Mesh topology connects nodes directly to multiple others, providing redundant paths for resilient communication, self-healing, and high throughput, though complex to implement compared to star or bus.
What is the function of a watchdog timer in embedded systems?
A watchdog timer is a hardware counter that resets the microcontroller if not periodically serviced (e.g., by a heartbeat signal), preventing hangs or crashes in real-time embedded applications.
Which of the following is a benefit of using containerization technology?
Containerization (e.g., Docker) packages applications with dependencies into isolated, lightweight units sharing the host OS kernel, ensuring consistency across environments and efficient resource use.
What is the purpose of a nonce in cryptographic systems?
A nonce (number used once) is a random or sequential value included in cryptographic protocols to ensure message uniqueness, thwarting replay attacks where intercepted data is resent maliciously.
Which of the following is a characteristic of a fog computing system?
Fog computing extends cloud capabilities to the network edge (e.g., IoT gateways), processing data locally near sources to reduce latency, bandwidth use, and cloud dependency in time-sensitive applications.
What is the role of a stub in distributed computing?
In RPC (Remote Procedure Call), a stub on the client marshals arguments and invokes the remote service transparently, while the server stub unmarshals and executes, abstracting network details for distributed programming.
Which of the following is an example of a time-sharing operating system?
Unix is a multi-user, time-sharing OS that allocates CPU time slices to multiple processes or users via scheduling, enabling concurrent interactive sessions, unlike single-user MS-DOS or firmware BIOS.
What is the purpose of a data lake in data management?
A data lake is a centralized repository for storing vast amounts of raw, unstructured, semi-structured, or structured data in native format until needed, supporting flexible big data analytics without predefined schemas.
Which of the following is a feature of a zero-trust security model?
Zero-trust assumes no implicit trust, requiring continuous verification of users, devices, and contexts via multi-factor authentication, micro-segmentation, and least privilege to mitigate insider and external threats.
What is the function of a bus controller in a computer system?
The bus controller manages arbitration, timing, and protocol enforcement on the system bus, ensuring orderly data/address/control signal transfers between CPU, memory, and peripherals.
Which of the following is a benefit of using 6G technology in communication?
6G promises terabit-per-second speeds, sub-millisecond latency, and massive connectivity for applications like holographic communication and AI-driven networks, building on 5G with advanced mmWave, THz, and AI integration.
Now practice in exam mode
You've studied the answers — now test yourself under real exam conditions with the timer running.
Start WAEC Computer Science 2022 Quiz