Sachivalayam Digital Assistant – Operating systems MCQ – 1

sachivalayam dbms

1. What is an operating system?

    a) A program that manages hardware resources and provides services to application programs.

    b) A program that executes user commands.

    c) A program that controls the flow of data between the CPU and memory.

    d) A program that provides a user interface.

A) A program that manages hardware resources and provides services to application programs.

2. What is the main function of the command interpreter?

    a) To execute user commands.

    b) To provide a user interface.

    c) To manage hardware resources.

    d) To provide services to application programs.

A) To execute user commands.

3. In operating systems, which of the following is/are CPU scheduling algorithms?

    a) First-come, first-served (FCFS).

    b) Shortest job first (SJF).

    c) Round-robin (RR).

    d) Priority scheduling.

A, B, C, D

4. To access the services of the operating system, the interface is provided by the ___

    a) Command interpreter.

    b) User interface.

    c) Kernel.

    d) Device driver.

A) Command interpreter.

5. What is the main function of the kernel?

    a) To manage hardware resources.

    b) To provide services to application programs.

    c) To execute user commands.

    d) To provide a user interface.

A) To manage hardware resources.

6. What is the main function of the device driver?

    a) To manage hardware resources.

    b) To provide services to application programs.

    c) To execute user commands.

    d) To provide a user interface.

C) To control the flow of data between the CPU and a specific device.

7. What is the main function of the memory manager?

    a) To manage hardware resources.

    b) To provide services to application programs.

    c) To execute user commands.

    d) To provide a user interface.

D) To allocate and deallocate memory to application programs.

8. What is the main function of the file system?

    a) To manage hardware resources.

    b) To provide services to application programs.

    c) To execute user commands.

    d) To provide a user interface.

B) To store and retrieve files.

9. What is a process?

    a) A program that is currently running.

    b) A program that is waiting to be executed.

    c) A program that is in memory.

    d) A program that has been loaded into memory.

A) A program that is currently running.

10. What is a thread?

    a) A light-weight process.

    b) A program that is waiting to be executed.

    c) A program that is in memory.

    d) A program that has been loaded into memory.

A) A light-weight process.

11. What is a deadlock?

    a) A situation where two or more processes are waiting for each other to finish.

    b) A situation where a process is waiting for itself to finish.

    c) A situation where a process is waiting for a resource that is never available.

    d) A situation where a process is waiting for a resource that is already in use by another process.

A) A situation where two or more processes are waiting for each other to finish.

12. What is a starvation?

    a) A situation where a process is waiting for a resource that is never available.

    b) A situation where a process is waiting for a resource that is already in use by another process.

    c) A situation where a process is waiting for itself to finish.

    d) A situation where two or more processes are waiting for each other to finish.

A) A situation where a process is waiting for a resource that is never available.

13. What is a race condition?

a) A situation where two or more processes are accessing the same data at the same time and the results are unpredictable.

b) A situation where a process is waiting for a resource that is already in use by another process.

c) A situation where a process is waiting for itself to finish.

d) A situation where two or more processes are waiting for each other to finish.

A) A situation where two or more processes are accessing the same data at the same time and the results are unpredictable.

14. Which of the following statements is incorrect about the 'Notification Area' of the Windows 10 operating system?

a) Icons for pinned applications are also displayed in the notification area.

b) It is located on the right side of the taskbar.

c) Internet connection status is displayed in the notification area.

d) The speaker's volume level is displayed in the notification area.

a) Icons for pinned applications are also displayed in the notification area.

15. What is a semaphore?

    a) A synchronization primitive that can be used to protect shared resources.

    b) A light-weight process.

    c) A program that is waiting to be executed.

    d) A program that has been loaded into memory.

A) A synchronization primitive that can be used to protect shared resources.

16. What is a mutex?

    a) A synchronization primitive that can be used to protect shared resources.

    b) A light-weight process.

    c) A program that is waiting to be executed.

    d) A program that has been loaded into memory.

A) A synchronization primitive that can be used to protect shared resources.

17. What is a condition variable?

    a) A synchronization primitive that can be used to wait for a specific event to occur.

    b) A light-weight process.

    c) A program that is waiting to be executed.

    d) A program that has been loaded into memory.

A) A synchronization primitive that can be used to wait for a specific event to occur.

18. What is a deadlock?

    a) A situation where two or more processes are waiting for each other to finish.

    b) A situation where a process is waiting for itself to finish.

    c) A situation where a process is waiting for a resource that is never available.

    d) A situation where a process is waiting for a resource that is already in use by another process.

A) A situation where two or more processes are waiting for each other to finish.

19. What is a starvation?

    a) A situation where a process is waiting for a resource that is never available.

    b) A situation where a process is waiting for a resource that is already in use by another process.

    c) A situation where a process is waiting for itself to finish.

    d) A situation where two or more processes are waiting for each other to finish.

B) A situation where a process is waiting for a resource that is already in use by another process.

20. What is a race condition?

a) A situation where two or more processes are accessing the same data at the same time and the results are unpredictable.

b) A situation where a process is waiting for a resource that is already in use by another process.

c) A situation where a process is waiting for itself to finish.

d) A situation where two or more processes are waiting for each other to finish.

A) A situation where two or more processes are accessing the same data at the same time and the results are unpredictable.

Leave a Reply

Your email address will not be published. Required fields are marked *

You cannot copy content of this page