What is deadlock? What is startvation? How do they differ from each other? (Answered)
What are monitors and condition variables? (Answered)
Describe how to implement a lock using semaphores. (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 (Answered)
What is the producer consumer problem? Give an example of its occurence in operating
systems. (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. (Answered)
Interrupt disabling and enabling is a common approach to implementing mutual exclusion,
what are its advantages and disadvantages? (Answered)
Why is turn passing a poor solution to the critical sections problem? (Answered)
What are three requirements of any solution to the critical sections problem? Why are the
requirements needed? (Answered)
What is a critical region? How do they relate to controlling access to shared resources? (Answered)
What is a race condition? Give an example (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? (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 (Answered)
Enumerate the advantages and disadvantages of supporting multi-threaded applications
with kernel-level threads (Answered)
Why are user-level threads packages generally cooperatively scheduled? (Answered)
Name some advantages and disadvantages of user-level threads (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 (Answered)
What is the relationship between threads and processes? (Answered)
What is the function of the ready queue? (Answered)
What is a process? What are attributes of a process? (Answered)
Multi-programming (or multi-tasking) enables more than a single process to apparently
execute simultaneously. How is this achieved on a uniprocoessor? (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 (Answered)
Is putting security checks in the C library a good or a bad idea? Why? (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? (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 (Answered)
Describe the two general roles of an operating system, and elaborate why these roles are
important. (Answered)
How does NTFS handle data structures? How does NTFS recover from a system crash? What is guaranteed after a recovery takes place? (Answered)
What are the responsibilities of the I/O manager? (Answered)
List the design goals of Windows XP. Describe two in detail. (Answered)
What type of operating system is Windows XP? Describe two of its major features (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? (Answered)
What protection problems may arise if a shared stack is used for parameter passing? (Answered)
What are the main differences between capability lists and access lists? (Answered)
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 purpose of system programs? (Answered)
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 memory management? (Answered)
What are the five major activities of an operating system in regard to process management? (Answered)
What is the purpose of system calls? (Answered)
Is the Internet a LAN or a WAN? (Answered)
How does the distinction between kernel mode and user mode function as a rudimentary form of protection (security) system? (Answered)
What is the main difficulty that a programmer must overcome in writing an operating system for a real-time environment? (Answered)
List the four steps that are necessary to run a program on a completely dedicated machine (Answered)
What are the main differences between operating systems for mainframe computers and personal
computers? (Answered)
What are the three main purposes of an operating system? (Answered)
Discuss five factors to consider when making a decision on which network topology to adopt in your academic (Answered)
ICT refers to telecommunication, computers, software and data system that can be used to support, store and transmit the communication technologies for researcher to access and manipulate information…..” Explain three application software that can be applied in the academic sector (Answered)
Write a program to add,subtract,multiply and divide two integer using user-defined type function with return type
(Answered)
Write a C program to keep records and perform statistical analysis for a car sales agency. The information of each car contains the number of the doors, the year, and the price. Note that you cannot use nested loops in the program. The expected output should contain your name, your CS 159 section number and your student ID as shown in the sample output. In the program, materials covered in the (Answered)
Write a C program that calculates the average salary, average rank and the average age of employees of a company. In the program, while loop, do/while loop, else statement, global variables and constant statement cannot be used. The main function should run successfully with different scenarios.
A. The main function should perform the following:
• Defines a local string variable named PartA_O10 (Answered)