JAMB Past Questions

JAMB Computer Studies 2012
Questions & Answers

40 questions · Correct answers highlighted · 40 with explanations

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

The primary function

A. Store data
B. Perform arithmetic and logical operations
C. Manage input/output devices
D. Control network traffic
Explanation

A student might mistakenly choose data storage or network traffic management, confusing processing hardware with memory or communication components. The ALU (Arithmetic Logic Unit) handles arithmetic (e.g., addition) and logical operations (e.g., AND, OR) in the CPU. Common mistake: Confusing the processing role of the ALU with memory storage units.

2
Question 2 of 40
JAMB · Computer Studies · 2012

The data structure used for backtracking in algorithms is a

A. Queue
B. Stack
C. Tree
D. Graph
Explanation

Test-takers might mistakenly pick a Queue, Tree, or Graph, confusing general data structures with the specific order required to retrace steps. A stack uses Last In, First Out (LIFO) to retrace steps in backtracking algorithms. Common mistake: Confusing First-In-First-Out (FIFO) queues with Last-In-First-Out (LIFO) stacks used in backtracking.

3
Question 3 of 40
JAMB · Computer Studies · 2012

GPU stands for

A. General Processing Unit
B. Graphics Processing Unit
C. Global Program Utility
D. Guided Processing Unit
Explanation

A student might mistakenly select General Processing Unit or Global Program Utility, guessing based on general computer terminology. A GPU (Graphics Processing Unit) is specialized for rendering images, videos, and animations. Common mistake: Expanding the acronym 'GPU' as General Processing Unit instead of Graphics Processing Unit.

4
Question 4 of 40
JAMB · Computer Studies · 2012

The programming language commonly used for Android apps is

A. Swift
B. Kotlin
C. R
D. Perl
Explanation

An examinee might mistakenly choose Swift, R, or Perl, associating them with different domains like iOS development, statistics, or scripting. Kotlin, supported by Google, is widely used for Android development due to its concise syntax. Common mistake: Confusing Apple's iOS language (Swift) with Google's preferred Android language (Kotlin).

5
Question 5 of 40
JAMB · Computer Studies · 2012

The binary equivalent of hexadecimal 1A is

A. 00011010
B. 00101000
C. 00010010
D. 00110000
Explanation

A student might mistakenly select incorrect binary strings like 00101000 by miscalculating the place values of hexadecimal digits. Hex 1A = 1*16 + 10 = 26 in decimal; 26 in binary is 00011010. Common mistake: Errors in converting hexadecimal letters to their decimal equivalents before translating to binary.

6
Question 6 of 40
JAMB · Computer Studies · 2012

Which database uses a key-value store?

A. MySQL
B. Redis
C. SQLite
D. MariaDB
Explanation

A student might mistakenly pick MySQL, SQLite, or MariaDB, failing to distinguish relational database management systems from NoSQL alternatives. Redis is a NoSQL key-value store, unlike relational databases like MySQL, SQLite, or MariaDB. Common mistake: Treating relational SQL databases as key-value stores.

7
Question 7 of 40
JAMB · Computer Studies · 2012

AJAX stands for

A. Asynchronous JavaScript and XML
B. Advanced JavaScript and XHTML
C. Automated Java and XML
D. Active JavaScript and XSLT
Explanation

A student might mistakenly choose options featuring Advanced Java or Automated Java, confusing web scripting terminology with general programming languages. AJAX enables dynamic web updates without page reloads using JavaScript and XML. Common mistake: Misinterpreting the 'A' and 'J' in AJAX as Advanced Java instead of Asynchronous JavaScript.

8
Question 8 of 40
JAMB · Computer Studies · 2012

The algorithm for a minimum spanning tree is

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

An examinee might mistakenly choose Breadth-First Search, Binary Search, or Selection Sort, which serve completely different search or sorting purposes. Kruskal’s Algorithm builds a minimum spanning tree by selecting edges in increasing weight order. Common mistake: Confusing graph traversal or search algorithms with minimum spanning tree algorithms like Kruskal's.

9
Question 9 of 40
JAMB · Computer Studies · 2012

The time complexity of inserting into a balanced binary search tree is

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

A student might mistakenly select O(1) or O(n) by confusing the traversal properties of balanced trees with linear structures or hash tables. Insertion in a balanced BST (e.g., AVL) takes O(log n) due to its logarithmic height. Common mistake: Assuming tree operations always take linear time O(n) instead of logarithmic time O(log n).

10
Question 10 of 40
JAMB · Computer Studies · 2012

An example of firmware is

A. Microsoft Word
B. BIOS
C. Windows 10
D. Google Chrome
Explanation

A student might mistakenly select Microsoft Word, Windows 10, or Google Chrome, confusing application software or operating systems with low-level permanent instructions. BIOS, stored on a chip, initializes hardware during booting, unlike software or OS. Common mistake: Confusing operating systems with firmware residing on hardware chips.

11
Question 11 of 40
JAMB · Computer Studies · 2012

A virtual machine is used to

A. Compile code
B. Emulate a computer system
C. Design databases
D. Encrypt files
Explanation

A student might mistakenly choose code compilation, database design, or file encryption, confusing virtualization with software development tools. Virtual machines emulate systems, running multiple OS on one physical machine. Common mistake: Confusing virtual machines with compilers or file encryption utilities.

12
Question 12 of 40
JAMB · Computer Studies · 2012

The protocol for retrieving emails is

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

Students might mistakenly choose HTTP since it is a very common web protocol, or DNS since it is a frequent network term encountered during browsing. By analyzing how messages are handled, we find that IMAP, or Internet Message Access Protocol, is specifically built to allow email retrieval while leaving messages stored on the server without downloading them locally. Common mistake: Confusing general internet protocols with specific mail retrieval standards.

13
Question 13 of 40
JAMB · Computer Studies · 2012

The main purpose of a UPS is to

A. Boost processing speed
B. Provide backup power
C. Manage network connections
D. Store data
Explanation

One might mistakenly select options like Boost processing speed or Store data, assuming all hardware peripherals enhance performance or capacity. Looking at the exact function required during power failures, a UPS (Uninterruptible Power Supply) provides temporary power during outages to protect both hardware and data. Common mistake: Assuming power backup systems alter computer processing capabilities.

14
Question 14 of 40
JAMB · Computer Studies · 2012

The language for styling web pages is

A. HTML
B. CSS
C. Python
D. SQL
Explanation

A student might incorrectly choose HTML, thinking of general web markup, or Python/SQL, which are programming or database languages. To determine the correct fit, consider what controls appearance and layout; CSS, or Cascading Style Sheets, styles web pages specifically for this purpose. Common mistake: Confusing the structural markup language with the styling language.

15
Question 15 of 40
JAMB · Computer Studies · 2012

HDD stands for

A. High Density Drive
B. Hard Disk Drive
C. Hybrid Data Disk
D. Hyperlink Data Drive
Explanation

An examinee might be tricked by Hybrid Data Disk or High Density Drive due to technical-sounding terminology. By evaluating storage hardware fundamentals, we identify that HDD stands for Hard Disk Drive, which utilizes spinning disks for data storage. Common mistake: Guessing acronym expansions based on generic storage buzzwords rather than exact hardware terms.

16
Question 16 of 40
JAMB · Computer Studies · 2012

The sorting algorithm that divides input into sorted and unsorted regions is

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

A student could mistakenly choose Quick Sort or Merge Sort, as these are well-known sorting algorithms taught alongside Insertion Sort. When tracing how the data regions are handled, Insertion Sort builds a sorted region by systematically inserting elements from the unsorted part. Common mistake: Mixing up the partition-based sorting methods with the element-insertion method.

17
Question 17 of 40
JAMB · Computer Studies · 2012

The purpose of a MAC address is to

A. Identify a device on a network
B. Encrypt data packets
C. Assign IP addresses
D. Manage bandwidth
Explanation

Someone might mistakenly choose Assign IP addresses, confusing hardware-level addressing with network-layer DHCP functions. Examining the OSI layer context reveals that a MAC address uniquely identifies a device specifically at the data link layer. Common mistake: Confusing physical MAC identification with network IP assignment.

18
Question 18 of 40
JAMB · Computer Studies · 2012

A type of cache memory is

A. L1 Cache
B. ROM
C. SSD
D. HDD
Explanation

A test-taker might mistakenly select SSD or HDD, thinking of general computer memory and storage devices. Reviewing speed hierarchies, L1 Cache is fast CPU memory designed for quick data access, contrasting with ROM, SSD, or HDD. Common mistake: Grouping all storage hardware together regardless of speed and CPU proximity.

19
Question 19 of 40
JAMB · Computer Studies · 2012

JSON stands for

A. JavaScript Object Notation
B. Java Source Organizer
C. Joint System Operations
D. JavaScript Online Network
Explanation

An individual might lean toward Java Source Organizer or JavaScript Online Network because they contain familiar programming terms. Breaking down the actual data format, JSON stands for JavaScript Object Notation, a lightweight data exchange format using JavaScript-like syntax. Common mistake: Selecting made-up technical definitions that share keywords with programming languages.

20
Question 20 of 40
JAMB · Computer Studies · 2012

An example of Software-as-a-Service (SaaS) is

A. Amazon S3
B. Google Docs
C. Microsoft Azure
D. Heroku
Explanation

A student might mistakenly pick Amazon S3 or Microsoft Azure, assuming all cloud platforms fall into the same category. Looking at service models, Google Docs is SaaS because it delivers software online, unlike S3 which is IaaS or Azure/Heroku which span IaaS and PaaS. Common mistake: Failing to distinguish software delivery from infrastructure or platform cloud services.

21
Question 21 of 40
JAMB · Computer Studies · 2012

The purpose of a 'for' loop is to

A. Handle exceptions
B. Iterate over a sequence
C. Define variables
D. Create classes
Explanation

One might mistakenly choose Define variables or Create classes, thinking about general programming syntax setup. Tracing the execution flow, a 'for' loop iterates over a sequence to execute code for each element. Common mistake: Confusing iteration constructs with declaration statements.

22
Question 22 of 40
JAMB · Computer Studies · 2012

Which is NOT a CPU component?

A. Control Unit
B. Arithmetic Logic Unit
C. Cache Memory
D. Hard Disk
Explanation

A student could mistakenly think Cache Memory or the Control Unit is external because they sound like auxiliary components. Upon evaluating internal architecture, the hard disk is storage rather than a CPU component, whereas the Control Unit, ALU, and Cache are part of the CPU. Common mistake: Assuming internal storage drives are part of the central processing unit.

23
Question 23 of 40
JAMB · Computer Studies · 2012

A load balancer in a network

A. Compresses data
B. Distributes traffic across servers
C. Stores backups
D. Designs websites
Explanation

An examinee might mistakenly choose Compresses data, assuming network appliances perform file optimization tasks. Evaluating traffic management functions, a load balancer distributes traffic to ensure server efficiency and reliability. Common mistake: Confusing traffic distribution with data compression.

24
Question 24 of 40
JAMB · Computer Studies · 2012

A continuous integration tool is

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

A student might mistakenly select Git or Docker, since both are heavily utilized in modern software development pipelines. Analyzing the specific automation scope, Jenkins automates code building, testing, and deployment, marking it as a continuous integration tool unlike Docker, Kubernetes, or Git. Common mistake: Confusing version control or containerization tools with continuous integration servers.

25
Question 25 of 40
JAMB · Computer Studies · 2012

The decimal equivalent of binary 1111 is

A. 13
B. 14
C. 15
D. 16
Explanation

One might mistakenly calculate 14 or 16 due to arithmetic errors when adding powers of two. Converting the binary number 1111 by summing its positional values yields 8 + 4 + 2 + 1, resulting in 15 in decimal. Common mistake: Miscalculating the sum of binary place values.

26
Question 26 of 40
JAMB · Computer Studies · 2012

A denial-of-service (DoS) attack example is

A. Phishing
B. SQL Injection
C. Ping Flood
D. Man-in-the-Middle
Explanation

A student might mistakenly choose Phishing or SQL Injection, which are common cybersecurity threats. Evaluating the attack mechanism, a Ping Flood overwhelms a target with ICMP requests, making it a denial-of-service (DoS) attack. Common mistake: Confusing social engineering or injection flaws with availability-targeted floods.

27
Question 27 of 40
JAMB · Computer Studies · 2012

LAN stands for

A. Local Area Network
B. Large Access Network
C. Linked Application Node
D. Logical Address Network
Explanation

An examinee might mistakenly choose Large Access Network, guessing based on the word 'large' instead of local. Breaking down networking terminology, LAN stands for Local Area Network, which connects devices in a limited area like an office or home. Common mistake: Guessing network acronym expansions incorrectly.

28
Question 28 of 40
JAMB · Computer Studies · 2012

The data structure for breadth-first search is

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

A student might mistakenly choose Stack, thinking of general traversal structures, or Array. Analyzing the traversal behavior of breadth-first search, it uses a queue for level-by-level node exploration. Common mistake: Confusing LIFO stack behavior with FIFO queue behavior in graph searches.

29
Question 29 of 40
JAMB · Computer Studies · 2012

The 'try-catch' block is used to

A. Loop through data
B. Handle exceptions
C. Define functions
D. Sort arrays
Explanation

One might mistakenly choose Loop through data or Sort arrays, thinking of general programming logic operations. Examining error handling structures, a 'try-catch' block executes code and catches errors for handling. Common mistake: Confusing error management blocks with iterative loops.

30
Question 30 of 40
JAMB · Computer Studies · 2012

A scripting language is

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

A student might mistakenly pick C++, Java, or C#, as they are major programming languages. Reviewing execution paradigms, Python is a scripting language designed for automation, unlike compiled languages like C++, Java, or C#. Common mistake: Confusing compiled languages with scripting languages.

31
Question 31 of 40
JAMB · Computer Studies · 2012

A gateway in a network is used to

A. Store data
B. Connect different protocols
C. Increase bandwidth
D. Run applications
Explanation

An examinee might mistakenly select Increase bandwidth, assuming network hardware is meant to speed up connections. Looking at internetworking roles, a gateway connects networks with different protocols for communication. Common mistake: Confusing protocol translation devices with bandwidth enhancers.

32
Question 32 of 40
JAMB · Computer Studies · 2012

A vector graphics format is

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

A student might mistakenly select JPEG or PNG, which are common image files used on the web. Considering image encoding types, SVG uses mathematical equations for scalable images, unlike raster formats. Common mistake: Confusing raster image formats with vector-based graphics.

33
Question 33 of 40
JAMB · Computer Studies · 2012

An assembler’s role is to

A. Execute code
B. Convert assembly to machine code
C. Debug errors
D. Optimize algorithms
Explanation

One might mistakenly choose Debug errors or Execute code, assuming translation tools also test logic. Examining compilation steps, an assembler translates assembly language into machine code for the CPU. Common mistake: Confusing code translation with runtime execution.

34
Question 34 of 40
JAMB · Computer Studies · 2012

A property of a stack is

A. Sorted elements
B. Random access
C. Add/remove from one end
D. Paired storage
Explanation

A student might mistakenly choose Random access or Sorted elements, confusing stacks with arrays or search trees. Reviewing data structure properties, a stack adds (push) and removes (pop) elements from one end in a LIFO manner. Common mistake: Assuming stacks support random access to internal elements.

35
Question 35 of 40
JAMB · Computer Studies · 2012

SSH stands for

A. Secure Shell
B. System Service Hub
C. Simple Storage Host
D. Shared System Handler
Explanation

An examinee might mistakenly select System Service Hub or Simple Storage Host, relying on plausible IT sounding phrases. Examining remote access terminology, SSH stands for Secure Shell, providing secure remote system access. Common mistake: Guessing acronym meanings based on generic system vocabulary.

36
Question 36 of 40
JAMB · Computer Studies · 2012

An unsupervised learning algorithm is

A. Support Vector Machine
B. K-Means Clustering
C. Random Forest
D. Logistic Regression
Explanation

A student might mistakenly select Support Vector Machine or Logistic Regression, which are standard classification algorithms. Evaluating training methodologies, K-Means Clustering groups data without labels, distinguishing it as an unsupervised algorithm. Common mistake: Confusing supervised classification methods with unsupervised clustering.

37
Question 37 of 40
JAMB · Computer Studies · 2012

A register in a CPU is used to

A. Store large datasets
B. Hold temporary data
C. Manage networks
D. Compress files
Explanation

Students might mistakenly lean toward options like A, C, or D thinking a CPU register handles mass storage, networking, or file compression. However, CPU processing involves holding temporary data that needs to be accessed quickly during active execution, which is the specific role fulfilled by registers. Common mistake: Confusing long-term storage or peripheral tasks with immediate, short-term processing data held in registers.

38
Question 38 of 40
JAMB · Computer Studies · 2012

An open-source database management system is

A. Oracle
B. PostgreSQL
C. SQL Server
D. DB2
Explanation

A student might select Oracle, SQL Server, or DB2, mistakenly believing they share the same licensing model as PostgreSQL. PostgreSQL stands apart as an open-source database management system, whereas Oracle, SQL Server, and DB2 are proprietary database solutions. Common mistake: Assuming all major enterprise database systems share open-source availability.

39
Question 39 of 40
JAMB · Computer Studies · 2012

The DHCP protocol is used to

A. Resolve domain names
B. Assign IP addresses dynamically
C. Encrypt data
D. Compress files
Explanation

Options such as A, C, or D might look plausible if a student confuses network management protocols with DNS name resolution, security encryption, or compression utilities. The DHCP protocol operates specifically to dynamically assign IP addresses to devices connected to a network. Common mistake: Confusing IP address allocation with domain name translation or data security.

40
Question 40 of 40
JAMB · Computer Studies · 2012

A benefit of version control systems is

A. Increased processing speed
B. Improved collaboration and tracking
C. Reduced hardware costs
D. Simplified user interfaces
Explanation

A test-taker might incorrectly choose options like A, C, or D under the assumption that tools like Git optimize hardware resources, speed up processing, or alter user interfaces. Version control systems like Git actually focus on tracking code changes and improving collaboration among developers. Common mistake: Attributing hardware performance gains or hardware cost reductions to software-based version control tools.

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