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

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

Multiple choice technology programming languages
  1. Reduce DASD free space fragmentation

  2. Copy or move data sets from one DASD device to another or dump

  3. Restore backup copies of entire DASD volumes

  4. Increase File storage

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

DFDSS (Data Facility Data Set Services) is a mainframe utility for DASD management. It can reduce DASD free space fragmentation (A), copy or move datasets between devices (B), and restore backup copies of volumes (C). However, DFDSS cannot increase file storage capacity - storage allocation is managed through SMS and other storage management systems, not DFDSS utilities.

Multiple choice technology programming languages
  1. KSDS

  2. ESDS

  3. RSDS

  4. RRDS

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

To solve this question, the user needs to have knowledge about VSAM files and their types.

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

A. KSDS: This option is a type of VSAM file. KSDS stands for Key Sequenced Data Set and is used to store records in a sequential order based on a primary key.

B. ESDS: This option is a type of VSAM file. ESDS stands for Entry Sequenced Data Set and is used to store records in the order in which they are written to the file.

C. RSDS: This option is not a type of VSAM file. RSDS is not a valid acronym for a VSAM file type.

D. RRDS: This option is a type of VSAM file. RRDS stands for Relative Record Data Set and is used to store records based on relative byte positions within the file.

Therefore, the answer is: C

Multiple choice technology programming languages
  1. (a) 8MB

  2. (b) 31MB

  3. (c) 16MB

  4. (d) 20MB

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

To solve this question, the user needs to understand the concept of dynamic data areas and storage allocation in memory.

The DATA option in this context refers to a compiler option that affects where dynamic data areas and other runtime storage are allocated in memory. The option determines whether this storage is obtained from above or below a certain memory boundary called the "line."

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

A. (a) 8MB: This option is incorrect because it specifies a specific amount of memory rather than referring to the memory "line" mentioned in the question.

B. (b) 31MB: This option is incorrect because it specifies a specific amount of memory rather than referring to the memory "line" mentioned in the question.

C. (c) 16MB: This option is correct. The memory "line" referred to in the question is typically located at the 16MB boundary in memory. Therefore, the DATA option affects whether dynamic data areas and other runtime storage are obtained from above or below this 16MB line.

D. (d) 20MB: This option is incorrect because it specifies a specific amount of memory rather than referring to the memory "line" mentioned in the question.

The Answer is: C. (c) 16MB.