SUPERSTARWEBTECH

There is no elevator to success. You have to take the stairs. Take your first steps with SSWT!

CS604 Operating Systems Quiz MCQs Lecture 1-22 MidTerm Objective Questions

CS604-Operating Systems Quiz #Objective #Questions

1. Bounded Buffer is a buffer of ___ size.

  • Variable
  • Fixed ✔

2. Which could not be the advantage of thread?

  • Separate address space
  • Quick response
  • Economical ✔
  • Best in a multiprocessing environment
3. ___ scheduler takes the process from the ready queue and assigns the CPU with the help of  Dispatcher.
  • Long term
  • Short term ✔
  • Medium-term
  • Swapper

4. First ___ entries in Per Process File Descriptor Table are used as soon as the process is created.

  • 1
  • 2
  • 3
  • 4

5. Which part of the computer system helps in managing the file and memory management system?

  • Operating system ✔
  • Device Drivers
  • Application software
  • Hardware

6. Swapper is also termed as Short term scheduler.

  • True
  • False ✔

7. A time-sharing system is:

  • Multi-user
  • Multitasking
  • Interactive
  • All of these ✔

8. The main characteristic of a Real-time system is:

  • Efficiency ✔
  • Large Virtual Memory
  • The large secondary storage device
  • Usability

9. Linux uses ___ directory to store system configuration files.

  • /bin
  • /dev
  • /boot
  • /etc ✔

10. A Process ‘A’ that has finished working but its parent process has also finished its execution. In this state, the process ‘A’ will be called as___.

  • Child
  • Thread
  • Zombie ✔
  • Fork

11. The problem with priority scheduling algorithm is ___

  • Deadlock
  • Starvation
  • Aging
  • Nice value

12. The priorities of processes in the ___ group remain fixed

  • Kernel
  • User

13. Batch programs are usually ___ programs

  • Interactive
  • Non-interactive
  • Foreground
  • Preemptive

14. The number of processes completed per unit time is called ___

  • Turn around time
  • Throughput
  • Response time
  • Dispatch latency

15. A process is said to be in critical section if it executes code that manipulates shared data

  • True
  • False

16. When processes are generated using fork() system call and then after that they are coordinated with each other using IPC channel. They are utilizing a separate address space for each of process (parent, child),, kernel resouces and IPC channel. This makes it a more heavy. Which strategy can be used to make it light?

  • Termination of child process when these become more
  • Scheduling of each process
  • Use of threads
  • Use of Batch systems

17. Kernel is responsible for scheduling the user level threads

  • True
  • False

18. In Unix/Linux environment Ali wants to know the number of processes running on the system and their status, number of CPUs in the system and their usage, amount of main memory and its usage. Which of the following command will help in this regard?

  • $ ps
  • $ gcc
  • $ fifo
  • $ top

Author

Anam Afzal

Anam Afzal

Hi, I'm a Pakistani freelancer with a passion for helping businesses achieve their online goals through no-code solutions. I specialize in WordPress customization and ManyChat automation, and I'm always on the lookout for new ways to use technology to make businesses more efficient and successful. I'm also a big believer in the power of no-code tools to democratize technology and make it accessible to everyone. I'm passionate about sharing my knowledge and helping others learn how to use no-code tools to create their own websites, automate their workflows, and grow their businesses. If you're looking for a reliable and experienced no-code developer, I'm here to help. Please feel free to contact me to discuss your project requirements.
SHARE THIS POST