Operating System
This test consists of questions related to Operating system concepts for the gate aspirants and CS branch students.
Questions
Which of the following OS scheduling algorithms provides a fix time for each process to execute?
- First Come First Serve (FCFS)
- Shortest Job First (SJF)
- Round Robin Scheduling
- Priority Based Scheduling
- None of the above
In Priority Based Scheduling, the priority are decided based on
- time requirements
- memory requirements
- resource requirements
- all of the above
- only (1) and (3)
Which of the following schedulers selects those processes, which are ready to execute?
- Long term scheduler
- Short term scheduler
- Medium term scheduler
- Both (1) and (2)
- None of the above
Which of the following scheduling algorithms are based on priority?
- Round Robin Scheduling
- Multi Queue Scheduling
- Shortest Job First (SJF) Scheduling
- Priority Based Scheduling
- Both (2) and (4)
Which of the following is the task of long term scheduler in operating system?
- This scheduler selects the processes from the queue and loads them into memory for execution.
- It removes the processes from memory and reduces the degree of multiprogramming.
- This scheduler is used to schedule the jobs for processing.
- All of the above
- Both (1) and (3)
Which of the following information is stored when the process is switched by the Context Switch in Operating System?
- Scheduling information
- Process changed state
- I/O state of the process
- Accounting information
- All of the above
Which of the following services is/are provided by the operating system?
- Protection
- File system manipulation
- Resource management
- Error handling
- All of the above
Which of the following processes is not included in multi queue scheduling?
- User processes
- Batch processes
- Interactive processes
- Interactive edit processes
- None of the above
Which of the following schedulers in operating system reduces the degree of multiprogramming?
- Long term scheduler
- Short term scheduler
- Medium term scheduler
- Both (1) and (3)
- None of the above
Which of the following scheduling algorithms uses context switching to save the state of the pre-empted process?
- Round Robin
- FCFS (First Come First Serve)
- SJF (Shortest Job First)
- Multi Queue Scheduling
- None of the above
Which of the following space allocations in files has external fragmentation in operating system?
- Linked Allocation
- Indexed Allocation
- Contiguous Allocation
- Both (1) and (3)
- None of the above
In file system of operating system, file contains the information can not to be recorded on
- magnetic discs
- magnetic tapes
- optical disks
- none of the above
- both (1) and (2)
Which of the following file types have information about the list of files in operating system?
- Directory files
- Ordinary files
- Special files
- Structure files
- None of the above
Which of the following is not true about context switch in operating system?
- Context switching is useful for multitasking operating systems.
- Context switch is used to store and restore the state of a CPU in Process Control Block.
- Context switching is dependent on hardware support.
- Context switcher saves the content of processor registers for the process being removed form the CPU.
- None of the above
Which of the following is an example of System threat?
- Worm
- Virus
- Trap door
- Trojan Horse
- None of the above