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
Question 28
Multiple Choice
In the partition scheme, the table that the Memory Manager uses to keep track of jobs is composed of the ____.
Question 29
Multiple Choice
Assume the Memory Manager receives a request for a block of 200. When the best-fit algorithm is used, ____ is the beginning address of the block granted by the Memory Manager. Beginning Address Memory Block Size 4075 105 5225 5 6785 600 7560 20 7600 205 10250 4050 15125 230 24500 1000
Question 30
True/False
The bounds register is used to store the highest (or lowest, depending on the specific system) location in memory accessible by each program.
Question 31
True/False
Memory is allocated during garbage collection.
Question 32
Multiple Choice
The following algorithm can be described as ____. 1 Set counter to 1 2 Do while counter <= number of blocks in memory If job_size > memory_size(counter) Then counter = counter + 1 Else Load job into memory_size(counter) Adjust free/busy memory lists Go to step 4 End do 3 Put job in waiting queue 4 Go fetch next job
Question 33
Multiple Choice
Fixed partitions are also called ____ partitions.
Question 34
Multiple Choice
Consider the following space requirements for jobs 1-4 and memory blocks. Assuming a first-fit scheme is used, the job,____, is not able to run. Jobs: J1 10K J2 20K J3 30K J4 10K Blocks: B1 30K B2 15K B3 50K B4 20K