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

Multiple choice technology programming languages
  1. Local to the file in which its allocated.

  2. Local to the function in which its allocated.

  3. Local to the block in which its allocated.

  4. Global

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology
  1. MEMORY

  2. DATA DISK

  3. PAPER DISK

  4. T.V DISK

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology programming languages
  1. True

  2. False

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology mainframe
  1. Main Memory

  2. MVS

  3. Tape or Disk Storage

  4. Z/OS

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. 30 days

  2. 2 weeks

  3. 10 days

  4. 1 week

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology performance
  1. a.HTML Mode

  2. b.URL Mode

  3. c.Both a&b

  4. d.Binary Mode

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. Backup

  2. Restore

  3. Recovery

  4. Configuration

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology programming languages
  1. 1, 2, 3, 4

  2. 1, 2, 3

  3. 1,2

  4. 1

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology platforms and products
  1. 21 TB

  2. 50 TB

  3. 72 TB

  4. 168 TB

  5. 100 TB

Reveal answer Fill a bubble to check yourself
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).

Multiple choice technology platforms and products
  1. Price is more expensive because the SATA Disk Drives have more capacity than SAS Disk Drives

  2. Price is less expensive because the SATA Disk Drives have less performance than the SAS Disk Drives

  3. The price is the same.

  4. All answers are incorrect

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology platforms and products
  1. Skip caching I/O's to mirror copies

  2. Skip caching backups

  3. Skip caching tablespace formatting

  4. cache both data blocks and index blocks

  5. All answers are correct

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology databases
  1. True

  2. False

Reveal answer Fill a bubble to check yourself
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.