During which stage of the program lifecycle does address binding occur when using dynamic linking?
Compile time
Load time
Execution time
Initialization time
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
Which of the following correctly describes the logical address in the context of memory management?
It is the address generated by the CPU.
It is the address seen by the memory unit.
It is the address used by the operating system.
It is the address mapped to the hard disk.
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
In a paging system, which of the following is true about page size?
It must be a power of 2
It is always equal to the size of the physical memory.
It can vary for different processes.
It determines the number of logical addresses.
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
Which of the following best describes segmentation in memory management?
Dividing memory into fixed-sized blocks
Dividing memory into variable-sized segments based on logical divisions
Mapping logical addresses to physical addresses using fixed-size pages
Combining pages into a single large memory block
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
Which of the following is an advantage of non-contiguous memory allocation over contiguous memory allocation?
Simpler implementation
Better utilization of memory
Faster access times
Easier address translation
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33

A system uses paging with a page size of 4 KB. If a process has the following page table:

The physical address for the logical address 8196 is _________

20484

28676

32772

8192

Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
A segmented memory system has the following segment table:

2300
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.00
Given memory partitions of 100 KB, 500 KB, 200 KB, 300 KB, and 600 KB (in that order), how will the first-fit algorithm place processes of 212 KB, 417 KB, 112 KB, and 426 KB?
212 KB in 500 KB, 417 KB in 600 KB, 112 KB in 100 KB, 426 KB in 300 KB
212 KB in 500 KB, 417 KB in 600 KB, 112 KB in 200 KB, 426 KB cannot be placed
212 KB in 500 KB, 417 KB in 300 KB, 112 KB in 200 KB, 426 KB in 600 KB
212 KB in 300 KB, 417 KB in 600 KB, 112 KB in 200 KB, 426 KB in 500 KB
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
Given memory partitions of 100 KB, 500 KB, 200 KB, 300 KB, and 600 KB (in that order), how will the best-fit algorithm place processes of 212 KB, 417 KB, 112 KB, and 426 KB?
212 KB in 300 KB, 417 KB in 500 KB, 112 KB in 200 KB, 426 KB in 600 KB
212 KB in 200 KB, 417 KB in 600 KB, 112 KB in 100 KB, 426 KB in 500 KB
212 KB in 500 KB, 417 KB in 300 KB, 112 KB in 200 KB, 426 KB in 100 KB
212 KB in 600 KB, 417 KB in 500 KB, 112 KB in 300 KB, 426 KB in 200 KB
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
Given memory partitions of 100 KB, 500 KB, 200 KB, 300 KB, and 600 KB (in that order), how will the worst-fit algorithm place processes of 212 KB, 417 KB, 112 KB, and 426 KB?
212 KB in 600 KB, 417 KB in 500 KB, 112 KB in 300 KB, 426 KB cannot be placed
212 KB in 500 KB, 417 KB in 600 KB, 112 KB in 300 KB, 426 KB in 100 KB
212 KB in 500 KB, 417 KB in 300 KB, 112 KB in 200 KB, 426 KB in 100 KB
212 KB in 600 KB, 417 KB in 500 KB, 112 KB in 300 KB, 426 KB in 600 KB
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
A memory system has free partitions of 600 KB, 400 KB, and 200 KB (in that order). A process of 700 KB needs to be allocated. After allocation attempts, what is the total external fragmentation?
0 KB
200 KB
1200 KB
400 KB
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
A system uses a single-level paging scheme with a page size of 4 KB. If the virtual address space is 32 bits, how many entries are there in the page table?
2^10
2^12
2^20
2^22
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
A system uses a two-level paging scheme. The page size is 4 KB. The first-level page table has 1024 entries and the second-level page table also has 1024 entries. Given the following entries for a process:

What is the physical address for the logical address 0x00401000?

0x14000
0x18000
0x1D000
0x20000
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66

A system uses an inverted page table for a physical memory of 64 MB and a page size of 4 KB. How many entries are there in the inverted page table _____?

16384
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.00
In a system with a two-level paging scheme, the page size is 4 KB, and the virtual address space is 32 bits. If the first-level page table has 1024 entries, how many second-level page tables are needed?
1024
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.00