Assume you have a file of 10 records (identified as A, B, C, . . . J) to be stored on a disk that holds 10 records per track. Once the file is stored, the records will be accessed sequentially: A, B, C, . . . J. It takes 1 ms to transfer each record from the disk to main memory. It takes 2 ms to process each record once it has been transferred into memory and the next record is not accessed until the current one has been processed. It takes 10 ms for the disk to complete one rotation. Suppose you store the records in the order given: A, B, C, . . . J. Compute how long it will take to process all 10 records. Break up your computation into (1) the time to transfer a record, (2) the time to process a record, and (3) the time to access the next record.     Provide 3 advantages and 3 disadvantages of Virtual memory management.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
100%

Question 3

  1. Assume you have a file of 10 records (identified as A, B, C, . . . J) to be stored on a disk that holds 10 records per track. Once the file is stored, the records will be accessed sequentially: A, B, C, . . . J. It takes 1 ms to transfer each record from the disk to main memory. It takes 2 ms to process each record once it has been transferred into memory and the next record is not accessed until the current one has been processed. It takes 10 ms for the disk to complete one rotation.

Suppose you store the records in the order given: A, B, C, . . . J. Compute how long it will take to process all 10 records. Break up your computation into (1) the time to transfer a record, (2) the time to process a record, and (3) the time to access the next record.

 

  1.  
  2. Provide 3 advantages and 3 disadvantages of Virtual memory management.
  3. Given that main memory is composed of two page frames for public use and that a seven-page program (with pages A,B, C, D) requests pages in the following order:

 

A, B, A, C, A, B, D, B, A, C, D

  1. Using the FIFO page removal algorithm, do a page trace analysis indicating page faults with asterisks (*). Then compute the failure rate.

 

  1. Using the LRU page removal algorithm, do a page trace analysis indicating page faults with asterisks (*). Then compute the failure rate.
  2.  
  3. What is the difference between deadlock and starvation?
  4. Describe how the system identifies starved task.
  • Using the case of the dining philosophers problem introduced by Dijkstra in 1968 illustrate starvation.
  1.  
  2. In Paged Memory allocation the Memory Manager keeps track pages by using three tables. Name and describe these tables.
  3. Given a page size of 256 bytes. Find the location of byte 384 by indicating the page number and line number.

 

  1. There are two types of scheduling policies, preemptive and nonpremptive. What are their characteristics?

 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Parallel and Distributed Storage
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education