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
-
process state
-
CPU registers
-
program counter
-
CPU scheduling information
-
memory management information
C
Correct answer
Explanation
This part of Process Control Block is particularly a register that holds the address of next instruction to be executed.
-
swapping
-
compaction
-
segmentation
-
program counter
-
MAR
B
Correct answer
Explanation
This is a method of relocating processes in memory so that the fragmented holes are converted into contiguous holes in memory.
-
down time
-
seek time
-
rotational delay
-
access time
-
None of these
C
Correct answer
Explanation
Rotational delay is the average time necessary for the correct sector of the disk to arrive at the read-write head.
-
This attack is used to prevent the inspect memory.
-
The attacker checks the memory available to exploit the system.
-
In this attack, the information of the application can be hidden within a process that would normally be trusted in nature.
-
This attack is visible during scanning and identification of malicious software in the system.
-
This attack occurs during writing to disk.
C
Correct answer
Explanation
In this attack, the information of the application can not be hidden within a process. This is possible in 'Process Injection' attack.
-
segmentation
-
swapping
-
pure demand paging
-
multiple contiguous fixed partition
A
Correct answer
Explanation
Segmentation divides memory into variable-sized segments, leading to external fragmentation when unused gaps develop between segments. Swapping moves processes in and out of memory, pure demand paging loads pages only when needed, and fixed partitions have internal fragmentation.
-
to improve the disk performance
-
to handle interrupts
-
to increase the capacity of main memory
-
to speed up memory read operation
A
Correct answer
Explanation
Buffer caches improve disk performance by reducing disk accesses - frequently used data stays in memory. They don't handle interrupts, increase main memory capacity, or speed up general memory reads.
-
Lack of data independence
-
Data redundancy
-
Update
-
All of the above
D
Correct answer
Explanation
File management systems suffer from all these problems: lack of data independence (programs depend on physical file structure), data redundancy (same data stored in multiple files), and update anomalies (changes must be made in multiple places leading to inconsistencies). DBMS was developed specifically to address these issues.
-
an inverted index
-
a secondary access path
-
a physical record key
-
all of the above
B
Correct answer
Explanation
Embedded pointers stored within records create additional access paths to related data, serving as secondary indexes. Option A describes inverted indexes which are separate structures. Option C refers to primary keys, not embedded pointers.
-
Jungle disk
-
Wuala
-
CouchDB
-
MangoDB v.1.8.0
-
Sify my storage
A
Correct answer
Explanation
By using this storage as a service, you can just drag and drop files back and forth between your online storage and your local desktop.
-
The system stack
-
The data segment
-
The processor's registers
-
The text segment
-
The heap
A
Correct answer
Explanation
The system stack provides the LIFO structure needed for function calls, storing return addresses, local variables, and parameters. When a function is called, a new stack frame is pushed; when it returns, the frame is popped, restoring execution state. The data segment holds global/static variables, registers are for CPU operations, text segment contains code, and heap is for dynamic allocation - none support call/return mechanics.
-
Both A and R are true and R is the correct explanation of A
-
Both A and R are true but R is not the correct explanation of A
-
A is true but R is false
-
A is false but R is true
B
Correct answer
Explanation
Assertion A is true as RAM provides the space for active data storage, while Reason R is true because RAM is volatile. However, volatility is a characteristic of how RAM stores data, not an explanation for why more RAM increases storage capacity.
B
Correct answer
Explanation
RAM (Random Access Memory) is the primary workspace of a computer where data is stored temporarily for quick access and modification by the CPU. Unlike ROM, which is generally read-only, RAM allows for both reading and writing operations at high speeds. This makes it the correct choice for a memory chip whose contents can be quickly changed.
-
1, 2 and 3
-
2, 3 and 4
-
1, 3 and 4
-
1, 2, 3 and 4
D
Correct answer
Explanation
All the provided acronyms are correctly matched with their full forms. RAM stands for Random-access Memory, ROM for Read-only Memory, DOS for Disk Operating System, and CAD for Computer-aided Design. These are fundamental terms in computer science and engineering.
-
Operating System
-
Central Processing Unit
-
Random-access Memory
-
None of these
C
Correct answer
Explanation
Random-access memory (RAM) is a type of volatile memory that allows data to be read and written in any order. Its contents can be changed rapidly by the computer during operation.
-
Protocol
-
Protection
-
Queue
-
All of the above
B
Correct answer
Explanation
Protection refers to the mechanisms used to control access to data and prevent unauthorized copying or modification. While protocols govern communication, protection specifically addresses the security of the storage medium.