Ask Question, Ask an Expert


Ask Operating System Expert

problem 1

Disk requests come in to disk driver for cylinders 10, 22, 20, 2, 40, 6, and 38, in that order. A seek takes 6 mes per cylinder moved. How much seek time is required for

(a) First-come, first served.

(b) Closest cylinder next.

(c) Elevator algorithm (initially moving upward).

In all cases, the arm is initially at cylinder 20.

problem 2

A slight change of the elevator algorithm for scheduling disk requests is to always scan in the similar direction, In what respect is this modified algorithm better than elevator algorithm?

problem 3

A RAID could fail if two or more of its drives crash within the short time interval. Assume that probability of one drive crashing in a given hour is p. What is the probability of a k-drive RAID failing in a given hour?

problem 4

Consider magnetic disk consisting of 16 heads and 400 cylinders. This disk is divided into four 100-cylinder zones with the cylinders in different zones containing 160, 200, 240, and 280 sectors, respectively. Suppose that each sector contains 512 bytes, average seek time between adjacent cylinders is 1 msec, and disk rotates at 7200 RPM. Compute the (a) disk capacity, (b) optimal track skew, and (c) maximum data transfer rate.

problem 5

Some operating systems give a system call rename to give a file a new name. Is there any difference at all between using this call to rename a file and just copying the file to a new file with the new name, followed by deleting the old one?

problem 6

One way to use contiguous allocation of the disk and not suffer from holes is to compact disk every time a file is removed. As all files are contiguous, copying a file needs a seek and rotational delay to read file, followed by transfer at full speed. Writing file back needs the same work. Suppose a seek time of 5 msec, a rotational delay of 4 msec, a transfer rate of 8 MB/sec, and average file size of 8 KB, (a) how long does it take to read a file into main memory then prepare it back to disk at new location? (b) Using these numbers, how long will it take to compact half of a 16-GB disk? (c) Dose compacting the disk ever make any sense?

problem 7

Free disk space could be kept track of using a free list or a bit map. Disk addresses need D bits. For a disk with B blocks, F of which are free, state condition under which free list uses less space than bitmap. For D having value 16 bits, express your answer as a percentage of the disk space that should be free.

problem 8

What will happen if the bitmap or free list containing information about free disk blocks was totally lost due to a crash? Is there any way to recover from this disaster, or is it bye-bye disk? Discuss your answers for a UNIX and the FAT-16 file system separately.

Operating System, Computer Science

  • Category:- Operating System
  • Reference No.:- M91954

Have any Question? 

Related Questions in Operating System

Operating systemsprogramming assignment- virtual memory

Operating Systems Programming Assignment- Virtual Memory Manager with Paged Segments In this assignment, you will design a virtual memory manager with paged segments, and then simulate its operation for five different pa ...

Discuss an advantage or a disadvantage of open-source

Discuss an advantage or a disadvantage of open-source operating system. 10 lines are enough.

Scripting the gnulinux shell1 write a script that stores

Scripting the GNU/Linux Shell 1. Write a script that stores the time it takes a command (your choice of command) to run in three variables, real, user, and system, corresponding to the three default times that time print ...

Your objective is to create a program that simulates round

Your objective is to create a program that simulates Round Robin CPU scheduling. You may write your program in C, C++, Java, or Python. If you choose C, C++, or Java you must include a Makefile. Your program will be test ...

V1 file processing commands worksheetmiddot

Version 1 File Processing Commands Worksheet · What UID and PID have the highest amount of physical memory a process has used and is not swapped out? Show all processes and full output. · If using a long listing and no p ...

Please address the followingprovide one advantage or one

Please address the following: Provide ONE advantage or ONE disadvantage of a Microkernel OS Design or a Monolithic OS Design. Provide support (back up your claims) for your view. The following are examples with proper ju ...

Problemnbspdescriptionflash back to flash forward see

Problem  Description: Flash Back to Flash Forward (see Chapter 1 Practice Exercise 1.2 and the OS in DevOps Discussion Area) While having a discussion with your OS DevOps team, you are approached with the situation: our ...

Firewall rulesin this project you will create two simple

Firewall Rules In this project you will create two simple firewall rules in Windows Advanced Firewall. This may be the first time you have made a modification to the firewall on your computer. The first rule will block a ...

Assignmentin this document of 2-3 pages respond to the

Assignment In this document of 2-3 pages, respond to the following: • Describe the specific security concerns or risks that your chosen operating system is exposed to and how you plan to mitigate the risk that each one p ...

Discussionmultithreading please respond to the

DISCUSSION "Multithreading" Please respond to the following: • Describe at least one possible effect that multithreading could have on event-driven programming when you are either developing or using a computer program. ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

WalMart Identification of theory and critical discussion

Drawing on the prescribed text and/or relevant academic literature, produce a paper which discusses the nature of group

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro