Question 11
EasyWhat is contiguous memory allocation?
- A.
Memory is allocated on disk only
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Operating Systems
What is contiguous memory allocation?
Memory is allocated on disk only
A process is split into pages anywhere in memory
Each process is placed in a single continuous block of memory
Every process shares one block
Sign up free to see the answer and a step-by-step explanation.
In memory management, what is a 'hole'?
A damaged memory chip
A block of free memory
A gap in a file
A process that has crashed
Sign up free to see the answer and a step-by-step explanation.
What is fixed (static) partitioning?
Memory is never divided
Memory is divided into partitions of set sizes before any process arrives
Each process has its own disk
Partitions are created exactly to fit each process
Sign up free to see the answer and a step-by-step explanation.
What is variable (dynamic) partitioning?
Partitions are created at load time to match each process's size
Partitions are fixed at boot time
Memory is divided into pages
All partitions are the same size
Sign up free to see the answer and a step-by-step explanation.
What is the purpose of the base and limit registers?
To count the number of processes
To hold the result of calculations
To store the time of day
To keep a process within its own memory range
Sign up free to see the answer and a step-by-step explanation.
What is overlaying?
Keeping only the needed part of a program in memory and loading other parts over it when required
Painting over a memory chip
Running two programs in the same window
Copying memory to a pen drive
Sign up free to see the answer and a step-by-step explanation.
What is memory protection?
Adding more RAM
Backing up memory to the cloud
Encrypting the hard disk
Preventing a process from accessing memory that belongs to another process or the OS
Sign up free to see the answer and a step-by-step explanation.
What is cache memory?
Memory on a hard disk
A small, very fast memory between the CPU and main memory that holds frequently used data
Memory used only by games
The memory of a printer
Sign up free to see the answer and a step-by-step explanation.
Which order lists memory from fastest to slowest?
Disk, main memory, cache, registers
Cache, registers, disk, main memory
Registers, cache, main memory, disk
Main memory, registers, disk, cache
Sign up free to see the answer and a step-by-step explanation.
What is a memory leak?
Memory used by the OS
Data copied to another computer
Memory that is physically damaged
Memory that a program allocates but never frees
Sign up free to see the answer and a step-by-step explanation.