Computers and Technology

1. Consider demand paging. You are given the following reference string, page replacement policy and the number of frames available. Calculate the number of page faults in each case. A. ReferenceString:1234234235672342310 989108123 Algorithm: LRU
# of frames: 3
B. Reference String: Algorithm: Optimal
# of frames: 3
C. Reference String: Algorithm: LRU
# of frames: 2
D. Referencestring:1237841241541241281 011324171011 Algorithm: FIFO
# of frames: 3
E. Referencestring:1237841241541241281 011324171011 Algorithm: FIFO
# of frames: 4
To answer the question, write down the # of page fault, and also copy the reference string and circle all references that causes a page fault.
2. For the disk scheduling algorithm such as SCAN/c-SCAN, rotational delays are not used for optimization purpose. Suppose time require for one rotation is nearly the same as time to travel one track during seeking, suggest a way that you can further optimize one of the above algorithms.
3. For main memory allocation, nowadays virtually all systems uses demand paging, not contiguous allocation. However, for space allocation for files, contiguous allocation is still being used. Suggest two reasons why.

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 03:10, victoriadorvilu
This program reads a file called 'test. txt'. you are required to write two functions that build a wordlist out of all of the words found in the file and print all of the unique words found in the file. remove punctuations using 'string. punctuation' and 'strip()' before adding words to the wordlist. write a function build_wordlist() that takes a 'file pointer' as an argument and reads the contents, builds the wordlist after removing punctuations, and then returns the wordlist. another function find_unique() will take this wordlist as a parameter and return another wordlist comprising of all unique words found in the wordlist. example: contents of 'test. txt': test file another line in the test file output: ['another', 'file', 'in', 'line', 'test', 'the']
Answers: 1
image
Computers and Technology, 23.06.2019 02:30, chaaaa
People with high self-esteem: accept their strengths and weaknesses. believe that failed experiences are failures of their whole self. feel good about who they are only when they reach total success. need positive external experiences to counteract negative feelings that constantly plague them.
Answers: 1
image
Computers and Technology, 23.06.2019 03:30, natalie2sheffield
Hashtags serve to identify the topic of a given tweet true false
Answers: 2
image
Computers and Technology, 23.06.2019 14:00, uday50
Select the correct answer. a company is currently focusing on creating specific management goals for itself. which level of maturity is the company demonstrating under the sse_ccm framework? a. performed informally b. planned and tracked c. quantitatively controlled d. well-defined e. continuously improving
Answers: 2
Do you know the correct answer?
1. Consider demand paging. You are given the following reference string, page replacement policy and...

Questions in other subjects: