Jump to content
Sign in to follow this  

Category

Engineering Subjects

Description

  1. What's new in this club
  2. The experimental Synthesis operating system has an assembler incorporated in the kernel. To optimize system-call performance, the kernel assembles routines within kernel space to minimize the path that the system call must take through the kernel. This approach is the antithesis of the layered approach, in which the path through the kernel is extended to make building the operating system easier. Discuss the pros and cons of the Synthesis approach to kernel design and system-performance optimization You can write the answer and upload relevant images to justify the answer (if required) Let's together discuss and contribute in making the best answer
  3. What is the relationship between a guest operating system and a host operating system in a system like VMware? What factors need to be considered in choosing the host operating system? You can write the answer and upload relevant images to justify the answer (if required) Let's together discuss and contribute in making the best answer
  4. Why is a just-in-time compiler useful for executing Java programs? You can write the answer and upload relevant images to justify the answer (if required) Let's together discuss and contribute in making the best answer
  5. What is the main advantage for an operating system designer of using a virtual machine architecture? What is the main advantage for a user? You can write the answer and upload relevant images to justify the answer (if required) Let's together discuss and contribute in making the best answer
  6. In what ways is the modular kernel approach similar to the layered approach? In what ways does it differ from the layered approach? You can write the answer and upload relevant images to justify the answer (if required) Let's together discuss and contribute in making the best answer
  7. What is the main advantage of the microkernel approach to system design? How do user programs and system services interact in a microkernel architecture? What are the disadvantages of using the microkernel approach? You can write the answer and upload relevant images to justify the answer (if required) Let's together discuss and contribute in making the best answer
  8. It is sometimes difficult to achieve a layered approach if two components of the operating system are dependent on each other. Identify a scenario in which it is unclear how to layer two system components that require tight coupling of their functionalities You can write the answer and upload relevant images to justify the answer (if required) Let's together discuss and contribute in making the best answer
  9. Why does Java provide the ability to call from a Java program native methods that are written in, say, C or C.? Provide an example of a situation in which a native method is useful You can write the answer and upload relevant images to justify the answer (if required) Let's together discuss and contribute in making the best answer
  10. Why is the separation of mechanism and policy desirable? You can write the answer and upload relevant images to justify the answer (if required) Let's together discuss and contribute in making the best answer
  11. What are the two models of interprocess communication? What are the strengths and weaknesses of the two approaches? You can write the answer and upload relevant images to justify the answer (if required) Let's together discuss and contribute in making the best answer
  12. What is the purpose of the command interpreter? Why is it usually separate from the kernel? Would it be possible for the user to develop a new command interpreter using the system-call interface provided by the operating system? You can write the answer and upload relevant images to justify the answer (if required) Let's together discuss and contribute in making the best answer
  13. What are the advantages and disadvantages of using the same system call interface for manipulating both files and devices? You can write the answer and upload relevant images to justify the answer (if required) Let's together discuss and contribute in making the best answer
  14. What are the five major activities of an operating system with regard to file management? You can write the answer and upload relevant images to justify the answer (if required) Let's together discuss and contribute in making the best answer
  15. Describe how you could obtain a statistical profile of the amount of time spent by a program executing different sections of its code. Discuss the importance of obtaining such a statistical profile You can write the answer and upload relevant images to justify the answer (if required) Let's together discuss and contribute in making the best answer
  16. Describe three general methods for passing parameters to the operating system. You can write the answer and upload relevant images to justify the answer (if required) Let's together discuss and contribute in making the best answer
  17. List five services provided by an operating system that are designed to make it more convenient for users to use the computer system. In what cases it would be impossible for user-level programs to provide these services? You can write the answer and upload relevant images to justify the answer (if required) Let's together discuss and contribute in making the best answer
  18. The services and functions provided by an operating system can be divided into two main categories. Briefly describe the two categories and discuss how they differ You can write the answer and upload relevant images to justify the answer (if required) Let's together discuss and contribute in making the best answer
  19. Repeat the preceding exercise, this time using the CreateProcess() in the Win32 API. In this instance, you will need to specify a separate program to be invoked from CreateProcess(). It is this separate program that will run as a child process outputting the Fibonacci sequence Perform necessary error checking to ensure that a non negative number is passed on the command line. You can write the answer and upload relevant images to justify the answer (if required) Let's together discuss and contribute in making the best answer
  20. What are the benefits and the disadvantages of each of the following? Consider both the system level and the programmer level a. Synchronous and asynchronous communication b. Automatic and explicit buffering c. Send by copy and send by reference d. Fixed-sized and variable-sized messages You can write the answer and upload relevant images to justify the answer (if required) Let's together discuss and contribute in making the best answer
  21. Consider the RPC mechanism. Describe the undesirable consequences that could arise from not enforcing either the "at most once" or "exactly once semantic. Describe possible uses for a mechanism that has neither of these guarantees You can write the answer and upload relevant images to justify the answer (if required) Let's together discuss and contribute in making the best answer
  22. Describe the actions taken by a kernel to context switch between PRESS. You can write the answer and upload relevant images to justify the answer (if required) Let's together discuss and contribute in making the best answer
  23. Describe the differences among short-term, medium-term, and long term scheduling You can write the answer and upload relevant images to justify the answer (if required) Let's together discuss and contribute in making the best answer
  24. Write a multi threaded Java, Pthreads, or Win32 program that outputs prime numbers. This program should work as follows the user will run the program and will enter a number on the command line. The program will then create a separate thread that outputs all the prime numbers less than or equal to the number entered by the user You can write the answer and upload relevant images to justify the answer (if required) Let's together discuss and contribute in making the best answer
  25. Consider a multiprocessor system and a multi threaded program written using the many-to-many threading model. Let the number of user-level threads in the program be more than the number of processors in the system. Discuss the performance implications of the following scenarios a. The number of kernel threads allocated to the program is less than the number of processors b. The number of kernel threads allocated to the program is equal to the number of processors c. The number of kernel threads allocated to the program is greater than the number of processors but less than the number of user-level threads You can write the answer and upload relevant images to justify the answer (if required) Let's together discuss and contribute in making the best answer
  26. Can a multi threaded solution using multiple user-level threads achieve better performance on a multiprocessor system than on a single processor system? You can write the answer and upload relevant images to justify the answer (if required) Let's together discuss and contribute in making the best answer
  27.  




×
×
  • Create New...