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
-
increasing the priority of jobs to ensure termination in finite time
-
keeping track of cache contents
-
keeping track of page references
-
keeping track of pages in main memory at a time
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.
A
Correct answer
Explanation
A sector is the smallest physical storage unit on a disk drive. Tracks are concentric rings, and sectors are subdivisions of those tracks.
-
Direct Memory Access
-
Direct Memory Accelerator
-
Directional Memory Access
-
Deemed Memory Accelerator
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.
-
page with corrupted data
-
wrong page in memory
-
page modified after being loaded in cache memory
-
page that is less frequently accessed
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.
-
which disk should be accessed next
-
the order in which disk access requests must be served
-
physical location of files on disk
-
none of the above
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.
-
the address of a variable
-
the data type of an address variable
-
a variable for storing address
-
an indication of variable to be accessed next
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.
-
allocate memory
-
free allocated memory
-
resolve scope of variable
-
formats data display
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.
-
the hard disk
-
cache memory
-
RAM
-
registers
-
None of these
B
Correct answer
Explanation
Cache memory is a high-speed storage layer located near the CPU designed to store frequently accessed instructions and data, allowing the processor to retrieve them much faster than from main RAM.
-
Control unit
-
RAM
-
Control instruction register
-
ALU
-
None of these
C
Correct answer
Explanation
The Instruction Register (IR) is the specific part of the CPU control unit that holds the instruction currently being decoded or executed. While the question uses a slightly non-standard term, it refers to the IR.
-
location
-
register
-
address
-
accumulator
-
None of these
C
Correct answer
Explanation
An address is a unique identifier (usually a number) used by the CPU to locate a specific cell or location in memory.
-
direct access device
-
printer
-
keyboard
-
punched card
-
None of these
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.
-
the hard disk
-
cache memory
-
RAM
-
registers
-
None of these
B
Correct answer
Explanation
Cache memory is a small, high-speed type of volatile computer memory that provides high-speed data access to the processor and stores frequently used computer programs and data.
-
Works best with medium to large partitions
-
Allows many portions of single program to use memory simultaneously
-
Allows the overlaying of the programs
-
All of the above
D
Correct answer
Explanation
Swapping can have a deal with overlaying.
-
Memory
-
Processes
-
Disks and I/O devices
-
All of the above
D
Correct answer
Explanation
An OS manages memory processes as well as hardware components such as disk and I/O devices.
-
Floppy Disk
-
Hard Disk
-
CD ROM
-
Zip Disk
B
Correct answer
Explanation
A hard disk is comparatively cheap in cost and has capacity to store large amounts of data.