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
-
Local to the file in which its allocated.
-
Local to the function in which its allocated.
-
Local to the block in which its allocated.
-
Global
D
Correct answer
Explanation
Memory allocated by malloc() has global scope - it persists until explicitly freed with free() or program termination, regardless of which function or block allocated it. The allocated memory can be accessed from anywhere in the program via its pointer. Options A, B, and C incorrectly restrict the scope to file, function, or block level.
-
MEMORY
-
DATA DISK
-
PAPER DISK
-
T.V DISK
B
Correct answer
Explanation
A data disk is a storage medium used to store information permanently. While 'memory' is related to data storage, the specific term 'data disk' most directly answers the question about storing information on a disk.
B
Correct answer
Explanation
Garbage collection reclaims memory occupied by objects that are no longer reachable, but it does not guarantee that a program will not run out of memory. If a program maintains active references to unused objects (memory leaks) or requires more memory than allocated, an OutOfMemoryError will occur.
-
Main Memory
-
MVS
-
Tape or Disk Storage
-
Z/OS
C
Correct answer
Explanation
If KSDS (Key Sequenced Data Set) is the book, then the library would be the storage medium where it resides. Just as books are stored in a library, KDS datasets are stored on secondary storage like tape or disk. The library analogy points to where the data is physically kept, which is tape or disk storage, not the operating system (MVS, z/OS) or main memory.
B
Correct answer
Explanation
The Garbage Collector only prevents leaks from unreferenced objects. If your code maintains unnecessary references to unused objects (like in static collections or unclosed resources), those objects cannot be collected and cause memory leaks.
-
30 days
-
2 weeks
-
10 days
-
1 week
A
Correct answer
Explanation
SharePoint's Recycle Bin retains deleted items for 30 days by default before permanent removal. This retention period applies to both first-stage (user) and second-stage (site collection) recycle bins. Administrators can modify this setting, but 30 days is the out-of-the-box default.
-
a.HTML Mode
-
b.URL Mode
-
c.Both a&b
-
d.Binary Mode
C
Correct answer
Explanation
Vugen supports HTML Mode (records at browser level showing user actions) and URL Mode (records at protocol level showing individual requests). These are the two primary recording modes available in LoadRunner. Binary Mode is not a standard recording mode.
B
Correct answer
Explanation
Linux requires a minimum of 3 partitions: root (/) for the system files, swap for virtual memory, and typically a separate /boot partition for bootloader files. This tri-partition scheme ensures proper system booting and operation.
-
Backup
-
Restore
-
Recovery
-
Configuration
B
Correct answer
Explanation
In Disaster Recovery scenarios, the Restore service is responsible for restoring data from backups to bring the system back to its operational state. Backup creates the copies, Recovery is the broader process of full system restoration, and Configuration manages settings, but only Restore specifically handles the data restoration aspect.
B
Correct answer
Explanation
malloc accepts a single size argument in bytes, calloc accepts the number of items and the size of each item, and both return a void* pointer. However, only calloc initializes the allocated memory to all zeros, while malloc leaves it uninitialized. Thus, statement 4 is false and statements 1, 2, and 3 are true.
-
21 TB
-
50 TB
-
72 TB
-
168 TB
-
100 TB
C
Correct answer
Explanation
Oracle Exadata Database Machine Quarter Rack (X2-2 generation) included 72 TB of raw SATA disk storage capacity. This was the standard configuration for the quarter-rack form factor. Option C is correct. 21 TB, 50 TB, 100 TB, and 168 TB represent other configurations (full rack, half rack with different drive types, or other generations).
-
Price is more expensive because the SATA Disk Drives have more capacity than SAS Disk Drives
-
Price is less expensive because the SATA Disk Drives have less performance than the SAS Disk Drives
-
The price is the same.
-
All answers are incorrect
C
Correct answer
Explanation
For Oracle Exadata V2, Oracle implemented a flat pricing structure where database storage servers were priced identically regardless of the drive type selected. Thus, choosing high-capacity SATA drives instead of high-performance SAS drives did not change the base server price, making this option correct.
-
Skip caching I/O's to mirror copies
-
Skip caching backups
-
Skip caching tablespace formatting
-
cache both data blocks and index blocks
-
All answers are correct
E
Correct answer
Explanation
Smart Flash Cache technology allows systems to skip caching I/O operations to mirror copies, skip caching backups, and skip caching tablespace formatting. All the listed options are valid capabilities of this technology.
A
Correct answer
Explanation
The disk_repair_time attribute setting change only affects future disk offline events, not disks that are currently offline. Disks that are already offline will continue to use the disk_repair_time value that was in effect when they went offline. To change the repair time for a currently offline disk, you must use the ALTER DISKGROUP...OFFLINE DISK...DROP AFTER command specifically for that disk.
B
Correct answer
Explanation
ROWID is the physical address of a row, while ROWNUM is a pseudo-column that assigns a sequential number to each row returned by a query. ROWNUM is temporary and query-dependent, whereas ROWID uniquely identifies the physical storage location.