Computer Knowledge

Computer Memory and Storage

2,121 Questions

Computer memory and storage questions test foundational knowledge of hardware, cache mapping, and data transfer mechanisms. Key areas include Direct Memory Access, analog recording, and RAID levels. This section is essential for candidates preparing for banking and government computer proficiency tests.

Cache memory mappingDirect memory accessRAID storage levelsHard disk technologyOptical media storageMemory addresses

Computer Memory and Storage Questions

Multiple choice
  1. increasing the priority of jobs to ensure termination in finite time

  2. keeping track of cache contents

  3. keeping track of page references

  4. keeping track of pages in main memory at a time

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Aging is a technique used in CPU scheduling to prevent starvation. By gradually increasing the priority of processes that have been waiting in the system for a long time, it ensures that even low-priority jobs will eventually be executed.

Multiple choice
  1. Direct Memory Access

  2. Direct Memory Accelerator

  3. Directional Memory Access

  4. Deemed Memory Accelerator

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

DMA stands for Direct Memory Access. It is a feature that allows hardware subsystems to access main system memory independently of the central processing unit.

Multiple choice
  1. page with corrupted data

  2. wrong page in memory

  3. page modified after being loaded in cache memory

  4. page that is less frequently accessed

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

A dirty bit is a flag associated with a block of memory (like a page) that indicates whether the data has been modified since it was loaded into memory. If the bit is set, the page must be written back to disk before being replaced.

Multiple choice
  1. which disk should be accessed next

  2. the order in which disk access requests must be served

  3. physical location of files on disk

  4. none of the above

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Disk scheduling algorithms are used by the operating system to determine the order in which pending I/O requests to the disk are processed to optimize performance, such as reducing seek time.

Multiple choice
  1. the address of a variable

  2. the data type of an address variable

  3. a variable for storing address

  4. an indication of variable to be accessed next

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

A pointer in C/C++ is a variable that stores the memory address of another variable. It does not store the data itself, but rather the location where the data resides.

Multiple choice
  1. allocate memory

  2. free allocated memory

  3. resolve scope of variable

  4. formats data display

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Manipulators (like setw, setprecision, endl) are used in C++ input/output streams to format the way data is displayed or read.

Multiple choice
  1. direct access device

  2. printer

  3. keyboard

  4. punched card

  5. None of these

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Correct Answer: direct access device A direct-access storage device (DASD) is a secondary storage device in which "each physical record has a discrete location and a unique address." Disk drives, magnetic drums, data cells and optical disc drives are all classified as DASDs.