Computer Knowledge
Computer Memory and Storage
2,477 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
-
Stack Pointer (SP)
-
Program Counter (PC)
-
Storage registers
-
Both (1) and (2)
-
None of these
B
Correct answer
Explanation
Yes, PC points to memory address from which the next byte is to be fetched. It is used to manage the sequence of the execution of instruction.
-
Cache memory
-
Main memory
-
Optical disk
-
All of the above
-
Both (1) and (2)
E
Correct answer
Explanation
Yes, these come under the category of internal memory.
-
Index addressing mode
-
Relative addressing mode
-
Direct addressing mode
-
Indirect addressing mode
-
None of the above
C
Correct answer
Explanation
In this mode, address of the operand is given in the instruction and data is available in the memory location which is provided in instruction.
-
It allows multiple programs to share the same physical memory.
-
It allows programmers to write code as though they have a very large amount of main memory.
-
Virtual memory automatically handles bringing in data from disk.
-
All of the above
-
None of these
C
Correct answer
Explanation
This is an incorrect statement as virtual memory is not responsible for this task. Virtual memory is neither a control program nor a control device.
-
Direct access memory
-
Cache memory
-
Auxiliary memory
-
Serial access memory
-
None of these
B
Correct answer
Explanation
Cache memory is used to hold those parts of the data and programs that are most frequently used by CPU and it acts as a buffer between the CPU and main memory.
-
Index addressing mode
-
Relative addressing mode
-
Direct addressing mode
-
Indirect addressing mode
-
Immediate addressing mode
E
Correct answer
Explanation
In this mode, the operand gets the direct data and the data moves in accumulator.
-
Index addressing mode
-
Relative addressing mode
-
Direct addressing mode
-
Indirect addressing mode
-
Immediate addressing mode
B
Correct answer
Explanation
In the relative addressing mode, effective address is determined by adding the content of the program counter to the address part of the instruction.
-
Index addressing mode
-
Relative addressing mode
-
Direct addressing mode
-
Indirect addressing mode
-
None of these
D
Correct answer
Explanation
In this mode, the instruction specifies a memory location which contain the address of the operand.
-
Fixed block storage allocation
-
Variable block storage allocation
-
Fixed non-contiguous storage allocation
-
Variable contiguous storage allocation
-
Push
B
Correct answer
Explanation
This type of block allocation in storage management is the one in which blocks of variable sizes are used for storage of data.
-
Logical record
-
Physical record
-
Label record
-
File
-
Field
C
Correct answer
Explanation
This type of record in file organisation is normally used for files that are stored on magnetic tapes or direct access devices.
-
Cache
-
Instruction opcode
-
PROM
-
SRAM
-
DRAM
B
Correct answer
Explanation
An opcode (operation code) is the portion of a machine language instruction that specifies the operation to be performed.
-
Saving temporary internet files
-
Saving HTML pages
-
Saving process data
-
Storing TLB
-
Saving device drivers
C
Correct answer
Explanation
Swap space is used when the amount of physical memory (RAM) is full. If the system needs more memory resources and the RAM is full, inactive pages in memory are moved to the swap space. While swap space can help machines with a small amount of RAM, it should not be considered a replacement for more RAM. Swap space is located on hard drives, which have a slower access time than physical memory.
-
Segmentation
-
Debbuging
-
Pagging
-
Non-preemptive scheduling
-
Preemptive scheduling
A
Correct answer
Explanation
Memory segmentation is the division of a computer's primary memory into segments or sections. In a computer system using segmentation, a reference to a memory location includes a value that identifies a segment and an offset within that segment.
-
Direct addressing
-
Indirect addressing
-
Auto increment
-
Immediate addressing
-
Auto decrement
E
Correct answer
Explanation
A special case of indirect register mode. The register whose number is included in the instruction code, contains the address of the operand. Decrement Mode = before operand addressing, the contents of the register is decrement.
-
Direct addressing
-
Indirect addressing
-
Auto increment
-
Immediate Addressing
-
Auto decrement
C
Correct answer
Explanation
The auto increment attribute can be used to generate a unique identity for new rows.