JAMB Past Questions

JAMB Computer Studies 2019
Questions & Answers

40 questions · Correct answers highlighted · 40 with explanations

40 Total Questions
2019 Exam Year
40 With Explanations
Ready to test yourself? Take the full JAMB Computer Studies 2019 CBT quiz — timed, just like the real exam.
Start Quiz
1
Question 1 of 40
JAMB · Computer Studies · 2019

What is the primary function of the address bus in a computer system?

A. To transfer data between CPU and memory
B. To carry memory addresses from CPU to memory
C. To execute program instructions
D. To manage peripheral devices
Explanation

A student might mistakenly think option A is correct because data transfer is a fundamental role of bus architectures generally. However, looking at how instructions operate, the correct selection is B because it carries memory addresses from the CPU to memory or other devices, specifying where data should be read from or written to. Common mistake: confusing the address bus's specific role in pinpointing memory locations with the data bus's role in moving the actual content.

2
Question 2 of 40
JAMB · Computer Studies · 2019

Which data structure is most suitable for implementing a task scheduler?

A. Stack
B. Priority Queue
C. Linked List
D. Array
Explanation

Students could erroneously choose Stack or Array if they assume standard linear processing is sufficient for task management. Option B is right because a priority queue allows tasks to be processed based on their priority, with efficient insertion and removal, making it ideal for a task scheduler. Common mistake: assuming a standard queue handles ordered urgency without requiring priority-based adjustments.

3
Question 3 of 40
JAMB · Computer Studies · 2019

What does NVRAM stand for in computer hardware?

A. Non-Volatile Random Access Memory
B. Network Variable Runtime Access Memory
C. Native Virtual Read-Only Memory
D. Normalized Variable Access Module
Explanation

A student might select option B or C by misinterpreting technical abbreviations like Variable or Runtime. Option A is correct because NVRAM stands for Non-Volatile Random Access Memory, retaining data without power, often used for firmware settings. Common mistake: forgetting that NVRAM stands for Non-Volatile Random Access Memory rather than variable runtime access.

4
Question 4 of 40
JAMB · Computer Studies · 2019

Which programming language is commonly used for machine learning model development?

A. Python
B. COBOL
C. Perl
D. Pascal
Explanation

Learners might choose COBOL or Perl if they confuse modern analytical tools with older legacy scripting systems. Python is the correct answer here because it is widely used for machine learning due to its extensive libraries like TensorFlow, scikit-learn, and Pandas. Common mistake: mixing up languages built for data science with traditional systems engineering tools.

5
Question 5 of 40
JAMB · Computer Studies · 2019

What is the hexadecimal equivalent of the binary number 101011?

A. 2A
B. 2B
C. 2C
D. 2D
Explanation

A student might pick option A by miscalculating the hex conversion or misinterpreting the value of the letters. The correct option is B because binary 101011 evaluates to 32 + 8 + 2 + 1, which equals 43 in decimal, and converting 43 to hexadecimal gives 2*16 + 11, resulting in 2B where B represents 11. Common mistake: miscalculating the decimal sum or the hex digit representation for 11.

6
Question 6 of 40
JAMB · Computer Studies · 2019

Which of the following is a distributed NoSQL database?

A. SQLite
B. Couchbase
C. PostgreSQL
D. Oracle
Explanation

A student could mistakenly choose SQLite or PostgreSQL assuming any SQL database fits distributed paradigms. Option B is correct because Couchbase is a distributed NoSQL database, supporting scalable, high-performance data storage, unlike SQLite, PostgreSQL, or Oracle. Common mistake: confusing relational databases with distributed NoSQL systems.

7
Question 7 of 40
JAMB · Computer Studies · 2019

What does CSS stand for in web development?

A. Cascading Style Sheets
B. Centralized System Service
C. Coded Structural Syntax
D. Creative Style System
Explanation

Students might incorrectly pick option B or C thinking system services or structural syntax define web presentation. Option A is right because CSS stands for Cascading Style Sheets, used for styling and formatting web pages. Common mistake: confusing style sheet language with structural markup.

8
Question 8 of 40
JAMB · Computer Studies · 2019

Which algorithm is used for finding the shortest path in a weighted graph with negative edges?

A. Bellman-Ford Algorithm
B. Kruskal’s Algorithm
C. Breadth-First Search
D. Selection Sort
Explanation

A student might guess Breadth-First Search if they confuse graph traversal with pathfinding computations. Option A is correct because the Bellman-Ford Algorithm finds the shortest path in a weighted graph, handling negative edge weights, unlike BFS or others. Common mistake: applying standard shortest path algorithms that fail when negative edge weights are present.

9
Question 9 of 40
JAMB · Computer Studies · 2019

What is the time complexity of searching in a balanced binary search tree?

A. O(1)
B. O(log n)
C. O(n)
D. O(n^2)
Explanation

Learners might choose O(n) if they mistakenly picture a worst-case linear traversal in an unoptimized list. The correct choice is B because searching in a balanced binary search tree takes O(log n) time due to its logarithmic height, ensuring efficient lookups. Common mistake: assuming tree search performance degrades to linear complexity regardless of structural balance.

10
Question 10 of 40
JAMB · Computer Studies · 2019

Which of the following is an example of a wearable input device?

A. Printer
B. Smartwatch
C. Monitor
D. Speaker
Explanation

A student might select Printer or Monitor by confusing output peripherals with input devices. Option B is the right choice because a smartwatch is a wearable input device, accepting user inputs via touch or voice, unlike printers, monitors, or speakers. Common mistake: mixing up output displays with wearable technology that accepts user interactions.

11
Question 11 of 40
JAMB · Computer Studies · 2019

What is the purpose of a shell in an operating system?

A. To compile programs
B. To provide a user interface for system interaction
C. To manage hardware
D. To store data
Explanation

A student might choose option A or C by confusing the shell with compilers or hardware management tools. Option B is correct because a shell provides a user interface (command-line or graphical) to interact with the operating system’s services. Common mistake: confusing the user-facing command shell with kernel-level hardware control.

12
Question 12 of 40
JAMB · Computer Studies · 2019

Which protocol is used for managing network devices remotely?

A. SNMP
B. FTP
C. HTTP
D. IMAP
Explanation

Learners might mistakenly pick FTP or HTTP assuming all remote protocols handle file transfer or web browsing. SNMP is correct because SNMP (Simple Network Management Protocol) is used for monitoring and managing network devices remotely. Common mistake: confusing file transfer and web protocols with specialized network management protocols.

13
Question 13 of 40
JAMB · Computer Studies · 2019

What is the primary role of a motherboard in a computer?

A. To execute programs
B. To connect and support computer components
C. To store permanent data
D. To manage network traffic
Explanation

A student might select option A or C by attributing CPU or storage functions to the base board. Option B is the right answer because the motherboard is the main circuit board, connecting and supporting components like the CPU, RAM, and storage. Common mistake: confusing the central processing unit's computing role with the motherboard's interconnectivity role.

14
Question 14 of 40
JAMB · Computer Studies · 2019

Which of the following is a logic programming language?

A. Python
B. Prolog
C. Java
D. C#
Explanation

A student could choose Python or Java assuming general-purpose languages cover logical paradigms automatically. Option B is correct because Prolog is a logic programming language used for AI and rule-based systems, unlike Python, Java, or C#. Common mistake: failing to distinguish declarative logic programming from imperative object-oriented languages.

15
Question 15 of 40
JAMB · Computer Studies · 2019

What does OCR stand for in computing?

A. Optical Character Recognition
B. Operational Control Register
C. Optimized Computing Resource
D. Object Code Runtime
Explanation

A student might select option B or D by guessing based on generic computing terms like register or runtime. Option A is correct because OCR stands for Optical Character Recognition, a technology for converting images of text into machine-readable data. Common mistake: confusing text recognition acronyms with hardware registers.

16
Question 16 of 40
JAMB · Computer Studies · 2019

Which sorting algorithm is most efficient for small datasets?

A. Quick Sort
B. Insertion Sort
C. Merge Sort
D. Heap Sort
Explanation

Learners might choose Quick Sort thinking fast average performance applies universally. Option B is the correct choice because Insertion Sort is efficient for small datasets due to its simplicity and low overhead, with O(n^2) complexity but good performance for small n. Common mistake: overlooking overhead differences that make simpler algorithms faster for tiny inputs.

17
Question 17 of 40
JAMB · Computer Studies · 2019

What is the purpose of a DHCP server in networking?

A. To resolve domain names
B. To assign IP addresses dynamically
C. To encrypt data
D. To manage email delivery
Explanation

A student might select option A if they confuse IP configuration with DNS domain resolution. Option B is right because a DHCP server dynamically assigns IP addresses to devices on a network, simplifying configuration. Common mistake: confusing dynamic address allocation with domain name resolution services.

18
Question 18 of 40
JAMB · Computer Studies · 2019

Which of the following is a non-volatile storage device?

A. RAM
B. SSD
C. Cache
D. Register
Explanation

Learners might pick RAM or Cache if they confuse temporary workspace memory with permanent storage. Option B is correct because an SSD (Solid State Drive) is non-volatile, retaining data without power, unlike RAM, cache, or registers, which are volatile. Common mistake: confusing volatile working memory with non-volatile persistent storage drives.

19
Question 19 of 40
JAMB · Computer Studies · 2019

What does XML stand for?

A. eXtensible Markup Language
B. eXecutable Machine Language
C. eXternal Module Link
D. eXtended Memory Logic
Explanation

A student might choose option B or D by misinterpreting the markup nature of data files. Option A is correct because XML stands for eXtensible Markup Language, used for structuring and storing data in a platform-independent format. Common mistake: mistaking markup language definitions for executable machine code.

20
Question 20 of 40
JAMB · Computer Studies · 2019

Which of the following is an example of a platform-as-a-service (PaaS) provider?

A. Heroku
B. Google Docs
C. Amazon S3
D. Zoom
Explanation

A student might select Google Docs or Zoom by confusing software-as-a-service end-user applications with infrastructure platforms. Heroku is correct because Heroku is a PaaS provider, offering a platform for deploying and managing applications, unlike Google Docs, Amazon S3, or Zoom. Common mistake: confusing developer deployment platforms with end-user productivity applications.

21
Question 21 of 40
JAMB · Computer Studies · 2019

What is the purpose of a variable in programming?

A. To execute code
B. To store and manipulate data
C. To define loops
D. To handle exceptions
Explanation

A student might choose option A or C by confusing data storage containers with control flow structures or execution blocks. Option B is correct because a variable stores and manipulates data, allowing programs to work with dynamic values. Common mistake: confusing data containers with operational code blocks.

22
Question 22 of 40
JAMB · Computer Studies · 2019

Which of the following is NOT a function of a database management system?

A. Data Storage
B. Data Retrieval
C. Code Compilation
D. Data Security
Explanation

A student might choose Data Storage or Data Retrieval thinking DBMS functions are being tested in reverse. Option C is the right selection because code compilation is not a function of a DBMS, which focuses on storing, retrieving, and securing data. Common mistake: failing to separate database operational tasks from software compilation tasks.

23
Question 23 of 40
JAMB · Computer Studies · 2019

What is the role of an API gateway in a microservices architecture?

A. To compile code
B. To manage and route API requests
C. To store data
D. To design interfaces
Explanation

A student might pick option A or C by mixing up gateway routing with compilation or storage duties. Option B is correct because an API gateway manages and routes API requests to appropriate microservices, handling authentication and load balancing. Common mistake: confusing traffic routing layers with data storage tiers.

24
Question 24 of 40
JAMB · Computer Studies · 2019

Which of the following is a continuous deployment tool?

A. GitLab CI/CD
B. Docker
C. Kubernetes
D. Nagios
Explanation

A student could mistakenly choose Docker or Kubernetes assuming containerization tools inherently handle continuous deployment pipelines. Option A is correct because GitLab CI/CD is a tool for continuous deployment, automating code integration and delivery, unlike Docker, Kubernetes, or Nagios. Common mistake: confusing container runtimes and orchestration with continuous delivery pipelines.

25
Question 25 of 40
JAMB · Computer Studies · 2019

What is the decimal equivalent of the hexadecimal number 5F?

A. 93
B. 94
C. 95
D. 96
Explanation

A student might pick option A or B by miscalculating the hex digit multiplication. Option C is correct because hexadecimal 5F is evaluated as 5*16 + 15, which equals 80 + 15, resulting in 95 in decimal. Common mistake: miscalculating the base-16 value of the letter F.

26
Question 26 of 40
JAMB · Computer Studies · 2019

Which of the following is a type of man-in-the-middle (MITM) attack?

A. ARP Spoofing
B. SQL Injection
C. Phishing
D. DDoS
Explanation

Students might mistakenly choose SQL Injection, Phishing, or DDoS, assuming they represent general cyber threats rather than a specific communication interception. Falsifying ARP responses allows an attacker to intercept communication, making ARP Spoofing a classic man-in-the-middle attack. Common mistake: Confusing general security vulnerabilities or attacks with specific interception techniques like ARP Spoofing.

27
Question 27 of 40
JAMB · Computer Studies · 2019

What does NAS stand for in networking?

A. Network-Attached Storage
B. Node Access System
C. Network Application Service
D. Native Address System
Explanation

Students might select Node Access System, Network Application Service, or Native Address System thinking they sound like technical hardware terms. A device providing file-based storage over a network is correctly identified as Network-Attached Storage (NAS). Common mistake: Guessing acronym expansions based on generic IT buzzwords rather than exact definitions.

28
Question 28 of 40
JAMB · Computer Studies · 2019

Which data structure is used for implementing a breadth-first search?

A. Stack
B. Queue
C. Heap
D. Array
Explanation

Students might mistakenly pick Stack, Heap, or Array because they are common data structures in programming. Breadth-first search explores nodes level by level by adhering to a First In, First Out (FIFO) discipline, which is the defining characteristic of a queue. Common mistake: Mixing up the First In, First Out nature of queues with the Last In, First Out nature of stacks.

29
Question 29 of 40
JAMB · Computer Studies · 2019

What is the purpose of a 'static' keyword in programming?

A. To define a loop
B. To associate a member with a class, not an instance
C. To handle exceptions
D. To sort data
Explanation

Students might incorrectly choose options related to defining a loop, handling exceptions, or sorting data because they confuse modifiers with control flow structures. The 'static' keyword associates a member (variable or method) with a class, allowing access without creating an instance. Common mistake: Assuming static members require object instantiation to be accessed.

30
Question 30 of 40
JAMB · Computer Studies · 2019

Which of the following is a high-level programming language?

A. Assembly
B. Python
C. Machine Code
D. Bytecode
Explanation

Students might select Assembly, Machine Code, or Bytecode because they are all lower-level or intermediary forms of computer code. Python is designed for readability and abstraction, classifying it as a high-level programming language. Common mistake: Confusing high-level languages with compiled bytecode or machine instructions.

31
Question 31 of 40
JAMB · Computer Studies · 2019

What is the purpose of a switch in a network?

A. To broadcast data to all devices
B. To forward data to specific devices based on MAC addresses
C. To compress data
D. To store packets
Explanation

Students might choose to broadcast data to all devices, which is how a hub operates rather than a switch. A switch improves network efficiency by forwarding data to specific devices based on MAC addresses, rather than blindly flooding the network. Common mistake: Confusing the broadcast behavior of network hubs with the targeted forwarding of switches.

32
Question 32 of 40
JAMB · Computer Studies · 2019

Which of the following is a vector-based image format?

A. JPEG
B. SVG
C. PNG
D. BMP
Explanation

Students might mistakenly select JPEG, PNG, or BMP because they are common image formats encountered in digital media. SVG (Scalable Vector Graphics) is a vector-based format that uses mathematical equations for scalable images, unlike raster-based formats. Common mistake: Assuming all common image file types use raster grids instead of mathematical vectors.

33
Question 33 of 40
JAMB · Computer Studies · 2019

What is the role of a linker in a compiler?

A. To parse syntax
B. To combine object files into an executable
C. To optimize code
D. To execute instructions
Explanation

Students might incorrectly choose parsing syntax, optimizing code, or executing instructions, which are handled by different compiler phases. A linker combines object files into a single executable while resolving references between them. Common mistake: Confusing the linking phase with compilation or code execution.

34
Question 34 of 40
JAMB · Computer Studies · 2019

Which of the following is a property of a B-tree?

A. Single child per node
B. Balanced multi-way search tree
C. Random node arrangement
D. Linear structure
Explanation

Students might mistakenly pick a single child per node, random node arrangement, or linear structure thinking of binary trees or standard lists. A B-tree is a balanced multi-way search tree designed for efficient disk-based storage and retrieval. Common mistake: Forgetting that B-trees allow multiple children per node to maintain a balanced multi-way structure.

35
Question 35 of 40
JAMB · Computer Studies · 2019

What does HTTPS stand for?

A. HyperText Transfer Protocol Secure
B. High-Level Text Processing System
C. Hosted Terminal Protocol Service
D. Hyperlink Transmission Protocol Standard
Explanation

Students might choose high-level text processing systems or terminal protocol services because they contain similar technical sounding words. HTTPS stands for HyperText Transfer Protocol Secure, utilizing encryption for secure web communication. Common mistake: Misinterpreting the 'S' in HTTPS as a system or service rather than Secure.

36
Question 36 of 40
JAMB · Computer Studies · 2019

Which of the following is a supervised learning algorithm?

A. K-Means Clustering
B. Decision Tree
C. DBSCAN
D. Principal Component Analysis
Explanation

Students might select K-Means Clustering, DBSCAN, or Principal Component Analysis, which are unsupervised techniques. Decision Tree is a supervised learning algorithm that uses labeled data for classification or regression. Common mistake: Failing to distinguish between algorithms that require labeled data and those that do not.

37
Question 37 of 40
JAMB · Computer Studies · 2019

What is the purpose of a control unit in a CPU?

A. To store data
B. To direct the operation of the processor
C. To compress files
D. To manage memory
Explanation

Students might mistakenly pick storing data, compressing files, or managing memory, which are functions associated with storage or other hardware components. The control unit directs the processor’s operations, coordinating instruction fetch, decode, and execution. Common mistake: Confusing the operational coordination of the control unit with memory management or data storage.

38
Question 38 of 40
JAMB · Computer Studies · 2019

Which of the following is a real-time database?

A. Firebase
B. MySQL
C. PostgreSQL
D. Oracle
Explanation

Students might choose MySQL, PostgreSQL, or Oracle, which are traditional relational databases rather than specialized real-time systems. Firebase is a real-time database that syncs data instantly across clients. Common mistake: Assuming standard relational database management systems operate with real-time client syncing out-of-the-box.

39
Question 39 of 40
JAMB · Computer Studies · 2019

What is the purpose of the ICMP protocol in networking?

A. To transfer files
B. To diagnose network connectivity issues
C. To encrypt data
D. To stream media
Explanation

Students might mistakenly pick transferring files, encrypting data, or streaming media, which rely on application or transport layer protocols. ICMP (Internet Control Message Protocol) is used for diagnosing network issues, such as ping or error reporting. Common mistake: Confusing diagnostic protocols with data transmission or security encryption protocols.

40
Question 40 of 40
JAMB · Computer Studies · 2019

Which of the following is a benefit of using object-oriented programming?

A. Reduced hardware costs
B. Improved code reusability and scalability
C. Increased compilation speed
D. Simplified network configuration
Explanation

Students might select reduced hardware costs, increased compilation speed, or simplified network configuration, assuming programming paradigms impact physical infrastructure. Object-oriented programming enhances code reusability and scalability through concepts like inheritance and polymorphism. Common mistake: Expecting software design paradigms to directly alter hardware or network parameters.

Now practice in exam mode

You've studied the answers — now test yourself under real exam conditions with the timer running.

Start JAMB Computer Studies 2019 Quiz
Back to 2019 Start Page