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. Overriding

  2. Garbage Collection

  3. Assemblies

  4. Serialization

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

Garbage Collection is .NET's automatic memory management technique that reclaim memory from objects no longer in use, preventing memory leaks. Overriding is about polymorphism, Assemblies are deployment units, and Serialization converts objects to streams.

Multiple choice technology operating systems
  1. Run Diagnostics

  2. Reset Drive

  3. Try known good drive

  4. Reset BIOS

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

When BIOS can't find bootable media, the first step is resetting BIOS to ensure it properly detects the hard drive. This clears any corrupted settings that might prevent Disk 0 from being recognized. Only after confirming BIOS detection should you proceed with diagnostics or drive replacement. Running diagnostics or swapping drives before verifying BIOS detection would be premature.

Multiple choice technology programming languages
  1. SAP Memory is a memory area in the internal session (roll area) of an ABAP program. Data within this area is retained within a sequence of program calls, allowing you to pass data between programs that call one another. It is also possible to pass data be

  2. ABAP Memory is a memory area to which all sessions within a SAPgui have access. You can use SAP memory either to pass data from one program to another within a session (as with ABAP memory) or to pass data from one session to another.

  3. ABAP Memory is a memory area in the internal session (roll area) of an ABAP program. Data within this area is retained within a sequence of program calls, allowing you to pass data between programs that call one another. It is also possible to pass data b

  4. SAP Memory is a memory area to which all sessions within a SAPgui have access. You can use SAP memory either to pass data from one program to another within a session (as with ABAP memory) or to pass data from one session to another.

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

ABAP memory is internal to one session's roll area for passing data between calling programs within a sequence. SAP memory is global across all SAPgui sessions for cross-session data sharing.

Multiple choice technology programming languages
  1. Cylinders

  2. Tracks

  3. Blocks

  4. All of the above

  5. None of the above

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

To solve this question, the user needs to know the basic concepts of hard disk allocation. When a file is stored on a hard disk, the operating system needs to know where on the disk to store it. The hard disk is divided into smaller sections, and the operating system allocates these sections to files as needed. These sections are known as allocation units.

Now, let's go through each option and explain why it is right or wrong:

A. Cylinders: This option is correct. A cylinder is a group of tracks on a hard disk that are located at the same position of the disk's read/write head. Cylinders are used to allocate space on older hard disks.

B. Tracks: This option is correct. A track is a circular path on a hard disk that is used to store data. Tracks are used in conjunction with cylinders to allocate space on older hard disks.

C. Blocks: This option is correct. A block is a group of sectors on a hard disk that are allocated as a unit. Blocks are used to allocate space on modern hard disks.

D. All of the above: This option is correct. All of the options listed (cylinders, tracks, and blocks) are used to allocate space on hard disks.

E. None of the above: This option is incorrect. All of the options listed (cylinders, tracks, and blocks) are used to allocate space on hard disks.

The Answer is: D

Multiple choice technology programming languages
  1. A dummy device to represent memory

  2. A dummy device to represent the processor

  3. A dummy device to provide infinite number of zeros

  4. None

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

The /dev/zero device file returns an infinite stream of null bytes (zeros) when read. It is commonly used for initializing data, creating zero-filled files, or testing programs that handle null data.

Multiple choice technology operating systems
  1. True

  2. False

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

tar is an archive utility for creating and manipulating tar archives, not a raw device writing tool. Writing directly to floppy disks requires utilities like dd or specific floppy formatting tools. tar archives can be written to files which may then be copied to floppies, but tar itself doesn't write to floppies.

Multiple choice technology operating systems
  1. 1

  2. 2

  3. 3

  4. 4

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

The USBSTOR service controls USB storage device functionality. Setting the Start DWORD value to 4 disables the service. The Start value meanings are: 0=Boot, 1=System, 2=Auto, 3=Manual, 4=Disabled. To prevent USB storage devices from being used, you disable USBSTOR by setting Start=4. Option D is correct.

Multiple choice technology programming languages
  1. A memeory shared between kernel & devices

  2. A memory shared between root user and ordinary user

  3. A memory shared across processes

  4. Harddisk

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

Shared memory is an IPC mechanism that allows multiple processes to access the same memory region. It enables fast data sharing between processes without copying data. Options A and B are incorrect - shared memory is not between kernel/devices or users. Option D (harddisk) is storage, not memory.

Multiple choice technology programming languages
  1. Use getmemory()

  2. Use sysctl()

  3. Use freemem()

  4. Use malloc()

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

The sysctl() system call is used to query and modify kernel parameters, including system memory information. Options A and C refer to non-standard functions, while malloc() is for memory allocation, not querying system memory. On modern Linux, /proc/meminfo is also commonly used.

Multiple choice technology programming languages
  1. Virtual File Server

  2. Virtual File System

  3. Virtual File Sync

  4. None

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

VFS (Virtual File System) is the kernel subsystem that provides a unified interface for accessing different filesystem types. It allows applications to use standard system calls regardless of whether files are on ext4, NFS, FAT32, or other supported filesystems. Options A, C, and D are incorrect: it's not a server, sync mechanism, or 'None'.

Multiple choice technology programming languages
  1. increases the number of Index buffers for random access

  2. increases the amount of virtual storage

  3. increases the number of Data buffers for sequential access

  4. All of the above

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

The AMP parameter BUFNI (Buffer Number for Index) increases the number of index buffers allocated for random access to VSAM datasets. This improves performance for random access patterns by keeping more index control intervals in memory. It does not affect data buffers or virtual storage directly.