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
-
Contiguous
-
Non-contiguous
-
Continuous
-
None of these
A
Correct answer
Explanation
Contiguous memory allocation places a process in a single continuous block of memory with consecutive addresses. This simplifies address translation but can lead to fragmentation. Non-contiguous allocation (like paging) allows a process to occupy non-adjacent blocks.
-
Wasted memory
-
Time complexity
-
Memory access overhead
-
None of these
A
Correct answer
Explanation
Wasted memory refers to the fraction of physical memory that remains unused due to internal or external fragmentation. This metric helps evaluate memory allocation efficiency. Lower wasted memory indicates better utilization of available physical memory.
-
internal
-
external
-
table
-
none of these
C
Correct answer
Explanation
Table fragmentation refers to the physical memory consumed by memory management data structures like page tables, segment tables, or allocation maps. This overhead is necessary for virtual memory translation but reduces available memory for actual processes.
-
Wasted memory
-
Time complexity
-
Memory access overhead
-
None of these
C
Correct answer
Explanation
Memory access overhead correctly describes the extra time spent on memory management operations like address translation, protection checks, and page table walks. Time complexity refers to algorithm analysis, while wasted memory refers to space inefficiency.
-
static
-
dynamic
-
both (1) and (2)
-
none of these
C
Correct answer
Explanation
Memory partitioning can indeed be static (partitions fixed at system initialization) or dynamic (partitions created and sized as needed during runtime). Both approaches are valid memory management strategies.
-
first
-
best
-
last
-
none of these
A
Correct answer
Explanation
First-fit allocation selects the first free partition that is large enough to accommodate the process. It's simple and fast but may lead to external fragmentation. Best-fit and worst-fit are alternative strategies.
-
swapper
-
loader
-
linker
-
debugger
A
Correct answer
Explanation
The swapper allocates and manages swap space.
-
Relocation
-
Program execution activity
-
Allocation
-
Program translation
-
Caching
A
Correct answer
Explanation
In this technique, there are some address dependent locations in the program and address constant must be adjusted according to allocate space.
-
Loading
-
Caching
-
Program execution activity
-
Pseudo operation
-
Allocation
A
Correct answer
Explanation
This technique is used to locate a program in an appropriate area of the main storage of a computer when it is executed.
-
scheduling
-
linking
-
swapping
-
none of these
C
Correct answer
Explanation
Swapping is the process of moving a suspended process from main memory to secondary storage (disk) and back. This allows the system to free up memory for other processes when RAM is limited.
C
Correct answer
Explanation
In coincident-current core memory, each core is threaded by 4 wires: 2 X wires (row selection), 2 Y wires (column selection), plus sense and inhibit lines that can be shared. The total unique wires passing through cores is 8 when counting all signal paths.
-
floppy disk
-
magnetic tape
-
hard disk
-
all of the above
C
Correct answer
Explanation
Hard disks provide the fastest information retrieval among the options because they use spinning platters with movable read/write heads that can rapidly access any sector. Floppy disks are slower due to lower rotational speeds and mechanical limitations, while magnetic tape is sequential access only, making it the slowest for random retrieval.
-
adds to the contents of the location
-
causes variation in its address number
-
is known as a readout operation
-
is destructive of previous contents
-
Need for external memory
-
Need for ROM
-
Frequent Disk I/O's
-
Need for wider data path
C
Correct answer
Explanation
Larger RAM reduces the need for frequent disk I/O operations because more data and programs can reside in fast memory. When RAM is insufficient, the system must swap data to disk (thrashing), which is significantly slower than RAM access. Eliminating frequent disk I/Os improves overall processing speed.
-
Control unit
-
ALU
-
CPU
-
Permanent Memory
D
Correct answer
Explanation
Volatile memory (RAM) loses its contents when power is turned off. Therefore, users must save important data to permanent storage (hard disk, SSD, or other non-volatile media) before shutting down. The CPU, ALU, and Control Unit are processing components, not storage destinations.