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
-
diskpartition
-
diskpart
-
diskpartition.msc
-
diskpartition.cpl
B
Correct answer
Explanation
diskpart is the correct Windows command-line disk partition management utility. Option A is close but not the actual command, C incorrectly uses Microsoft Management Console (.msc) syntax which doesn't apply here, and D incorrectly uses Control Panel (.cpl) extension. The diskpart command is used for partition operations.
-
Dynamic Memory Allocation
-
Direct Memory Access
-
Dynamic Memory Acess
-
None of the above
B
Correct answer
Explanation
DMA stands for Direct Memory Access. It is a feature of computer systems that allows certain hardware subsystems to access main system memory independently of the central processing unit (CPU).
A
Correct answer
Explanation
A page is the fundamental unit of data storage and transfer between disk and main memory in database systems. When data is retrieved, entire pages (typically 4KB-8KB) are moved to buffers, not individual records.
-
char *a=new char[20];
-
char a=new char[20];
-
char a=new char(20.0);
-
None of the Above
A
Correct answer
Explanation
Option A correctly uses the new operator to allocate a character array: char *a = new char[20]; allocates 20 chars and stores the pointer in a. Options B and C are wrong because they assign a pointer to a non-pointer char variable.
C
Correct answer
Explanation
VSAM (Virtual Storage Access Method) has four types: KSDS (Key Sequenced Data Set), ESDS (Entry Sequenced Data Set), RRDS (Relative Record Data Set), and LDS (Linear Data Set). RSDS is not a valid VSAM type - this is likely a confusion with RRDS. The question asks which is NOT a type, making RSDS the correct answer.
A
Correct answer
Explanation
RAID level 1 is mirroring, which duplicates data across two or more disks. RAID 0 is striping (no redundancy), RAID 2 is rarely used (bit-level striping with Hamming ECC), and RAID 5 is striping with distributed parity. Mirroring specifically refers to RAID 1's exact data duplication technique.
C
Correct answer
Explanation
The ipcs (inter-process communication status) command displays information about System V inter-process communication facilities, including shared memory segments, message queues, and semaphores. It is the standard Unix/Linux utility for this purpose. Options A, B, and D are misspellings or invalid commands.
A
Correct answer
Explanation
RAID 1 is the mirroring level where data is written identically to two or more disks, providing redundancy. If one disk fails, the other contains an exact copy. RAID 2 uses bit-level striping with Hamming codes, RAID 3 uses byte-level striping with dedicated parity, and RAID 5 uses block-level striping with distributed parity.
B
Correct answer
Explanation
RAID 5 requires a minimum of 3 disks because it uses block-level striping with distributed parity. With 2 disks, you cannot have both data stripes and parity distributed across them - that would require RAID 1 (mirroring) instead.
-
online
-
Degraded
-
Rebuilding
-
All the above
D
Correct answer
Explanation
A RAID array can exist in several operational states. 'Online' means the array is healthy and fully functional. 'Degraded' indicates a drive has failed but data is still accessible via parity or mirroring. 'Rebuilding' occurs when a replaced drive is being reconstructed. Thus, all of these are valid RAID states.
B
Correct answer
Explanation
CIFS (Common Internet File System) is the standard file system protocol used in NAS for file sharing, especially with Windows clients. It runs over TCP/IP and allows network-attached storage to share files as if they were local.
B
Correct answer
Explanation
CIFS (Common Internet File System) is the standard file system protocol used in NAS for file sharing, particularly with Windows clients. It enables network-attached storage devices to share files over TCP/IP networks.
-
a hard partition
-
he physical links
-
a physical volume device file
-
the lvm disk resident structures
D
Correct answer
Explanation
The pvcreate command initializes LVM metadata structures on a physical disk, creating the disk-resident data structures that LVM needs to manage the volume. This prepares the disk for inclusion in a volume group.
-
disk
-
cpu
-
VPMON
-
memory
-
hard partition size
A,B,D
Correct answer
Explanation
System bottlenecks commonly occur at disk I/O, CPU processing, or memory resources. These are the three primary hardware resources that can constrain system performance when overutilized.
-
Persistent
-
Dynamic
-
Static
-
All of the above
D
Correct answer
Explanation
Lookup transformation supports three cache types: Persistent cache (saved to disk and reused across sessions), Dynamic cache (refreshed during session execution), and Static cache (loaded once and remains unchanged). The default is static cache. 'All of the above' is correct because all three types are valid lookup cache options in Informatica.