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
-
cache option specifies minimum value of the sequence
-
cache option specifies how many sequence values will be stored in memory for faster access
-
cache option specifies maximum value of the sequence
-
cache option specifies the value with which the sequence will be incremented
B
Correct answer
Explanation
The CACHE option in database sequences preallocates and holds a specified number of sequence values in memory for faster access. It does not dictate increment values, nor does it specify minimum or maximum sequence boundaries.
-
SP, BUSCO/SPM-FPGA and the SDRAM
-
SP and the SDRAM
-
None of the Above
-
Both a and b can be correct
A
Correct answer
Explanation
For SPb3 and SPB31 boards, the SPM (Service Processor Module) is architecturally composed of the SP, the BUSCO/SPM-FPGA, and the SDRAM. Distractors omitting the FPGA interface or stating a and b are correct are incomplete.
-
All SPM SDRAM tested
-
The cache memory is enabled during all other tests and thus indirectly tested
-
both a and b
-
Ethernet communication controller
-
both a and d
C
Correct answer
Explanation
For SPB21 and SPb3 boards, hardware tests at SPU and SPM restart cover testing all SPM SDRAM, and the cache memory is enabled during other tests to be tested indirectly. Thus, 'both a and b' is correct, whereas the Ethernet controller test is not the primary combined option.
-
buffer cache
-
library cache
-
data dictionary cache
-
none of the above
B
Correct answer
Explanation
The library cache, a component of the Shared Pool, stores parsed SQL statements, execution plans, and PL/SQL code. Reusing these cached objects eliminates parsing overhead, reducing query processing time.
-
Shared Preferences
-
Internal Storage
-
External Storage
-
SQLite Databases
A,B,C,D
Correct answer
Explanation
Android provides multiple data storage options: SharedPreferences for key-value pairs, Internal Storage for private app data, External Storage for shared files, and SQLite databases for structured data. All four are valid, commonly-used storage mechanisms in Android applications.
-
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.
-
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.
-
Oracle
-
SQL Express
-
SQLite
-
DB2
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).