Services
Discover
Homeschooling
Ask a Question
Log in
Sign up
Filters
Done
Question type:
Essay
Multiple Choice
Short Answer
True False
Matching
Topic
Computing
Study Set
Understanding Operating Systems
Quiz 2: Memory Management: Early Systems
Path 4
Access For Free
Share
All types
Filters
Study Flashcards
Practice Exam
Learn
Question 21
Multiple Choice
In a single-user system, jobs are processed ____.
Question 22
Multiple Choice
The following algorithm can be described as ____. 1 Initialize memory_block(0) = 99999 2 Compute initial_memory_waste = memory_block(0) - job_size 3 Initialize subscript = 0 4 Set counter to 1 5 Do while counter <= number of blocks in memory If job_size > memory_size(counter) Then counter = counter + 1 Else Memory_waste = memory_size(counter) - job_size If initial_memory_waste > memory_waste Then subscript = counter Initial_memory_waste = memory_waste Counter = counter + 1 End do 6 If subscript = 0 Then put job in waiting queue Else Load job into memory_size(subscript) Adjust free/busy memory lists 7 Go fetch next job
Question 23
Multiple Choice
In the algorithm to load a job in a single-user system, the program counter is initially set to ____.
Question 24
Multiple Choice
The fixed partition scheme works well ____.
Question 25
True/False
During compaction, the operating system must distinguish between addresses and data values, and the distinctions are not obvious once the program has been loaded into memory.
Question 26
True/False
Compaction should always be performed only when there are jobs waiting to get in.
Question 27
Multiple Choice
Consider the following space requirements for jobs 1-4 and memory blocks. Assuming a best-fit scheme is used, the job,____, is placed in the last block. Jobs: J1 10K J2 20K J3 30K J4 10K Blocks: B1 30K B2 15K B3 50K B4 20K