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 performance
  1. RAID 1

  2. RAID 0+1

  3. RAID 3

  4. RAID 5

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

RAID 3 uses byte-level striping with a dedicated parity disk. Data is striped across multiple volumes while one entire volume stores parity bits used to reconstruct data if a drive fails. RAID 5 also uses parity but distributes it across all drives rather than dedicating one volume.

Multiple choice technology programming languages
  1. a) They never releases the memory utilized

  2. b) They release the memory but kernel does not use them

  3. c) Since they are running

  4. d) It’s a false statement

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Processes can release memory back to the kernel, but the released memory remains within the process's address space for potential reuse rather than being returned to the system. This is due to how memory allocators work - they keep freed memory for future allocations by the same process to avoid system call overhead.

Multiple choice technology programming languages
  1. a) National File System

  2. b) Network Flashmemory System

  3. c) Network File System

  4. d) Network Fault System

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

NFS stands for Network File System, a distributed file system protocol developed by Sun Microsystems. It allows users to access files over a network as if they were stored locally, enabling transparent file sharing between Unix-like systems. The other acronyms (National File System, Network Flashmemory System, Network Fault System) are incorrect.

Multiple choice technology programming languages
  1. a) Use getmemory()

  2. b) Use sysctl()

  3. c) Use freemem()

  4. d) Use malloc()

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

sysctl() is the system call used to query and modify kernel parameters in BSD-derived systems including macOS. It can retrieve memory information through hardware parameters (e.g., HW_PHYSMEM). On modern Linux, reading /proc/meminfo is more common, but sysctl() remains valid. The other functions are not standard system calls for memory queries.

Multiple choice technology programming languages
  1. True

  2. False

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The tar command creates archives that can be written to any storage medium including floppy disks, hard drives, or tapes. While floppies are obsolete technology, tar is fundamentally capable of writing archives to block devices including floppies. The claimed answer is technically correct though the context is dated.

Multiple choice technology web technology
  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Garbage collection only reclaims memory from objects that are no longer referenced. It does not prevent out-of-memory errors - if your program creates objects faster than GC can reclaim them, or holds onto too many live objects, it will still run out of memory. GC manages memory but doesn't guarantee unlimited availability.

Multiple choice technology operating systems
  1. CPU register is 64 bit

  2. It stores information in hard disk as 64-bit format

  3. Data in main memory stored in 64-bit

  4. OS is developed using 64-bit compiler

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

A 64-bit OS manages memory addresses and processes data in 64-bit chunks. The primary distinction is how it handles data in main memory (RAM), using 64-bit addresses rather than 32-bit. CPU registers are typically 64-bit too, but that's a hardware consequence. Hard disk storage format is unrelated to OS bit-architecture.

Multiple choice technology platforms and products
  1. Dynamic Cache

  2. Shared Cache

  3. Distributed Cache

  4. Persistent Cache

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Informatica Lookup transformation cache types include Static, Dynamic, Shared, Persistent, and Re-cache. 'Distributed Cache' is not a valid lookup cache type in Informatica PowerCenter. Options A, B, and D are all valid cache types.

Multiple choice technology programming languages
  1. ALLOCATE

  2. ALLOC

  3. ALLMEM

  4. LOADM

  5. None of the above

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

ALLOC is used to allocate memory at runtime in certain systems (possibly mainframe/COBOL context based on the option names). Standard memory allocation functions are malloc, calloc, realloc (C) or new (C++), but this question appears to test knowledge of a specific system's runtime allocation command. Options A, C, and D are not standard allocation commands.