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...

  • 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...

  • 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...

  • 1) A major function of an operating system is to implement system security and protection. List...

    1) A major function of an operating system is to implement system security and protection. List three common techniques used by an operating system to achieve this function. 2) Assume that all programs spend 1/2 of their time waiting for I/O. a) If there is one program loaded in memory what fraction of time will the processor be busy? b) If there are two programs loaded in memory what fraction of time will the processor be busy? 3) Which technology...

  • question about operating system,thank you 1 List two most important differences between an embedded system and...

    question about operating system,thank you 1 List two most important differences between an embedded system and a time-sharing system that have impact on the design of the corresponding OS. 2 What is the reason of using resource abstraction? Give an example of an abstract resource and an example for the corresponding physical resource?

  • F 2. Data mining provides management with daily operational reports: True or False? 3. A Data...

    F 2. Data mining provides management with daily operational reports: True or False? 3. A Data Base Management System (DBMS) function is to-provide a company with F 1. A computer's Operating System (O/s) is always in volatile mode: True or access and control of its Operating System software 4. A computer's Operating System performs the Data Mining function: True or False? ru 5. Data travels via the Internet at 186,282 megabytes per second: Trus or False? 6. The World Wide...

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
ADVERTISEMENT