Skip to content
World MCQ Forum India

Operating Systems, Databases and Programming Basics MCQs

Solved computer awareness MCQs on operating system functions, virtual memory, DBMS keys and SQL, programming languages, algorithms and flowcharts, and utility software.

20 MCQsUpdated 27 October 2026

These MCQs explain what an operating system does, milestones such as the first Linux kernel and the Java language, database keys and tables, and software categories like freeware and shareware.

You don't need to be a programmer to score here. Learn one clear definition for each term, such as primary key and foreign key, and the explanations will help you separate options that sound alike.

Take as quiz
  1. 1

    The main job of an operating system is to:

    Correct answer: A. manage hardware and software and act as an interface for the user

    The OS manages memory, processes, files and devices, and lets users and programs use the hardware.

    easy
  2. 2

    The core part of an operating system that controls the hardware directly is the:

    Correct answer: A. Kernel

    The kernel manages the CPU, memory and devices; the shell is the interface through which users give commands.

    medium
  3. 3

    Virtual memory means:

    Correct answer: D. using part of the hard disk as an extension of RAM

    When RAM is full, the OS moves less-used data to a page file on the disk so programs can keep running.

    medium
  4. 4

    The ability of an OS to run several programs at the same time is called:

    Correct answer: A. Multitasking

    Multitasking lets you, for example, play music while typing a document.

    easy
  5. 5

    The Linux kernel was first released in 1991 by:

    Correct answer: D. Linus Torvalds

    Linus Torvalds released Linux as free, open-source software. Dennis Ritchie created the C language.

    easy
  6. 6

    The Android operating system for phones is based on the:

    Correct answer: D. Linux kernel

    Android, developed by Google, uses a modified Linux kernel.

    medium
  7. 7

    SQL stands for:

    Correct answer: B. Structured Query Language

    SQL is the standard language for creating, reading, updating and deleting data in relational databases.

    easy
  8. 8

    In a database table, the field that uniquely identifies each record is the:

    Correct answer: B. Primary key

    A primary key, such as a roll number or account number, can never repeat or be empty.

    easy
  9. 9

    A foreign key in a database is used to:

    Correct answer: C. link one table to another

    A foreign key in one table refers to the primary key of another table, creating a relationship.

    medium
  10. 10

    Which SQL command is used to fetch data from a table?

    Correct answer: B. SELECT

    SELECT retrieves data; INSERT adds rows, UPDATE changes them and DELETE removes them.

    easy
  11. 11

    Which of these is a database management system?

    Correct answer: D. MySQL

    MySQL, Oracle and SQL Server are database management systems.

    easy
  12. 12

    Assembly language is an example of a:

    Correct answer: D. low-level language

    Assembly uses short codes (mnemonics) close to machine code; an assembler converts it to binary.

    medium
  13. 13

    The Java programming language was developed at Sun Microsystems by a team led by:

    Correct answer: C. James Gosling

    Java appeared in 1995. Guido van Rossum created Python and Bjarne Stroustrup created C++.

    medium
  14. 14

    Finding and fixing errors in a computer program is called:

    Correct answer: C. Debugging

    An error in a program is called a bug, so removing it is debugging.

    easy
  15. 15

    A step-by-step set of instructions for solving a problem is called a(n):

    Correct answer: B. Algorithm

    An algorithm can be written in plain language or drawn as a flowchart before it is coded.

    easy
  16. 16

    In a flowchart, a decision (yes/no question) is shown by a:

    Correct answer: C. diamond

    Diamonds show decisions, rectangles show processes, ovals show start and end, and parallelograms show input and output.

    medium
  17. 17

    Freeware is software that:

    Correct answer: A. can be used free of charge, though its source code may not be available

    Freeware costs nothing to use; open-source software makes its source code available; shareware is usually a trial version.

    Read details
    medium
  18. 18

    A file with the extension .exe is usually a(n):

    Correct answer: B. executable program

    On Windows, .exe files run programs, so be careful when opening them from unknown sources.

    easy
  19. 19

    Disk defragmentation is done to:

    Correct answer: A. rearrange scattered pieces of files on a hard disk so they load faster

    Defragmenting helps traditional hard disks; SSDs do not need it.

    medium
  20. 20

    Antivirus and disk-cleanup programs are examples of:

    Correct answer: C. Utility software

    Utility software helps maintain, protect and optimise the computer.

    easy