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
-
RAM
-
ROM
-
PROM
-
None of these
A
Correct answer
Explanation
RAM (Random Access Memory) is used to store data and instructions temporarily while the computer is running. Although technically separate from the processor chip, it is often categorized within the memory unit of the central processing system in introductory models. This allows the CPU to access information much faster than from secondary storage.
-
RAM
-
ROM
-
CACHE
-
None of these
B
Correct answer
Explanation
ROM (Read-Only Memory) is non-volatile, meaning it retains its data even when the power is turned off. It contains essential instructions, such as the BIOS, that the computer needs to start up. Unlike RAM, the data in ROM is generally not meant to be modified during normal operation.
-
hard disc
-
floppy diskette
-
CD
-
keyboard
D
Correct answer
Explanation
A keyboard is an input device used to send data to a computer, but it does not have the capacity to store data permanently or temporarily for user retrieval. Hard disks, floppy diskettes, and CDs are all storage media designed to hold digital information. Therefore, the keyboard is the only non-storage device in the list.
-
memory
-
data
-
programming language
-
commands
A
Correct answer
Explanation
RAM (Random Access Memory) and ROM (Read-Only Memory) are types of computer memory. RAM is volatile and used for temporary data storage while the computer is running, whereas ROM is non-volatile and stores permanent instructions. They are fundamental components of a computer's architecture for handling data processing.
-
The stack machine
-
The accumulator machine
-
The load/store machine
-
Flags
-
MBR
C
Correct answer
Explanation
In this computer architecture, the only operations that interact with memory are load and store.
-
Write
-
Fetch
-
Decode
-
Exit
-
Halt
C
Correct answer
Explanation
This is the operation performed in the instruction cycle where address translation is performed first and then fetching of operands from memory takes place.
-
Sequential
-
Direct
-
Random
-
Associative
-
Indirect
D
Correct answer
Explanation
This type of memory access consists of a random-access type of memory that enables one to make a comparison of desired bit locations within a word for a specified match and to do this for all words simultaneously.
-
Seek time
-
Rotational delay
-
Transfer time
-
Access time
-
RAID
B
Correct answer
Explanation
This is the disk performance parameter which indicates the time required to rotate the disk to get the wanted sector beneath the head.
-
Memory to CPU
-
CPU to Memory
-
I/O to CPU
-
CPU to I/O
-
I/O to or from Memory
B
Correct answer
Explanation
In this mode of data transfer, the processor writes a unit of data to memory.
-
Stack pointer
-
Program counter
-
MAR
-
MDR
-
IR
B
Correct answer
Explanation
This is a 16-bit register of CPU that points to the current location of the memory where the instructions are to be written.
-
A, B, C
-
B, C
-
C
-
None of these
C
Correct answer
Explanation
The malloc function returns a void pointer (void*) to the start of the allocated memory block, or NULL if the allocation fails. It does not return the number of bytes allocated, nor does it automatically return a specific type like a float pointer.
-
Program Pointer
-
Register Counter
-
Location Pointer
-
Instruction Counter
D
Correct answer
Explanation
The Location Counter (LC) is a variable used by assemblers to keep track of the current memory address for instructions and data. In the context of CPU hardware, this function is performed by the Program Counter (PC) or the Instruction Counter (IC). These terms are often used interchangeably to describe the pointer to the next instruction to be processed.
-
paging
-
fragmentation
-
a loader
-
a tool
A
Correct answer
Explanation
Virtual storage is a memory management technique that creates the illusion of a very large main memory by using disk space. The most common way to implement this is through paging, where memory is divided into fixed-size blocks. This allows the operating system to swap pages in and out of physical RAM as needed, enabling the execution of large programs.
-
Shared memory
-
Shared disk
-
Shared nothing
-
Cache memory
-
Shared everything
B
Correct answer
Explanation
In this type of class in parallel machines, every processor has its own memory which is not accessible directly from other processors.
-
Table scan
-
Two-pass algorithm
-
Data redundancy
-
Shared disk
-
NUMA
B
Correct answer
Explanation
This is the operation in graph theory in which the data from the operand relations is read into main memory and processed data is read again from the disk to complete the operation.