Question 1
EasyWhich of these is NOT an operating system?
- A.
MySQL
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Operating Systems
Which of these is NOT an operating system?
MySQL
Windows
Linux
macOS
Answer: A
MySQL is a database management system that runs on top of an operating system. Linux, Windows and macOS are operating systems.
What is the kernel of an operating system?
A program that compiles source code
The graphical user interface
The core part that manages the CPU, memory and devices
The first file stored on the hard disk
Answer: C
The kernel is the central part of the OS: it runs in privileged mode and manages processes, memory, devices and system calls.
What is a system call?
An error raised by the compiler
A call from one user function to another
A request by a program for a service from the kernel
A phone call made by the system administrator
Answer: C
Programs use system calls (open, read, fork, …) to ask the kernel to do privileged work on their behalf.
What loads the operating system kernel into memory when a computer starts?
The compiler
The shell
The device driver
The bootloader
Answer: D
Firmware (BIOS/UEFI) runs first and starts the bootloader (such as GRUB), which loads the kernel into memory.
What is the main goal of multiprogramming?
To let one program use several CPUs
To make programs smaller
To keep the CPU busy by having several jobs in memory
To protect files from viruses
Answer: C
When one job waits for I/O, the CPU switches to another job in memory, so it is rarely idle.
Which of these most needs a hard real-time operating system?
A music streaming app
A word processor
An email client
A car's airbag controller
Answer: D
An airbag must deploy within a strict deadline; missing it is a failure. That is a hard real-time requirement.
Which part of the OS lets users type commands to run programs?
The scheduler
The file allocation table
The page table
The shell
Answer: D
The shell (such as bash or cmd) is a command interpreter that reads commands and asks the OS to run them.
Which of these is a job of an operating system?
Sharing the CPU and memory among running programs
Repairing hardware faults
Translating English to Hindi
Designing web pages
Answer: A
An OS manages hardware resources such as CPU time, memory and devices, and shares them among programs.
What is an operating system?
A program for typing documents
The physical parts of a computer
Software that manages the computer's hardware and provides services to programs
A network that connects computers
Answer: C
The OS sits between application programs and the hardware, managing resources and offering common services.
What is a device driver?
A person who installs hardware
A program that speeds up the CPU
Software that lets the OS control a particular hardware device
A cable that connects a device
Answer: C
Each driver knows the details of one kind of device and gives the OS a standard way to use it.