What is the primary function of an operating system?
An operating system manages computer resources such as memory, CPU, and peripherals, enabling software to interact with hardware efficiently.
Which data structure uses the Last In, First Out (LIFO) principle?
A stack operates on the LIFO principle, where the last element added is the first to be removed, like a stack of plates.
What does CPU stand for in computing?
CPU stands for Central Processing Unit, the component responsible for executing instructions from programs.
Which programming language is known for its use in web development and is executed client-side?
JavaScript is widely used for client-side web development, enabling interactive features in browsers.
What is the binary equivalent of the decimal number 10?
The decimal number 10 is represented as 1010 in binary, calculated by dividing by 2 and noting remainders (10 = 2^3 + 2^1).
Which of the following is a relational database management system?
MySQL is a relational database management system that uses structured tables and SQL, unlike MongoDB, Redis, or Cassandra, which are NoSQL databases.
What does HTML stand for?
HTML stands for HyperText Markup Language, used for structuring content on the web.
Which algorithm is used for finding the shortest path in a weighted graph?
Dijkstra’s Algorithm finds the shortest path in a weighted graph by iteratively selecting the node with the smallest distance.
What is the time complexity of a binary search algorithm?
Binary search has a time complexity of O(log n) because it halves the search space with each iteration.
Which of the following is NOT a type of software?
Hardware Software is not a valid category; software includes system, application, and utility software, while hardware refers to physical components.
What is the purpose of a compiler?
A compiler translates high-level source code into machine code that a computer can execute.
Which protocol is used for secure communication over the internet?
HTTPS (HyperText Transfer Protocol Secure) uses encryption to ensure secure communication over the internet.
What is the main purpose of a firewall?
A firewall monitors and controls network traffic to prevent unauthorized access and enhance security.
Which of the following is an object-oriented programming language?
Java is an object-oriented programming language that supports concepts like inheritance, encapsulation, and polymorphism.
What does RAM stand for?
RAM stands for Random Access Memory, a volatile memory used for temporary data storage during processing.
Which sorting algorithm has the best average-case time complexity?
Quick Sort has an average-case time complexity of O(n log n), making it more efficient than Bubble, Selection, or Insertion Sort.
What is the purpose of DNS in networking?
DNS (Domain Name System) translates human-readable domain names (e.g., www.example.com) into IP addresses used by computers.
Which of the following is a non-volatile memory type?
ROM (Read-Only Memory) is non-volatile, retaining data even when power is off, unlike RAM, cache, or registers.
What does SQL stand for?
SQL stands for Structured Query Language, used for managing and querying relational databases.
Which of the following is a cloud computing service model?
IaaS (Infrastructure as a Service) is a cloud computing model providing virtualized computing resources, unlike HTTP, FTP, or TCP, which are protocols.
What is the purpose of a loop in programming?
A loop allows a block of code to be executed repeatedly until a condition is met.
Which of the following is NOT a programming paradigm?
Graphical is not a programming paradigm; it refers to visual interfaces, while Object-Oriented, Functional, and Procedural are programming approaches.
What is the purpose of an API?
An API (Application Programming Interface) enables different software systems to communicate and share data or functionality.
Which of the following is a version control system?
Git is a version control system for tracking changes in code, while Docker, Kubernetes, and Jenkins are used for containerization, orchestration, and CI/CD.
What is the hexadecimal equivalent of the binary number 1011?
The binary number 1011 equals 11 in decimal (8 + 2 + 1), which is represented as B in hexadecimal.
Which of the following is a type of cyberattack?
SQL Injection is a cyberattack where malicious SQL code is inserted to manipulate a database, unlike the other options, which are not attacks.
What does GUI stand for?
GUI stands for Graphical User Interface, allowing users to interact with systems through visual elements like windows and icons.
Which data structure is used to implement a priority queue?
A heap, typically a binary heap, is used to implement a priority queue, allowing efficient retrieval of the highest-priority element.
What is the purpose of the 'if' statement in programming?
An 'if' statement evaluates a condition and executes code based on whether the condition is true or false.
Which of the following is an example of a high-level programming language?
Python is a high-level programming language, designed for readability and abstraction, unlike Assembly, Machine Code, or Binary.
What is the purpose of a router in a network?
A router connects different networks and directs data packets between them based on IP addresses.
Which of the following is a lossless compression algorithm?
ZIP is a lossless compression algorithm, preserving all original data, unlike JPEG, MP3, and MPEG, which are lossy.
What is the role of a linker in the compilation process?
A linker combines multiple object code files into a single executable program, resolving references between them.
Which of the following is a characteristic of a linked list?
A linked list has a dynamic size, allowing nodes to be added or removed easily, unlike arrays with fixed size or contiguous memory.
What does VPN stand for?
VPN stands for Virtual Private Network, providing secure, encrypted connections over the internet.
Which of the following is a machine learning algorithm?
Linear Regression is a machine learning algorithm used for predictive modeling, unlike Quick Sort, Binary Search, or Bubble Sort, which are sorting or searching algorithms.
What is the purpose of a hash table?
A hash table stores data using a hash function for fast retrieval, with average-case O(1) time complexity for lookups.
Which of the following is an open-source operating system?
Linux is an open-source operating system, allowing free access to its source code, unlike Windows, macOS, or iOS.
What is the purpose of the TCP/IP model?
The TCP/IP model standardizes network communication, defining protocols for data transmission over the internet.
Which of the following is a benefit of modular programming?
Modular programming breaks code into independent modules, improving reusability and maintainability across projects.
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 2010 Quiz