JAMB Past Questions

JAMB Computer Science 2014
Questions & Answers

40 questions · Correct answers highlighted · 40 with explanations

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

What is the primary function of a computer's fetch-decode-execute cycle?

A. To store data in memory
B. To process instructions from a program
C. To manage peripheral devices
D. To compress files
Explanation

The fetch-decode-execute cycle is the process by which the CPU retrieves an instruction from memory, decodes it, and executes it, enabling program execution.

2
Question 2 of 40
JAMB · Computer Science · 2014

Which data structure is most suitable for implementing a spell checker?

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

A trie is ideal for a spell checker as it efficiently stores and retrieves strings, enabling fast prefix-based word lookups.

3
Question 3 of 40
JAMB · Computer Science · 2014

What does CMOS stand for in computer hardware?

A. Complementary Metal-Oxide Semiconductor
B. Central Memory Operating System
C. Combined Microchip Output System
D. Computerized Modular Storage
Explanation

CMOS stands for Complementary Metal-Oxide Semiconductor, a technology used in chips like those storing BIOS settings.

4
Question 4 of 40
JAMB · Computer Science · 2014

Which programming language is known for its use in scientific computing?

A. PHP
B. MATLAB
C. JavaScript
D. COBOL
Explanation

MATLAB is widely used in scientific computing for numerical analysis, simulations, and data visualization.

5
Question 5 of 40
JAMB · Computer Science · 2014

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

A. 45
B. 47
C. 49
D. 51
Explanation

Hexadecimal 2F is 2*16 + 15 = 32 + 15 = 47 in decimal.

6
Question 6 of 40
JAMB · Computer Science · 2014

Which of the following is a document-oriented NoSQL database?

A. Cassandra
B. CouchDB
C. HBase
D. MySQL
Explanation

CouchDB is a document-oriented NoSQL database, storing data as JSON documents, unlike Cassandra, HBase, or MySQL.

7
Question 7 of 40
JAMB · Computer Science · 2014

What does HTTP stand for?

A. HyperText Transfer Protocol
B. High-Level Text Processor
C. Hyperlink Terminal Protocol
D. Hosted Transmission Process
Explanation

HTTP stands for HyperText Transfer Protocol, used for transferring web content between clients and servers.

8
Question 8 of 40
JAMB · Computer Science · 2014

Which algorithm is used for finding the shortest path in an unweighted graph?

A. Bellman-Ford
B. Breadth-First Search
C. A* Algorithm
D. Merge Sort
Explanation

Breadth-First Search (BFS) finds the shortest path in an unweighted graph by exploring nodes level by level.

9
Question 9 of 40
JAMB · Computer Science · 2014

What is the worst-case time complexity of quick sort?

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

Quick sort’s worst-case time complexity is O(n^2), occurring when the pivot selection results in highly unbalanced partitions.

10
Question 10 of 40
JAMB · Computer Science · 2014

Which of the following is an output device?

A. Scanner
B. Mouse
C. Monitor
D. Keyboard
Explanation

A monitor is an output device, displaying data to the user, unlike scanners, mice, or keyboards, which are input devices.

11
Question 11 of 40
JAMB · Computer Science · 2014

What is the purpose of an operating system’s kernel?

A. To design user interfaces
B. To manage hardware and system resources
C. To compile programs
D. To store user data
Explanation

The kernel is the core of an operating system, managing hardware, memory, and processes.

12
Question 12 of 40
JAMB · Computer Science · 2014

Which protocol is used for resolving domain names to IP addresses?

A. DHCP
B. DNS
C. FTP
D. POP3
Explanation

DNS (Domain Name System) resolves domain names (e.g., www.example.com) to IP addresses for network communication.

13
Question 13 of 40
JAMB · Computer Science · 2014

What is the primary role of a surge protector in a computer system?

A. To increase processing speed
B. To protect against power surges
C. To store backup data
D. To manage network traffic
Explanation

A surge protector safeguards a computer system from voltage spikes, preventing hardware damage.

14
Question 14 of 40
JAMB · Computer Science · 2014

Which of the following is a procedural programming language?

A. Haskell
B. C
C. Java
D. Prolog
Explanation

C is a procedural programming language, focusing on step-by-step instructions, unlike Haskell, Java, or Prolog.

15
Question 15 of 40
JAMB · Computer Science · 2014

What does RAID stand for in data storage?

A. Redundant Array of Independent Disks
B. Random Access Integrated Device
C. Reliable Archive of Internal Data
D. Rapid Access Information Disk
Explanation

RAID stands for Redundant Array of Independent Disks, used for data redundancy and performance.

16
Question 16 of 40
JAMB · Computer Science · 2014

Which sorting algorithm uses a pivot to partition the array?

A. Bubble Sort
B. Quick Sort
C. Insertion Sort
D. Selection Sort
Explanation

Quick Sort selects a pivot and partitions the array into elements smaller and larger than the pivot for sorting.

17
Question 17 of 40
JAMB · Computer Science · 2014

What is the purpose of a default gateway in networking?

A. To assign MAC addresses
B. To route traffic between networks
C. To compress data
D. To authenticate users
Explanation

A default gateway routes traffic from a local network to external networks, typically a router’s IP address.

18
Question 18 of 40
JAMB · Computer Science · 2014

Which of the following is a primary storage device?

A. Hard Disk Drive
B. USB Flash Drive
C. RAM
D. Optical Disk
Explanation

RAM is a primary storage device, providing fast, volatile memory for active processes, unlike secondary storage like HDD or USB.

19
Question 19 of 40
JAMB · Computer Science · 2014

What does RDBMS stand for?

A. Relational Database Management System
B. Remote Data Backup Management System
C. Rapid Data Base Memory System
D. Reusable Data Block Management System
Explanation

RDBMS stands for Relational Database Management System, organizing data into structured tables.

20
Question 20 of 40
JAMB · Computer Science · 2014

Which of the following is an example of a containerization platform?

A. Docker
B. Ansible
C. Terraform
D. Puppet
Explanation

Docker is a containerization platform for packaging applications, unlike Ansible, Terraform, or Puppet, which are automation tools.

21
Question 21 of 40
JAMB · Computer Science · 2014

What is the purpose of a 'do-while' loop in programming?

A. To execute code at least once before checking a condition
B. To define a class
C. To handle file operations
D. To sort data
Explanation

A 'do-while' loop executes its code block at least once, then repeats while a condition is true.

22
Question 22 of 40
JAMB · Computer Science · 2014

Which of the following is NOT a function of an operating system?

A. Process Management
B. Memory Management
C. Code Compilation
D. File Management
Explanation

Code compilation is handled by compilers, not the operating system, which manages processes, memory, and files.

23
Question 23 of 40
JAMB · Computer Science · 2014

What is the role of a content delivery network (CDN)?

A. To compile code
B. To distribute web content efficiently
C. To store databases
D. To manage email servers
Explanation

A CDN distributes web content via geographically dispersed servers, reducing latency and improving access speed.

24
Question 24 of 40
JAMB · Computer Science · 2014

Which of the following is a configuration management tool?

A. Ansible
B. Git
C. Jenkins
D. Kubernetes
Explanation

Ansible is a configuration management tool for automating system setups, unlike Git, Jenkins, or Kubernetes.

25
Question 25 of 40
JAMB · Computer Science · 2014

What is the hexadecimal equivalent of the decimal number 42?

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

Decimal 42 is 2*16 + 10 = 2A in hexadecimal (A represents 10).

26
Question 26 of 40
JAMB · Computer Science · 2014

Which of the following is a ransomware attack?

A. WannaCry
B. SQL Injection
C. Phishing
D. Session Hijacking
Explanation

WannaCry is a ransomware attack that encrypts files and demands payment, unlike the other options, which are different attack types.

27
Question 27 of 40
JAMB · Computer Science · 2014

What does VLAN stand for?

A. Virtual Local Area Network
B. Variable Link Access Node
C. Visual LAN Adapter
D. Virtualized Logical Access Network
Explanation

VLAN stands for Virtual Local Area Network, segmenting a physical network into logical networks for security and efficiency.

28
Question 28 of 40
JAMB · Computer Science · 2014

Which data structure is used for implementing a graph’s adjacency list?

A. Stack
B. Linked List
C. Queue
D. Heap
Explanation

An adjacency list represents a graph using linked lists, where each vertex points to a list of adjacent vertices.

29
Question 29 of 40
JAMB · Computer Science · 2014

What is the purpose of a 'continue' statement in programming?

A. To exit a program
B. To skip the current loop iteration
C. To define a function
D. To handle exceptions
Explanation

A 'continue' statement skips the current iteration of a loop and proceeds to the next iteration.

30
Question 30 of 40
JAMB · Computer Science · 2014

Which of the following is a compiled programming language?

A. Python
B. C++
C. JavaScript
D. Ruby
Explanation

C++ is a compiled language, translated into machine code before execution, unlike interpreted languages like Python, JavaScript, or Ruby.

31
Question 31 of 40
JAMB · Computer Science · 2014

What is the purpose of a repeater in a network?

A. To route traffic
B. To amplify and extend signals
C. To encrypt data
D. To store packets
Explanation

A repeater amplifies and regenerates network signals to extend the distance of a network.

32
Question 32 of 40
JAMB · Computer Science · 2014

Which of the following is a lossless image format?

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

PNG is a lossless image format, preserving all data without compression loss. JPEG is lossy, discarding data. BMP is lossless but produces large files, and GIF is lossless but limited to 256 colors, making PNG the preferred choice.

33
Question 33 of 40
JAMB · Computer Science · 2014

What is the role of a lexical analyzer in a compiler?

A. To optimize code
B. To convert code to machine language
C. To break code into tokens
D. To execute instructions
Explanation

A lexical analyzer breaks source code into tokens (e.g., keywords, identifiers) for the compiler’s syntax analysis.

34
Question 34 of 40
JAMB · Computer Science · 2014

Which of the following is a feature of a doubly linked list?

A. Fixed size
B. Nodes have forward and backward pointers
C. Contiguous memory allocation
D. Random access
Explanation

A doubly linked list has nodes with pointers to both the next and previous nodes, allowing bidirectional traversal.

35
Question 35 of 40
JAMB · Computer Science · 2014

What does POP3 stand for?

A. Post Office Protocol version 3
B. Programmable Output Processor
C. Packet-Oriented Protocol
D. Public Operations Platform
Explanation

POP3 stands for Post Office Protocol version 3, used for retrieving emails from a server.

36
Question 36 of 40
JAMB · Computer Science · 2014

Which of the following is a deep learning framework?

A. TensorFlow
B. Pandas
C. NumPy
D. SciPy
Explanation

TensorFlow is a deep learning framework for building neural networks, unlike Pandas, NumPy, or SciPy, which are data analysis libraries.

37
Question 37 of 40
JAMB · Computer Science · 2014

What is the purpose of a clock in a CPU?

A. To store instructions
B. To synchronize operations
C. To manage memory
D. To cool the system
Explanation

The CPU clock generates pulses to synchronize operations, ensuring components work in unison.

38
Question 38 of 40
JAMB · Computer Science · 2014

Which of the following is a real-time operating system?

A. Windows 10
B. RTOS
C. Ubuntu
D. macOS
Explanation

RTOS refers to real-time operating systems (e.g., VxWorks, FreeRTOS) designed for time-critical applications with predictable response times, unlike general-purpose systems like Windows 10, Ubuntu, or macOS.

39
Question 39 of 40
JAMB · Computer Science · 2014

What is the purpose of the RIP protocol in networking?

A. To manage email delivery
B. To route packets using distance-vector
C. To compress data
D. To secure connections
Explanation

RIP (Routing Information Protocol) is a distance-vector routing protocol for directing network traffic.

40
Question 40 of 40
JAMB · Computer Science · 2014

Which of the following is a benefit of using polymorphism in programming?

A. Reduced compilation time
B. Flexible code through multiple forms
C. Lower hardware requirements
D. Simplified file management
Explanation

Polymorphism allows objects to take multiple forms, enabling flexible and reusable code in object-oriented programming.

Now practice in exam mode

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

Start JAMB Computer Science 2014 Quiz
Back to 2014 Start Page