JAMB Past Questions

JAMB Computer Studies 2015
Questions & Answers

40 questions · Correct answers highlighted · 40 with explanations

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

What is the role of the instruction register in a CPU?

A. To store data for arithmetic operations
B. To hold the current instruction being executed
C. To manage memory allocation
D. To control peripheral devices
Explanation

The instruction register holds the current instruction fetched from memory during the CPU’s fetch-decode-execute cycle, enabling the processor to decode and execute it.

2
Question 2 of 40
JAMB · Computer Studies · 2015

Which data structure is best for implementing an autocomplete feature?

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

A trie stores strings in a tree-like structure, allowing efficient prefix-based searches, making it ideal for autocomplete features in search engines.

3
Question 3 of 40
JAMB · Computer Studies · 2015

What does EEPROM stand for in memory technology?

A. Electrically Erasable Programmable Read-Only Memory
B. Embedded Electronic Processing Memory
C. Extended Erasable Program Module
D. Efficient External Programmable Memory
Explanation

EEPROM stands for Electrically Erasable Programmable Read-Only Memory, a non-volatile memory that can be erased and reprogrammed using electrical signals.

4
Question 4 of 40
JAMB · Computer Studies · 2015

Which programming language is commonly used for game development with Unity?

A. Python
B. C#
C. Ruby
D. Perl
Explanation

C# is the primary language for Unity, providing robust scripting capabilities and seamless integration with the game engine.

5
Question 5 of 40
JAMB · Computer Studies · 2015

What is the binary equivalent of the hexadecimal number 3C?

A. 00111100
B. 00110011
C. 01001100
D. 00110100
Explanation

Hexadecimal 3C is converted to binary by mapping each digit: 3 = 0011, C (12) = 1100. Thus, 3C = 00111100.

6
Question 6 of 40
JAMB · Computer Studies · 2015

Which of the following is a columnar NoSQL database?

A. MongoDB
B. HBase
C. Couchbase
D. PostgreSQL
Explanation

HBase is a columnar NoSQL database, designed for large-scale data with real-time read/write access, unlike MongoDB (document-based), Couchbase (key-value), or PostgreSQL (relational).

7
Question 7 of 40
JAMB · Computer Studies · 2015

What does XHTML stand for?

A. eXtensible HyperText Markup Language
B. eXternal Hyperlink Text Module
C. eXtended High-Level Text Language
D. eXecutable HyperText Markup Logic
Explanation

XHTML stands for eXtensible HyperText Markup Language, a stricter, XML-compliant version of HTML used for web development.

8
Question 8 of 40
JAMB · Computer Studies · 2015

Which algorithm is used for finding the topological order of a directed acyclic graph?

A. Kahn’s Algorithm
B. Dijkstra’s Algorithm
C. Bubble Sort
D. Binary Search
Explanation

Kahn’s Algorithm determines the topological order of a directed acyclic graph by processing nodes with no incoming edges, useful in scheduling tasks.

9
Question 9 of 40
JAMB · Computer Studies · 2015

What is the time complexity of accessing an element in a hash table?

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

A hash table offers average-case O(1) time complexity for accessing elements due to its key-based lookup, assuming minimal collisions.

10
Question 10 of 40
JAMB · Computer Studies · 2015

Which of the following is a pointing device?

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

A mouse is a pointing device used to navigate graphical interfaces, unlike monitors (output), printers (output), or speakers (audio output).

11
Question 11 of 40
JAMB · Computer Studies · 2015

What is the purpose of a bootloader in a computer system?

A. To compile programs
B. To load the operating system
C. To manage network traffic
D. To design user interfaces
Explanation

A bootloader initializes hardware and loads the operating system into memory during system startup, enabling the computer to function.

12
Question 12 of 40
JAMB · Computer Studies · 2015

Which protocol is used for real-time communication in VoIP?

A. RTP
B. FTP
C. HTTP
D. SMTP
Explanation

RTP (Real-time Transport Protocol) supports real-time audio and video transmission in VoIP, unlike FTP (file transfer), HTTP (web), or SMTP (email).

13
Question 13 of 40
JAMB · Computer Studies · 2015

What is the main function of a cooling fan in a computer?

A. To increase processing speed
B. To prevent overheating
C. To store data
D. To manage input devices
Explanation

A cooling fan dissipates heat from components like the CPU and GPU, preventing overheating and maintaining system performance.

14
Question 14 of 40
JAMB · Computer Studies · 2015

Which of the following is an event-driven programming language?

A. JavaScript
B. Fortran
C. C
D. Assembly
Explanation

JavaScript is event-driven, responding to user interactions like clicks or keypresses, widely used in web applications.

15
Question 15 of 40
JAMB · Computer Studies · 2015

What does BIOS stand for?

A. Basic Input/Output System
B. Binary Integrated Operating System
C. Buffered Internal Output Service
D. Base Instruction Operating Software
Explanation

BIOS (Basic Input/Output System) is firmware that initializes hardware and provides essential system services during startup.

16
Question 16 of 40
JAMB · Computer Studies · 2015

Which sorting algorithm is stable and suitable for linked lists?

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

Merge Sort is stable, preserving the relative order of equal elements, and is efficient for linked lists with O(n log n) complexity.

17
Question 17 of 40
JAMB · Computer Studies · 2015

What is the purpose of NAT in networking?

A. To assign MAC addresses
B. To translate private IP addresses to public ones
C. To encrypt data packets
D. To compress network traffic
Explanation

NAT (Network Address Translation) maps private IP addresses to public ones, enabling local networks to access the internet.

18
Question 18 of 40
JAMB · Computer Studies · 2015

Which of the following is a type of flash memory?

A. RAM
B. NAND
C. Cache
D. ROM
Explanation

NAND is a type of flash memory used in SSDs and USB drives for non-volatile storage, unlike RAM (volatile), cache (temporary), or ROM (read-only).

19
Question 19 of 40
JAMB · Computer Studies · 2015

What does SOAP stand for in web services?

A. Simple Object Access Protocol
B. Structured Operations and Procedures
C. System-Oriented Application Process
D. Secure Object Authentication Protocol
Explanation

SOAP (Simple Object Access Protocol) is a protocol for exchanging structured data in web services, ensuring reliable communication.

20
Question 20 of 40
JAMB · Computer Studies · 2015

Which of the following is an example of a serverless computing platform?

A. AWS Lambda
B. Apache Hadoop
C. MySQL
D. Docker Swarm
Explanation

AWS Lambda is a serverless platform, executing code without server management, unlike Hadoop (big data), MySQL (database), or Docker Swarm (container orchestration).

21
Question 21 of 40
JAMB · Computer Studies · 2015

What is the purpose of a nested loop in programming?

A. To define functions
B. To execute a loop within another loop
C. To handle exceptions
D. To store arrays
Explanation

A nested loop runs a loop inside another, used for tasks like processing multi-dimensional arrays or matrices.

22
Question 22 of 40
JAMB · Computer Studies · 2015

Which of the following is NOT a type of computer port?

A. USB
B. HDMI
C. VGA
D. SQL
Explanation

SQL is a database query language, not a hardware port, unlike USB, HDMI, or VGA, which connect devices.

23
Question 23 of 40
JAMB · Computer Studies · 2015

What is the role of a DNS resolver in networking?

A. To store web pages
B. To translate domain names to IP addresses
C. To compress data
D. To manage firewalls
Explanation

A DNS resolver converts domain names (e.g., google.com) to IP addresses, enabling access to online resources.

24
Question 24 of 40
JAMB · Computer Studies · 2015

Which of the following is a monitoring tool for system performance?

A. Nagios
B. Git
C. Docker
D. Jenkins
Explanation

Nagios monitors system and network performance, unlike Git (version control), Docker (containerization), or Jenkins (automation).

25
Question 25 of 40
JAMB · Computer Studies · 2015

What is the decimal equivalent of the binary number 10101?

A. 20
B. 21
C. 22
D. 23
Explanation

Binary 10101 is calculated as: 1*2^4 + 0*2^3 + 1*2^2 + 0*2^1 + 1*2^0 = 16 + 0 + 4 + 0 + 1 = 21 in decimal.

26
Question 26 of 40
JAMB · Computer Studies · 2015

Which of the following is a type of social engineering attack?

A. Buffer Overflow
B. Pretexting
C. SQL Injection
D. Cross-Site Request Forgery
Explanation

Pretexting is a social engineering attack where attackers deceive victims to gain information, unlike the others, which are technical exploits.

27
Question 27 of 40
JAMB · Computer Studies · 2015

What does MAN stand for in networking?

A. Metropolitan Area Network
B. Main Access Node
C. Mobile Application Network
D. Modular Access Network
Explanation

MAN (Metropolitan Area Network) spans a city or campus, connecting multiple LANs, larger than a LAN but smaller than a WAN.

28
Question 28 of 40
JAMB · Computer Studies · 2015

Which data structure is used for implementing a min-heap?

A. Linked List
B. Binary Tree
C. Array
D. Graph
Explanation

A min-heap is implemented using an array, representing a complete binary tree where the smallest element is at the root, enabling efficient operations.

29
Question 29 of 40
JAMB · Computer Studies · 2015

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

A. To loop through data
B. To exit a function and provide a value
C. To declare variables
D. To sort arrays
Explanation

A 'return' statement exits a function and optionally sends a value back to the caller, used in languages like C and Python.

30
Question 30 of 40
JAMB · Computer Studies · 2015

Which of the following is a dynamically typed programming language?

A. C++
B. Java
C. Python
D. Go
Explanation

Python is dynamically typed, determining variable types at runtime, unlike C++, Java, or Go, which are statically typed.

31
Question 31 of 40
JAMB · Computer Studies · 2015

What is the purpose of a bridge in a network?

A. To connect different network segments
B. To store data packets
C. To encrypt traffic
D. To manage email servers
Explanation

A bridge connects network segments, filtering traffic based on MAC addresses to reduce collisions and improve efficiency.

32
Question 32 of 40
JAMB · Computer Studies · 2015

Which of the following is a video file format?

A. MP3
B. MKV
C. FLAC
D. WAV
Explanation

MKV (Matroska Video) is a video file format, supporting video and audio, unlike MP3, FLAC, or WAV, which are audio formats.

33
Question 33 of 40
JAMB · Computer Studies · 2015

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

A. To generate machine code
B. To check the grammatical structure of code
C. To optimize execution
D. To execute instructions
Explanation

The syntax analyzer, or parser, checks the grammatical structure of code tokens, ensuring compliance with the programming language’s syntax.

34
Question 34 of 40
JAMB · Computer Studies · 2015

Which of the following is a characteristic of a queue data structure?

A. Last In, First Out
B. First In, First Out
C. Random access
D. Sorted elements
Explanation

A queue operates on a First In, First Out (FIFO) basis, where the earliest added element is removed first, like a line of people.

35
Question 35 of 40
JAMB · Computer Studies · 2015

What does TLS stand for?

A. Transport Layer Security
B. Terminal Link System
C. Transfer Logic Service
D. Trusted LAN Standard
Explanation

TLS (Transport Layer Security) is a protocol that secures network communications, commonly used in HTTPS for safe web browsing.

36
Question 36 of 40
JAMB · Computer Studies · 2015

Which of the following is a clustering algorithm?

A. DBSCAN
B. Decision Tree
C. SVM
D. Linear Regression
Explanation

DBSCAN is a clustering algorithm that groups data based on density, unlike Decision Tree, SVM (classification), or Linear Regression (regression).

37
Question 37 of 40
JAMB · Computer Studies · 2015

What is the purpose of a pipeline in computer architecture?

A. To store data
B. To execute instructions concurrently
C. To manage memory
D. To cool the CPU
Explanation

Pipelining overlaps the fetch, decode, and execute stages of instructions, enabling concurrent execution to improve CPU performance.

38
Question 38 of 40
JAMB · Computer Studies · 2015

Which of the following is a Unix-based operating system?

A. Windows
B. macOS
C. MS-DOS
D. Android
Explanation

macOS is a Unix-based operating system, built on a Unix-like kernel, unlike Windows, MS-DOS, or Android (Linux-based).

39
Question 39 of 40
JAMB · Computer Studies · 2015

What is the purpose of the OSPF protocol in networking?

A. To transfer files
B. To route packets using link-state
C. To encrypt data
D. To resolve domain names
Explanation

OSPF (Open Shortest Path First) is a link-state routing protocol that efficiently routes packets in IP networks.

40
Question 40 of 40
JAMB · Computer Studies · 2015

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

A. Increased execution speed
B. Simplified code complexity
C. Reduced hardware costs
D. Enhanced graphical interfaces
Explanation

Abstraction hides complex implementation details, simplifying code design and maintenance, making it easier to understand and modify.

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 2015 Quiz
Back to 2015 Start Page