php hit counter

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CS604 Operating Systems Assignment 01 Solution Ideas Fall 2014 Due Date 11 Nov 2014
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support
#2
Question#1:

Which of the following instructions should be privileged?

a. Set value of time.

b. Read the clock.

c. Clear memory.

d. Issue a trap instruction.

e. Turn off interrupts.

f. Modify entries in device-status table.

g. Switch from user to kernel mode.

h. Access I/O device.

Answer:

The following operations need to be privileged: Set value of timer, clear memory, turn off interrupts, modify entries in device-status table, access I/O device. The rest can be performed in user mode.



Explanation:

Which of the following instructions should be privileged? why or why not

a) Switch from user to kernel mode

Unprivileged because it's how applications invoke system calls.

The catch is the application cannot control where the program counter goes when this switch happens.

b) Read the clock

Unprivileged, every process should be able to read the clock.

c) Turn off interrupts

Privileged so that a process cannot monopolize the CPU



Question#2: Some computer systems do not provide a privileged mode of operation in hardware. Consider whether it is possible to construct a secure operating system for these computers.

Give arguments both that it is and that it is not possible.

Answer:

An operating system for a machine of this type would need to remain in control

(Or monitor mode) at all times. This could be accomplished by two methods:

1). Software interpretation of all user programs (like some BASIC APL, and LISP systems, for example) the software interpreter would provide, in software, what the hardware does not provide.

2). require meant that all programs be written in high-level languages so that all object code is compiler-produced. The compiler would generate (either in-line or by function calls) the protection checks that the hardware is missing.

0300-9520262
Get solution in 24 hour
|cpmputer & internetConfusedmileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
Reply


Messages In This Thread
CS604 Operating Systems Assignment 01 Solution Ideas Fall 2014 Due Date 11 Nov 2014 - by Vuhelper - 11-15-2014, 03:54 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  VU Fall 2026 Assignments: How to Write Solutions That Get Full Marks (Complete Guide) admin 0 12 11-03-2026, 05:22 PM
Last Post: admin
  SEO in Simple Words: How a VU Student Can Write a Clearer Assignment or Blog Post admin 0 32 11-01-2026, 05:11 AM
Last Post: admin
  Cs403 Assignment 3 Helping material May 8,2010 viki 1 5,261 04-28-2020, 03:19 PM
Last Post: ClaireBeauc
  cs301 assignment no 3 Solution 20 January 2016 Vuhelper 0 11,125 01-20-2016, 03:32 PM
Last Post: Vuhelper
  CS201 Assignment vo 3 Solution 20th January 2016 Vuhelper 2 2,646 01-20-2016, 03:28 PM
Last Post: Vuhelper
  CS101 Assignment no 3 Solution 20th January 2016 Vuhelper 0 2,324 01-20-2016, 03:25 PM
Last Post: Vuhelper
  SOC101 INTRODUCTION TO SOCIOLOGY assignment no 3 Solution 20 January 2016 Vuhelper 0 1,907 01-20-2016, 03:19 PM
Last Post: Vuhelper
  CS402 Assignment No 4 Solution & Discussion Xpert 0 2,142 08-01-2015, 02:33 AM
Last Post: Xpert
  cs101 Assignment No. 1 Solution 21 may spring 2015 semester Xpert 0 2,951 05-21-2015, 12:41 AM
Last Post: Xpert
  Assignment solution eng 301 due date 20 may 2015 rumesa khan 3 4,574 05-20-2015, 01:34 AM
Last Post: Xpert

Forum Jump:


Users browsing this thread: 1 Guest(s)
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support