50 multiple-choice questions with answers and detailed explanations. Untimed — choose an answer to check it instantly.
0/50 answered0 correct
Question 1 of 50
What is the primary purpose of an operating system?
Correct answer: B) To manage hardware resources
Explanation: Explanation: The operating system serves as an intermediary between users and the computer hardware, managing resources such as CPU, memory, and storage.
Question 2 of 50
Which of the following is an example of an embedded operating system?
Correct answer: D) RTOS
Explanation: Explanation: An RTOS (Real-Time Operating System) is designed for embedded systems requiring timely processing and response, making it suitable for applications like automotive control systems.
Question 3 of 50
What does "virtual memory" allow a computer to do?
Correct answer: B) Use disk space as additional memory
Explanation: Explanation: Virtual memory enables a computer to use disk space to extend the available memory, allowing for larger applications to run than would fit in physical RAM alone.
Question 4 of 50
In which layer of the OSI model does the IP protocol operate?
Correct answer: C) Network
Explanation: Explanation: The IP (Internet Protocol) operates at the Network layer of the OSI model, facilitating routing and addressing of packets across networks.
Question 5 of 50
What is the main function of a "scheduler" in an operating system?
Correct answer: B) To allocate CPU time to processes
Explanation: Explanation: The scheduler manages the execution of processes by allocating CPU time based on scheduling algorithms, ensuring efficient use of the CPU.
Question 6 of 50
What is the function of a "mutex" in concurrent programming?
Correct answer: C) To control access to a shared resource
Explanation: Explanation: A mutex (mutual exclusion) is a synchronization primitive used to ensure that only one thread can access a resource at a time, preventing race conditions.
Question 7 of 50
Which type of network topology connects all devices to a central hub?
Correct answer: C) Star
Explanation: Explanation: Star topology features all devices connected to a single central hub or switch, facilitating easy management and troubleshooting.
Question 8 of 50
What is "data encapsulation" in object-oriented programming?
Correct answer: B) Hiding data implementation details from the user
Explanation: Explanation: Data encapsulation is a principle of OOP that restricts access to certain components of an object, allowing users to interact with an object's interface without needing to understand its inner workings.
Question 9 of 50
Which of the following is a benefit of using "cloud computing"?
Correct answer: A) Reduced physical hardware requirements
Explanation: Explanation: Cloud computing allows users to access resources and services over the internet, minimizing the need for extensive physical hardware and infrastructure.
Question 10 of 50
What is the purpose of a "DNS" in networking?
Correct answer: C) To resolve domain names to IP addresses
Explanation: Explanation: The Domain Name System (DNS) translates human-readable domain names into IP addresses, allowing users to access websites using familiar names.
Question 11 of 50
Which of the following is a characteristic of "volatile memory"?
Correct answer: B) Loses data when power is lost
Explanation: Explanation: Volatile memory, such as RAM, requires power to maintain the stored information and loses data when the power is turned off.
Question 12 of 50
What does "SQL injection" refer to in cybersecurity?
Correct answer: C) An attack that targets databases using malicious SQL code
Explanation: Explanation: SQL injection involves inserting or "injecting" malicious SQL statements into a query, allowing attackers to manipulate or access database information inappropriately.
Question 13 of 50
Which protocol is primarily used for secure file transfer over the internet?
Correct answer: B) SFTP
Explanation: Explanation: SFTP (SSH File Transfer Protocol) provides a secure method for transferring files over the internet, encrypting both the commands and the data.
Question 14 of 50
What does "data redundancy" mean in the context of databases?
Correct answer: D) Storing the same data in more than one place
Explanation: Explanation: Data redundancy refers to the unnecessary duplication of data within a database, which can lead to inconsistencies and increased storage costs.
Question 15 of 50
In programming, what is a "loop"?
Correct answer: B) A statement that executes a block of code repeatedly
Explanation: Explanation: A loop is a control structure that allows for the repeated execution of a block of code based on a specified condition, facilitating efficient code execution.
Question 16 of 50
Which of the following is an example of a "software bug"?
Correct answer: B) A programming error that causes incorrect behavior
Explanation: Explanation: A software bug is a flaw or mistake in code that leads to incorrect or unintended behavior of the program.
Question 17 of 50
What is the primary purpose of "firewalls"?
Correct answer: B) To block unauthorized access to a network
Explanation: Explanation: Firewalls serve as a security barrier that monitors and filters incoming and outgoing network traffic, protecting systems from unauthorized access and threats.
Question 18 of 50
Which type of attack involves overwhelming a system with traffic?
Correct answer: C) Denial-of-Service (DoS)
Explanation: Explanation: A Denial-of-Service attack aims to disrupt services by flooding a target system with excessive traffic, rendering it unavailable to legitimate users.
Question 19 of 50
What does "API" stand for in programming?
Correct answer: A) Application Programming Interface
Explanation: Explanation: An API (Application Programming Interface) defines a set of rules and protocols for building software applications, enabling communication between different software components.
Question 20 of 50
Which of the following is a benefit of using "version control systems"?
Correct answer: B) Enhanced collaboration among developers
Explanation: Explanation: Version control systems allow multiple developers to work on a project simultaneously, tracking changes and facilitating collaboration effectively.
Question 21 of 50
What is the purpose of "data encryption"?
Correct answer: B) To secure sensitive information
Explanation: Explanation: Data encryption converts information into a coded format, ensuring that only authorized users can access and read the original data, thus protecting it from unauthorized access.
Question 22 of 50
Which of the following is an example of "non-volatile memory"?
Correct answer: C) SSD
Explanation: Explanation: Solid State Drives (SSD) are non-volatile memory that retains data even when the power is turned off, unlike RAM which is volatile.
Question 23 of 50
What does "load balancing" refer to in computer networking?
Correct answer: A) Distributing network traffic across multiple servers
Explanation: Explanation: Load balancing optimizes the distribution of network traffic across several servers to ensure efficient resource use and enhance performance and reliability.
Question 24 of 50
Which of the following is a characteristic of "open-source software"?
Correct answer: B) The source code can be modified and shared
Explanation: Explanation: Open-source software allows users to view, modify, and distribute its source code, promoting collaboration and innovation within the software community.
Question 25 of 50
What does "high availability" in systems design refer to?
Correct answer: B) The ability to remain operational over time
Explanation: Explanation: High availability ensures that a system remains operational and accessible with minimal downtime, often achieved through redundancy and failover strategies.
Question 26 of 50
What is the role of a "router" in a network?
Correct answer: B) To connect different networks and route data packets
Explanation: Explanation: A router directs data packets between different networks, ensuring they reach their intended destination by determining the best path for data.
Question 27 of 50
What is "SQL" primarily used for?
Correct answer: B) Managing and querying relational databases
Explanation: Explanation: SQL (Structured Query Language) is the standard language used to manage and manipulate relational databases, allowing for data retrieval, insertion, updating, and deletion.
Question 28 of 50
What is the primary function of "RAM" in a computer?
Correct answer: B) To temporarily store data for quick access
Explanation: Explanation: RAM (Random Access Memory) serves as temporary storage for data and applications currently in use, allowing for fast access and processing by the CPU.
Question 29 of 50
What is the main goal of "software testing"?
Correct answer: B) To ensure software meets requirements and is bug-free
Explanation: Explanation: Software testing is conducted to verify that the software behaves as expected, meets specified requirements, and is free of defects or bugs.
Question 30 of 50
What does "phishing" involve?
Correct answer: B) Sending fraudulent messages to trick individuals into revealing sensitive information
Explanation: Explanation: Phishing is a form of cyber attack where attackers impersonate legitimate entities to deceive users into providing personal information such as passwords or credit card numbers.
Question 31 of 50
What is a "data breach"?
Correct answer: A) The unauthorized access of confidential data
Explanation: Explanation: A data breach occurs when sensitive or confidential data is accessed or disclosed without authorization, often leading to data theft or loss.
Question 32 of 50
What does "network latency" refer to?
Correct answer: B) The time delay in data transmission over a network
Explanation: Explanation: Network latency is the time it takes for data to travel from the source to the destination across a network, affecting the speed of communications.
Question 33 of 50
What is the function of a "gateway" in networking?
Correct answer: A) To connect two different networks
Explanation: Explanation: A gateway acts as a "gate" between two networks, enabling communication and data transfer between them, often with different protocols.
Question 34 of 50
Which of the following is an example of a "block storage" solution?
Correct answer: A) SSD (Solid State Drive)
Explanation: Explanation: Block storage is a type of data storage where data is stored in fixed-size blocks. SSDs are examples of block storage systems, providing high-speed data access.
Question 35 of 50
What is the purpose of "data normalization" in databases?
Correct answer: B) To reduce data anomalies and redundancy
Explanation: Explanation: Data normalization organizes data in a database to minimize redundancy and dependency by dividing data into related tables, reducing the risk of data anomalies.
Question 36 of 50
What is the role of a "data warehouse"?
Correct answer: B) To store large volumes of historical data for analysis
Explanation: Explanation: A data warehouse consolidates and stores large amounts of historical data, enabling organizations to analyze and generate reports on their data over time.
Question 37 of 50
Which of the following best describes "Big Data"?
Correct answer: A) Data that is too large for traditional data processing software
Explanation: Explanation: Big Data refers to datasets that are so large and complex that traditional data processing applications are inadequate to handle them.
Question 38 of 50
What does "two-factor authentication" (2FA) enhance?
Correct answer: C) Security of user accounts
Explanation: Explanation: Two-factor authentication adds an extra layer of security by requiring not only a password but also a second factor, such as a text message code, to verify a user's identity.
Question 39 of 50
What is "user acceptance testing" (UAT)?
Correct answer: B) Testing conducted by end-users to validate functionality before deployment
Explanation: Explanation: User acceptance testing involves real users testing the software to ensure it meets their needs and functions as intended before it is officially released.
Question 40 of 50
What is the main function of "antivirus software"?
Correct answer: B) To detect and remove malware
Explanation: Explanation: Antivirus software is designed to scan, detect, and remove malicious software (malware) from computers to protect them from security threats.
Question 41 of 50
Which of the following refers to "phishing"?
Correct answer: B) A technique used to steal sensitive information through deceptive emails
Explanation: Explanation: Phishing involves sending fraudulent emails that appear legitimate to trick individuals into revealing personal information, such as passwords and credit card numbers.
Question 42 of 50
What does "cloud computing" enable users to do?
Correct answer: A) Access applications and resources over the internet
Explanation: Explanation: Cloud computing allows users to access and use computing resources, such as servers, storage, and applications, over the internet, reducing the need for local infrastructure.
Question 43 of 50
Which of the following is an example of "malware"?
Correct answer: C) Ransomware
Explanation: Explanation: Ransomware is a type of malware that encrypts files on a victim's computer, demanding payment for the decryption key to regain access to the data.
Question 44 of 50
What is a critical section?
Correct answer: B) A section of code that accesses shared data and must not be executed by more than one thread at a time
Explanation: A critical section accesses shared resources. Mutual exclusion ensures only one thread runs it at a time to avoid race conditions.
Question 45 of 50
Which part of the operating system manages hardware, memory and processes and runs in privileged mode?
Correct answer: D) The kernel
Explanation: The kernel is the core of the OS. It runs with full privileges and manages the CPU, memory, devices and system calls.
Question 46 of 50
Free memory split into many small non-contiguous blocks, so a large request cannot be satisfied, is called:
Correct answer: B) External fragmentation
Explanation: External fragmentation leaves enough total free memory but no single block large enough. Paging and compaction help address it.
Question 47 of 50
Which memory management technique divides physical memory into fixed-size blocks called frames?
Correct answer: B) Paging
Explanation: Paging divides physical memory into frames and logical memory into pages of the same size, avoiding external fragmentation.
Question 48 of 50
A process waiting for an I/O operation to finish is in which state?
Correct answer: C) Waiting (blocked)
Explanation: A process that cannot continue until an event such as I/O completion occurs moves to the waiting (blocked) state.
Question 49 of 50
What does a mutex guarantee?
Correct answer: A) Only one thread can hold the lock and access the protected resource at a time
Explanation: A mutex (mutual exclusion lock) lets only one thread at a time enter the code or resource it protects.
Question 50 of 50
Which technique prevents starvation by gradually increasing the priority of processes that have waited a long time?
Correct answer: A) Aging
Explanation: Aging raises the priority of waiting processes over time, so low-priority processes eventually get CPU time.
Set 5 complete
You scored 0%
0 correct out of 0 answered (50 questions in this set).