Question

1. Can an operating system implement the two operational modes (user vs system) if the hardware...

1. Can an operating system implement the two operational modes (user vs system) if the hardware does not support a mode bit? Explain.

2. Give an example of an operating system that does not implement the dual-mode protection.

3. Explain the main difference that exists between multiprogramming and multitasking.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

1. There are two modes of operation in our systems these are user mode and Kernel mode. User mode and Kernel mode both are implemented by use of hardware . When computer system loads then hardware starts PC in kernel mode and firstly OS is loaded then OS changes the mode bit of hardware user mode. We can not implement two operational modes if the hardware does not support a mode bit because we switch our hardware to respective mode we want , it is a property that can be implemented only if our hardware supports mode bit. If there is no mode bit we can not swap from user to kernel mode and vice versa. So without mode bit we can not implement two operational modes of user and kernel.

2. In Intel 8088 which was a successor of 8086 , IBM developed DOS for it. SInce 8088 had no mode bit therefore DOS does not implement dual mode protection.

3. Multiprogramming is when many programs can be in ready queue and you are executing them using one cpu . So in multiprogramming many task such as word editor and browser both are in ready queue and your cpu is executing them . Now let 1,2,3,4 are processes in ready queue and 1 is going for execution after some time 1 needs some i/o operation so it goes for i/o during this time our cpu will execute task 2.

But in multitasking it does not matter whether task needs i/o operation or not , a time slice is allotted for each process and that process is executed that much amount of time in cpu then next program comes . multitasking is similar to multiprogramming . and there is no much difference. multiprogramming was done on old days and multitasking is just improvement on concept of multiprogramming so that each process can get a time so no process will be starved .

Add a comment
Know the answer?
Add Answer to:
1. Can an operating system implement the two operational modes (user vs system) if the hardware...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Four modes vs. two modes of operationg systems (kernel / user)

    The VAX/ VMS operating system makes use of four processor access modes to facili-tate the protection and sharing of system resources among processes. The accessmode determines:• Instruction execution privileges: What instructions the processor may execute• Memory access privileges: Which locations in virtual memory the current instruc-tion may accessThe four modes are as follows:• Kernel: Executes the kernel of the VMS operating system, which includes memo-ry management, interrupt handling, and I/ O operations• Executive: Executes many of the operating system service...

  • To provide hardware, Most modern operating system access the storage devices in 1.system mode 2.user mode...

    To provide hardware, Most modern operating system access the storage devices in 1.system mode 2.user mode 3.both modes 4.other modes

  • The VAX/ VMS operating system makes use of four processor access modes to facili-tate the protection...

    The VAX/ VMS operating system makes use of four processor access modes to facili-tate the protection and sharing of system resources among processes. The access mode determines:• Instruction execution privileges: What instructions the processor may execute• Memory access privileges: Which locations in virtual memory the current instruc-tion may access The four modes are as follows:• Kernel: Executes the kernel of the VMS operating system, which includes memo-ry management, interrupt handling, and I/ O operations• Executive: Executes many of the operating...

  • 1. What is an operating system? 2. What are the two main functions of an operating...

    1. What is an operating system? 2. What are the two main functions of an operating system? 3. What is multiprogramming? 4.What is time sharing? 5. Computer system can be divided into four components. Which four? Please briefly explain. 6.When will an interrupt be generated? How to handle? 7. What is the difference between the non-volatile and volatile storage?

  • Choose the correct answer 1. A virtual machine executes on a host operating system and a...

    Choose the correct answer 1. A virtual machine executes on a host operating system and a hypervisor provides an API to the actual hardware 2. The guest OS knows that it is not accessing the actual hardware so that it can perform better 3. The VM may supply an environment that is different than the actual host hardware 4. Applications running within the VM have an illusion that they are executing on a real machine Select one: a. All the...

  • Operating Systems Questions (Please help if you can) 5. Explain the difference between a semaphore and...

    Operating Systems Questions (Please help if you can) 5. Explain the difference between a semaphore and a condition. 6. Show how the bakery algorithm conforms to the tenet of the protocol for critical section problem. 1. What type of hardware support is required to implement cycle stealing? 2. Explain why does the use of dma result in the cpu memory accesses to slow down? 3. What is the difference between synchronous and asynchronous interrupts? Given an example of each of...

  • QUESTION 5 Serial communication between devices can be in three different modes. They (a) are simplex,...

    QUESTION 5 Serial communication between devices can be in three different modes. They (a) are simplex, half duplex and full duplex. Explain the different of all three serial communication modes and give one example of each mode. (7 marks) Discuss the advantages and disadvantages of RS-232 interface (b) (5 marks) Determine the binary equivalent of 8.735V for successive approximations ADC having (c) 4 bits output and reference voltage of +12V (6 marks) A control valve has a linear variation of...

  • These are the questions in intro to os and unix. Your efforts are appreciated. Thank you...

    These are the questions in intro to os and unix. Your efforts are appreciated. Thank you very much ! q1) [2] Give an abstract, high-level description of what a computer is. q2) [5] List the elements of a Von Neumann Machine. q3) [3] Name the two types of software, and give a brief description of each. q4) [2] What are the 2 Roles/Purposes of the OS? q5) [5] What are the OS's management tasks? q6) [1] What is a process?...

  • 1. Discuss how users can be authenticated by the operating system to connect to the Oracle...

    1. Discuss how users can be authenticated by the operating system to connect to the Oracle database. how does SQL*Plus relate to this method? 2. What methods does Oracle support for authentication by the network? 3. What are the key components you would include in a password policy? Why? 4. Give an example how you define a good password policy. Can you design a general password policy? Or do you need to design it to consider a particular situation always?

  • Operating System Theory and Design Write a program to simulate the operation of two of CPU...

    Operating System Theory and Design Write a program to simulate the operation of two of CPU scheduling methods. The program does the following: 1. Get the number of processes from the user. 2. Get the burst time of each process from the user 3. Assume that all processes arrive at "O" to the ready queue. 4. The program lets the user select one of the two methods to implement the o e oo implement the CPU scheduling. time. You can...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT