Question 21
EasyWhat is the defining feature of a real-time operating system?
- A.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Operating Systems
What is the defining feature of a real-time operating system?
It works only during office hours
It shows the current time on screen
It always runs faster than other operating systems
It guarantees responses within fixed time limits
Sign up free to see the answer and a step-by-step explanation.
Which of these operating systems is open source?
Linux
Windows 11
iOS
macOS
Sign up free to see the answer and a step-by-step explanation.
What is a hypervisor?
A type of keyboard
Software that creates and runs virtual machines
A program that removes viruses
A very fast CPU
Sign up free to see the answer and a step-by-step explanation.
What advantage does a 64-bit operating system have over a 32-bit one?
It always uses less memory
It can address far more memory
It cannot run old programs
It needs no drivers
Sign up free to see the answer and a step-by-step explanation.
What is DMA (direct memory access)?
A type of memory chip
A virus that attacks memory
A method of storing data on a DVD
A way for devices to transfer data to memory without the CPU handling every byte
Sign up free to see the answer and a step-by-step explanation.
In Linux, what is the first user-space process started by the kernel (PID 1)?
bash
login
cron
init (systemd on many systems)
Sign up free to see the answer and a step-by-step explanation.
Which of these is a command-line interface?
Bash
Photo viewer
Paint
Calculator app
Sign up free to see the answer and a step-by-step explanation.
How does a microkernel differ from a monolithic kernel?
It runs every service inside the kernel
It has no kernel mode at all
It runs most services, such as drivers and file systems, in user space
It can run only one process at a time
Sign up free to see the answer and a step-by-step explanation.
In Unix, what value does fork() return in the child process?
0
The child's PID
−1
The parent's PID
Sign up free to see the answer and a step-by-step explanation.
Which event switches the CPU from user mode to kernel mode?
A system call
A call to a function in the same program
Declaring a global variable
A loop finishing
Sign up free to see the answer and a step-by-step explanation.