Operating Systems questions and answers


Share Via:
        



Total of 153 Questions.

  Operating Systems Topics:


1.   Advantages of Round Robin Scheduling algorithm(Answered)
Advantages of Round Robin Scheduling algorithm.
Posted On:Fri 2, September 2022 06:00:44 am
2.   What is an EDF scheduler? What is its advantage over a rate monotic scheduler?(Answered)
What is an EDF scheduler? What is its advantage over a rate monotic scheduler?.
Posted On:Mon 6, June 2022 06:56:16 am
3.   In a real-time system with a periodic task set,, how are priorities assigned to each of the periodic tasks?(Answered)
In a real-time system with a periodic task set,, how are priorities assigned to each of the periodic tasks?.
Posted On:Mon 6, June 2022 06:55:29 am
4.   The traditional UNIX scheduler is a priority-based round robin scheduler (also called a multi-level round robin schduler). How does the scheduler go about favouring I/O bound jobs over long-running CPU-bound jobs?(Answered)
The traditional UNIX scheduler is a priority-based round robin scheduler (also called a multi-level round robin schduler). How does the scheduler go about favouring I/O bound jobs over long-running CPU-bound jobs?.
Posted On:Mon 6, June 2022 06:54:50 am
5.   Describe round robin scheduling. What is the parameter associated with the scheduler? What is the issue in chosing the parameter(Answered)
Describe round robin scheduling. What is the parameter associated with the scheduler? What is the issue in chosing the parameter.
Posted On:Mon 6, June 2022 06:54:12 am
6.   What is the difference between preemptive scheduling and non-preemptive scheduling? What is the issue with the latter?(Answered)
What is the difference between preemptive scheduling and non-preemptive scheduling? What is the issue with the latter?.
Posted On:Mon 6, June 2022 06:53:23 am
7.   Why is it generally correct to favour I/O bound processes over CPU-bound processes?(Answered)
Why is it generally correct to favour I/O bound processes over CPU-bound processes?.
Posted On:Mon 6, June 2022 06:52:40 am
8.   Name four disk-arm scheduling algorithms. Outline the basic algorithm for each.(Answered)
Name four disk-arm scheduling algorithms. Outline the basic algorithm for each..
Posted On:Mon 6, June 2022 06:51:27 am
9.   What is disk interleaving? What problem is it trying to solve?(Answered)
What is disk interleaving? What problem is it trying to solve?.
Posted On:Mon 6, June 2022 06:49:24 am
10.   Explain how the producer-consumer problem is relevant to operating system I/O.(Answered)
Explain how the producer-consumer problem is relevant to operating system I/O..
Posted On:Mon 6, June 2022 06:48:38 am
11.   Compare I/O based on polling with interrupt-driven I/O. In what situation would you favour one technique over the other?(Answered)
Compare I/O based on polling with interrupt-driven I/O. In what situation would you favour one technique over the other?.
Posted On:Mon 6, June 2022 06:48:03 am
12.   Device controllers are generally becoming more complex in the functionality they provide (e.g. think about the difference between implementing a serial port with a flip-flop controlled by the CPU and a multi-gigabit network adapter with the TCP/IP stack on the card itself). What effect might this have on the operating system and system performance?(Answered)
Device controllers are generally becoming more complex in the functionality they provide (e.g. think about the difference between implementing a serial port with a flip-flop controlled by the CPU and a multi-gigabit network adapter with the TCP/IP stack on the card itself). What effect might this have on the operating system and system performance?.
Posted On:Mon 6, June 2022 06:47:03 am
13.   Describe buffering in the I/O subsystem of an operating system. Give reasons why it is required, and give a case where it is an advantage, and a case where it is a disadvantage(Answered)
Describe buffering in the I/O subsystem of an operating system. Give reasons why it is required, and give a case where it is an advantage, and a case where it is a disadvantage.
Posted On:Mon 6, June 2022 06:46:21 am
14.   Name and describe four page replacement algorithms. Critically compare them with each other.(Answered)
Name and describe four page replacement algorithms. Critically compare them with each other..
Posted On:Mon 6, June 2022 06:45:19 am
15.   Describe two virtual memory page fetch policies. Which is less common in practice? Why?(Answered)
Describe two virtual memory page fetch policies. Which is less common in practice? Why?.
Posted On:Mon 6, June 2022 06:41:51 am
16.   Enumerate some pros and cons for increasing the page size.(Answered)
Enumerate some pros and cons for increasing the page size..
Posted On:Mon 6, June 2022 06:41:18 am
17.   What is thrashing? How might it be detected? How might one recover from it once detected?(Answered)
What is thrashing? How might it be detected? How might one recover from it once detected?.
Posted On:Mon 6, June 2022 06:40:47 am
18.   How does page size of a particular achitecture affect working set size?(Answered)
How does page size of a particular achitecture affect working set size?.
Posted On:Mon 6, June 2022 06:40:00 am
19.   What is the working set of a process?(Answered)
What is the working set of a process?.
Posted On:Mon 6, June 2022 06:39:20 am
20.   What are temporal locality and spatial locality?(Answered)
What are temporal locality and spatial locality?.
Posted On:Mon 6, June 2022 06:38:24 am
21.   What is an inverted page table? How does it compare to a two-level page table?(Answered)
What is an inverted page table? How does it compare to a two-level page table?.
Posted On:Mon 6, June 2022 06:37:41 am
22.   Describe a two-level page table? How does it compare to a simple page table array?(Answered)
Describe a two-level page table? How does it compare to a simple page table array?.
Posted On:Mon 6, June 2022 06:36:55 am
23.   Some TLBs support address space identifiers (ASIDS), why?(Answered)
Some TLBs support address space identifiers (ASIDS), why?.
Posted On:Mon 6, June 2022 06:36:15 am
24.   What is a translation look-aside buffer? What is contained in each entry it contains?(Answered)
What is a translation look-aside buffer? What is contained in each entry it contains?.
Posted On:Mon 6, June 2022 06:35:23 am
25.   Describe segmentation-based virtual memory. You should consider the components of a memory address, the segment table and its contents, and how the final physical address is formed in your answer(Answered)
Describe segmentation-based virtual memory. You should consider the components of a memory address, the segment table and its contents, and how the final physical address is formed in your answer.
Posted On:Mon 6, June 2022 06:34:35 am
26.   Give some advantages of a system with page-based virtual memory compared to a simply system with base-limit registers that implements swapping.(Answered)
Give some advantages of a system with page-based virtual memory compared to a simply system with base-limit registers that implements swapping..
Posted On:Mon 6, June 2022 06:33:51 am
27.   Describe page-based virtual memory. You should consider pages, frames, page tables, and Memory Management Units in your answer.(Answered)
Describe page-based virtual memory. You should consider pages, frames, page tables, and Memory Management Units in your answer..
Posted On:Mon 6, June 2022 06:32:52 am
28.   Base-limit MMUs can support swapping. What is swapping? Can swapping permit an application requiring 16M memory to run on a machine with 8M of RAM?(Answered)
Base-limit MMUs can support swapping. What is swapping? Can swapping permit an application requiring 16M memory to run on a machine with 8M of RAM?.
Posted On:Mon 6, June 2022 06:32:11 am
29.   List and describe the four memory allocation algorithms covered in lectures. Which two of the four are more commonly used in practice?(Answered)
List and describe the four memory allocation algorithms covered in lectures. Which two of the four are more commonly used in practice?.
Posted On:Mon 6, June 2022 06:31:06 am
30.   Describe the difference between external and internal fragmentation. Indicate which of the two are most likely to be an issues on a) a simple memory memory mangement machine using base limit registers and static partitioning, and b) a similar machine using dynamic partitioning(Answered)
Describe the difference between external and internal fragmentation. Indicate which of the two are most likely to be an issues on a) a simple memory memory mangement machine using base limit registers and static partitioning, and b) a similar machine using dynamic partitioning.
Posted On:Mon 6, June 2022 06:30:06 am
31.   Why might filesystems managing external storage devices do write-through caching (avoid buffering writes) even though there is a detrimental affect on performance(Answered)
Why might filesystems managing external storage devices do write-through caching (avoid buffering writes) even though there is a detrimental affect on performance.
Posted On:Mon 6, June 2022 06:29:30 am
32.   What does flushd do on a UNIX system?(Answered)
What does flushd do on a UNIX system?.
Posted On:Mon 6, June 2022 06:28:49 am
33.   The filesystem buffer cache does both buffering and caching. Describe why buffering is needed. Describe how buffering can improve performance (potentially to the detriment of file system robustness). Describe how the caching component of the buffer cache improves performance(Answered)
The filesystem buffer cache does both buffering and caching. Describe why buffering is needed. Describe how buffering can improve performance (potentially to the detriment of file system robustness). Describe how the caching component of the buffer cache improves performance.
Posted On:Mon 6, June 2022 06:27:48 am
34.   What is the reference count field in the inode? You should consider its relationship to directory entries in your answer.(Answered)
What is the reference count field in the inode? You should consider its relationship to directory entries in your answer..
Posted On:Mon 6, June 2022 06:27:01 am
35.   The Berkeley Fast Filesystem (and Linux Ext2fs) use the idea of block groups. Describe what this idea is and what improvements block groups have over the simple filesystem layout of the System V file system (s5fs).(Answered)
The Berkeley Fast Filesystem (and Linux Ext2fs) use the idea of block groups. Describe what this idea is and what improvements block groups have over the simple filesystem layout of the System V file system (s5fs)..
Posted On:Mon 6, June 2022 04:35:01 am
36.   What is the maximum file size supported by a file system with 16 direct blocks, single, double, and triple indirection? The block size is 512 bytes. Disk block numbers can be stored in 4 bytes.(Answered)
What is the maximum file size supported by a file system with 16 direct blocks, single, double, and triple indirection? The block size is 512 bytes. Disk block numbers can be stored in 4 bytes..
Posted On:Mon 6, June 2022 04:33:34 am
37.   Given that the maximum file size of combination of direct, single indirection, double indirection, and triple indirection in an inode-based filesystem is approximately the same as a filesystem solely using triple indirection, why not simply use only triple indirection to locate all file blocks?(Answered)
Given that the maximum file size of combination of direct, single indirection, double indirection, and triple indirection in an inode-based filesystem is approximately the same as a filesystem solely using triple indirection, why not simply use only triple indirection to locate all file blocks?.
Posted On:Mon 6, June 2022 04:32:46 am
38.   Why might the direct blocks be stored in the inode itself?(Answered)
Why might the direct blocks be stored in the inode itself?.
Posted On:Mon 6, June 2022 04:31:36 am
39.   How can the block count in an inode differ from the (file size / block size) rounded up to the nearest integer. Can the block count be greater, smaller, or both(Answered)
How can the block count in an inode differ from the (file size / block size) rounded up to the nearest integer. Can the block count be greater, smaller, or both.
Posted On:Mon 6, June 2022 04:30:48 am
40.   Compare bitmap-based allocation of blocks on disk with a free block list(Answered)
Compare bitmap-based allocation of blocks on disk with a free block list.
Posted On:Mon 6, June 2022 04:29:35 am
41.   What file allocation strategy is most appropriate for random access files?(Answered)
What file allocation strategy is most appropriate for random access files?.
Posted On:Mon 6, June 2022 04:28:46 am
42.   What file access pattern is particularly suited to chained file allocation on disk?(Answered)
What file access pattern is particularly suited to chained file allocation on disk?.
Posted On:Mon 6, June 2022 04:28:00 am
43.   Give an example where contiguous allocation of file blocks on disks can be used in practice.(Answered)
Give an example where contiguous allocation of file blocks on disks can be used in practice..
Posted On:Mon 6, June 2022 04:26:15 am
44.   Give a scenario where choosing a large filesystem block size might be a benefit; give an example where it might be a hinderance(Answered)
Give a scenario where choosing a large filesystem block size might be a benefit; give an example where it might be a hinderance.
Posted On:Mon 6, June 2022 04:25:26 am
45.   Give an example of a scenario that might benefit from a file system supporting an append-only access write(Answered)
Give an example of a scenario that might benefit from a file system supporting an append-only access write.
Posted On:Mon 6, June 2022 04:23:18 am
46.   Filesystems can support sparse files, what does this mean? Give an example of an application's file organisation that might benefit from a file system's sparse file support(Answered)
Filesystems can support sparse files, what does this mean? Give an example of an application's file organisation that might benefit from a file system's sparse file support.
Posted On:Mon 6, June 2022 04:22:26 am
47.   Describe the general strategy behind deadlock prevention, and give an example of a practical deadlock prevention method(Answered)
Describe the general strategy behind deadlock prevention, and give an example of a practical deadlock prevention method.
Posted On:Mon 6, June 2022 04:21:24 am
48.   What must the banker's algorithm know a priori in order to prevent deadlock?(Answered)
What must the banker's algorithm know a priori in order to prevent deadlock?.
Posted On:Mon 6, June 2022 04:20:17 am
49.   Assuming the operating system detects the system is deadlocked, what can the operating system do to recover from deadlock?(Answered)
Assuming the operating system detects the system is deadlocked, what can the operating system do to recover from deadlock?.
Posted On:Mon 6, June 2022 04:19:21 am
50.   For single unit resources, we can model resource allocation and requests as a directed graph connecting processes and resources. Given such a graph, what is involved in deadlock detection(Answered)
For single unit resources, we can model resource allocation and requests as a directed graph connecting processes and resources. Given such a graph, what is involved in deadlock detection.
Posted On:Mon 6, June 2022 04:17:40 am
51.   Describe four general strategies for dealing with deadlocks(Answered)
Describe four general strategies for dealing with deadlocks.
Posted On:Mon 6, June 2022 04:09:51 am
52.   What are the four conditions required for the deadlock to occur?(Answered)
What are the four conditions required for the deadlock to occur?.
Posted On:Mon 6, June 2022 04:00:05 am
53.   What is deadlock? What is startvation? How do they differ from each other?(Answered)
What is deadlock? What is startvation? How do they differ from each other?.
Posted On:Mon 6, June 2022 03:59:03 am
54.   What are monitors and condition variables?(Answered)
What are monitors and condition variables?.
Posted On:Mon 6, June 2022 03:57:57 am
55.   Describe how to implement a lock using semaphores.(Answered)
Describe how to implement a lock using semaphores..
Posted On:Mon 6, June 2022 03:57:01 am
56.   A semaphore is a blocking synchronisation primitive. Describe how they work with the aid of pseudo-code. You can assume the existance of a thread_block() and a thread_wakeup() function(Answered)
A semaphore is a blocking synchronisation primitive. Describe how they work with the aid of pseudo-code. You can assume the existance of a thread_block() and a thread_wakeup() function.
Posted On:Mon 6, June 2022 03:56:11 am
57.   What is the producer consumer problem? Give an example of its occurence in operating systems.(Answered)
What is the producer consumer problem? Give an example of its occurence in operating systems..
Posted On:Mon 6, June 2022 03:54:21 am
58.   What is a test-and-set instruction? How can it be used to implement mutual exclusion? Consider using a fragment of psuedo-assembly language aid you explanation.(Answered)
What is a test-and-set instruction? How can it be used to implement mutual exclusion? Consider using a fragment of psuedo-assembly language aid you explanation..
Posted On:Mon 30, May 2022 13:21:35 pm
59.   Interrupt disabling and enabling is a common approach to implementing mutual exclusion, what are its advantages and disadvantages?(Answered)
Interrupt disabling and enabling is a common approach to implementing mutual exclusion, what are its advantages and disadvantages?.
Posted On:Sun 29, May 2022 22:20:02 pm
60.   Why is turn passing a poor solution to the critical sections problem?(Answered)
Why is turn passing a poor solution to the critical sections problem?.
Posted On:Sun 29, May 2022 22:19:16 pm
61.   What are three requirements of any solution to the critical sections problem? Why are the requirements needed?(Answered)
What are three requirements of any solution to the critical sections problem? Why are the requirements needed?.
Posted On:Sun 29, May 2022 22:18:31 pm
62.   What is a critical region? How do they relate to controlling access to shared resources?(Answered)
What is a critical region? How do they relate to controlling access to shared resources?.
Posted On:Sun 29, May 2022 22:17:47 pm
63.   What is a race condition? Give an example(Answered)
What is a race condition? Give an example.
Posted On:Sun 29, May 2022 22:16:37 pm
64.   Context switching between two threads of execution within the operating system is usually performed by a small assembly language function. In general terms, what does this small function do internally?(Answered)
Context switching between two threads of execution within the operating system is usually performed by a small assembly language function. In general terms, what does this small function do internally?.
Posted On:Sun 29, May 2022 22:15:27 pm
65.   Describe a sequence the sequence of step that occur when a timer interrupt occurs that eventually results in a context switch to another application(Answered)
Describe a sequence the sequence of step that occur when a timer interrupt occurs that eventually results in a context switch to another application.
Posted On:Sun 29, May 2022 22:14:47 pm
66.   Enumerate the advantages and disadvantages of supporting multi-threaded applications with kernel-level threads(Answered)
Enumerate the advantages and disadvantages of supporting multi-threaded applications with kernel-level threads.
Posted On:Sun 29, May 2022 22:14:08 pm
67.   Why are user-level threads packages generally cooperatively scheduled?(Answered)
Why are user-level threads packages generally cooperatively scheduled?.
Posted On:Sun 29, May 2022 22:12:52 pm
68.   Name some advantages and disadvantages of user-level threads(Answered)
Name some advantages and disadvantages of user-level threads.
Posted On:Sun 29, May 2022 22:11:22 pm
69.   Describe how a multi-threaded application can be supported by a user-level threads package. It may be helpful to consider (and draw) the components of such a package, and the function they perform(Answered)
Describe how a multi-threaded application can be supported by a user-level threads package. It may be helpful to consider (and draw) the components of such a package, and the function they perform.
Posted On:Sun 29, May 2022 22:08:57 pm
70.   What is the relationship between threads and processes?(Answered)
What is the relationship between threads and processes?.
Posted On:Sun 29, May 2022 22:08:24 pm
71.   What is the function of the ready queue?(Answered)
What is the function of the ready queue?.
Posted On:Sun 29, May 2022 22:07:38 pm
72.   What is a process? What are attributes of a process?(Answered)
What is a process? What are attributes of a process?.
Posted On:Sun 29, May 2022 22:06:24 pm
73.   Multi-programming (or multi-tasking) enables more than a single process to apparently execute simultaneously. How is this achieved on a uniprocoessor?(Answered)
Multi-programming (or multi-tasking) enables more than a single process to apparently execute simultaneously. How is this achieved on a uniprocoessor?.
Posted On:Sun 29, May 2022 22:03:17 pm
74.   Describe the three state process model, describe what transitions are valid between the three states, and describe an event that might cause such a transition(Answered)
Describe the three state process model, describe what transitions are valid between the three states, and describe an event that might cause such a transition.
Posted On:Sun 29, May 2022 22:02:11 pm
75.   Is putting security checks in the C library a good or a bad idea? Why?(Answered)
Is putting security checks in the C library a good or a bad idea? Why?.
Posted On:Sun 29, May 2022 22:01:31 pm
76.   Why must the operating system be more careful when accessing input to a system call (or producing the result) when the data is in memory instead of registers?(Answered)
Why must the operating system be more careful when accessing input to a system call (or producing the result) when the data is in memory instead of registers?.
Posted On:Sun 29, May 2022 21:59:34 pm
77.   Using a simple system call as an example (e.g. getpid, or uptime), describe what is generally involved in providing the result, from the point of calling the function in the C library to the point where that function returns(Answered)
Using a simple system call as an example (e.g. getpid, or uptime), describe what is generally involved in providing the result, from the point of calling the function in the C library to the point where that function returns.
Posted On:Sun 29, May 2022 21:58:39 pm
78.   Describe the two general roles of an operating system, and elaborate why these roles are important.(Answered)
Describe the two general roles of an operating system, and elaborate why these roles are important..
Posted On:Sun 29, May 2022 21:57:39 pm
79.   How does NTFS handle data structures? How does NTFS recover from a system crash? What is guaranteed after a recovery takes place?(Answered)
How does NTFS handle data structures? How does NTFS recover from a system crash? What is guaranteed after a recovery takes place?.
Posted On:Mon 23, May 2022 15:03:38 pm
80.   What are the responsibilities of the I/O manager?(Answered)
What are the responsibilities of the I/O manager?.
Posted On:Mon 23, May 2022 15:02:39 pm
81.   List the design goals of Windows XP. Describe two in detail.(Answered)
List the design goals of Windows XP. Describe two in detail..
Posted On:Mon 23, May 2022 15:02:00 pm
82.   What type of operating system is Windows XP? Describe two of its major features(Answered)
What type of operating system is Windows XP? Describe two of its major features.
Posted On:Mon 23, May 2022 15:01:02 pm
83.   Capability lists are usually kept within the address space of the user. How does the system ensure that the user cannot modify the contents of the list?(Answered)
Capability lists are usually kept within the address space of the user. How does the system ensure that the user cannot modify the contents of the list?.
Posted On:Mon 23, May 2022 15:00:05 pm
84.   What protection problems may arise if a shared stack is used for parameter passing?(Answered)
What protection problems may arise if a shared stack is used for parameter passing?.
Posted On:Mon 23, May 2022 14:59:22 pm
85.   What are the main differences between capability lists and access lists?(Answered)
What are the main differences between capability lists and access lists?.
Posted On:Mon 23, May 2022 14:58:27 pm
86.   What is the main advantage of the layered approach to system design? What are the disadvantages of using the layered approach?(Answered)
What is the main advantage of the layered approach to system design? What are the disadvantages of using the layered approach?.
Posted On:Mon 23, May 2022 14:55:48 pm
87.   What is the purpose of system programs?(Answered)
What is the purpose of system programs?.
Posted On:Mon 23, May 2022 14:55:01 pm
88.   What are the three major activities of an operating system in regard to secondary-storage management?(Answered)
What are the three major activities of an operating system in regard to secondary-storage management?.
Posted On:Mon 23, May 2022 14:54:12 pm
89.   What are the three major activities of an operating system in regard to memory management?(Answered)
What are the three major activities of an operating system in regard to memory management?.
Posted On:Mon 23, May 2022 14:53:19 pm
90.   What are the five major activities of an operating system in regard to process management?(Answered)
What are the five major activities of an operating system in regard to process management?.
Posted On:Mon 23, May 2022 14:52:38 pm
91.   What is the purpose of system calls?(Answered)
What is the purpose of system calls?.
Posted On:Mon 23, May 2022 14:52:00 pm
92.   Is the Internet a LAN or a WAN?(Answered)
Is the Internet a LAN or a WAN?.
Posted On:Mon 23, May 2022 14:50:25 pm
93.   How does the distinction between kernel mode and user mode function as a rudimentary form of protection (security) system?(Answered)
How does the distinction between kernel mode and user mode function as a rudimentary form of protection (security) system?.
Posted On:Mon 23, May 2022 14:48:13 pm
94.   What is the main difficulty that a programmer must overcome in writing an operating system for a real-time environment?(Answered)
What is the main difficulty that a programmer must overcome in writing an operating system for a real-time environment?.
Posted On:Mon 23, May 2022 14:47:14 pm
95.   List the four steps that are necessary to run a program on a completely dedicated machine(Answered)
List the four steps that are necessary to run a program on a completely dedicated machine.
Posted On:Mon 23, May 2022 14:46:23 pm
96.   What are the main differences between operating systems for mainframe computers and personal computers?(Answered)
What are the main differences between operating systems for mainframe computers and personal computers?.
Posted On:Mon 23, May 2022 14:44:01 pm
97.   What are the three main purposes of an operating system?(Answered)
What are the three main purposes of an operating system?.
Posted On:Tue 17, May 2022 16:38:37 pm
98.   Describe the following path: C:\Windows\System\Kenya.doc.(Answered)
Describe the following path: C:\Windows\System\Kenya.doc..
Posted On:Tue 16, March 2021 17:46:17 pm
99.   List four programs that always runs in the background when the computer is started.(Answered)
List four programs that always runs in the background when the computer is started..
Posted On:Tue 16, March 2021 06:40:53 am
100.   Define the term installation.(Answered)
Define the term installation..
Posted On:Tue 16, March 2021 06:40:04 am
Page 1 of 2
More Questions Categories:


About Us

Contact us

Terms of use | Privacy policy

Follow Us:               

All Rights Reserved © 2024; pscustudies.com