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 assembly
  1. ROM

  2. RAM

  3. Hard Disk

  4. none of the above

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

When a computer powers on, the CPU executes code stored in the BIOS (Basic Input/Output System), which resides in Read-Only Memory (ROM). This is the boot firmware process. RAM is volatile and empty on startup, and the Hard Disk contains the OS which is loaded later.

Multiple choice assembly
  1. It has only 14 registers

  2. The register size was 16 bits

  3. The address bus width was 20 bits

  4. none of the above

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

To answer this question, the user needs to have knowledge of the 8086 processor and its limitations.

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

A. It has only 14 registers: This option is incorrect. The number of registers in the 8086 processor does not determine the maximum memory space addressable. The registers in the 8086 are used for various purposes, but they do not directly limit the addressable memory space.

B. The register size was 16 bits: This option is incorrect. The size of the registers in the 8086 processor does not directly determine the maximum memory space addressable. The register size affects the size of the data that can be stored and manipulated within the registers, but it does not limit the overall addressable memory space.

C. The address bus width was 20 bits: This option is correct. The address bus width of the 8086 processor is 20 bits, which means it can address up to 2^20 (1,048,576) memory locations. Each memory location can hold a byte of data. Therefore, the 8086 processor can address a maximum of 1,048,576 bytes or 1 megabyte of memory.

D. none of the above: This option is incorrect. Option C, which states that the address bus width was 20 bits, is the correct answer.

The Answer is: C

Multiple choice assembly
  1. 64 KB

  2. 640KB

  3. 1MB

  4. 2MB

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

The 8086 processor has a 20-bit address bus. This allows it to address 2 to the power of 20 unique memory locations, which equals 1,048,576 bytes, or exactly 1 MB. This memory space is typically divided into segments of 64 KB each.

Multiple choice java
  1. One

  2. Two

  3. Three

  4. Unlimited

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

By default, a JSP container loads only one instance of the generated servlet into memory. Multiple concurrent requests are handled by multiple threads executing the same instance's service method. This model is efficient for resource management, though SingleThreadModel (now deprecated) could change this behavior.

Multiple choice cisco-ccna
  1. The source of commonly used configuration commands

  2. The primary source of the Cisco IOS

  3. A location to run the active configuration from

  4. A location to run the power on diagnostics from

  5. A location to store a backup copy of the router configuration file

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

Non-Volatile RAM (NVRAM) is used in Cisco routers to store the startup-configuration file. Unlike system RAM, NVRAM retains its contents when the router is powered off or rebooted, ensuring the configuration persists.

Multiple choice cisco-ccna
  1. NVRAM, TFTP Server, ROM

  2. NVRAM, TFTP Server, RAM

  3. TFTP Server, FTP Server, ROM

  4. Flash memory, TFTP Server, ROM

  5. NVRAM, Flash memory

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

Cisco IOS can be loaded from three locations at boot: Flash memory (the primary storage for IOS images), a TFTP server (network boot for loading or recovery), and ROM (contains a limited IOS for emergency situations). NVRAM stores configuration, not IOS images.

Multiple choice cisco-ccna
  1. in NVRAM

  2. in ROM

  3. in RAM

  4. in Flash Memory

  5. In ROM or RAM

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

The running configuration file is stored in RAM (Random Access Memory) while the router is operating. This is the active configuration being used by the router. NVRAM stores the startup configuration (saved copy), ROM contains the bootstrap/IOS, and Flash memory stores the IOS image file. Option E is incorrect because running config exists only in RAM during operation.

Multiple choice hardware
  1. CPU

  2. ROM

  3. RAM

  4. DRAM

  5. DIMM

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

To solve this question, the user needs to know the differences between the types of computer memory.

A. CPU (Central Processing Unit) is not a type of memory, it is a processing unit that performs most of the processing inside a computer.

B. ROM (Read-Only Memory) is a type of non-volatile memory that retains its data even when the power is turned off. It is used to store firmware, BIOS, and other permanent system data.

C. RAM (Random Access Memory) is a type of volatile memory that does not retain its data when the power is turned off. It is used to temporarily store data while the computer is running.

D. DRAM (Dynamic Random Access Memory) is a type of volatile memory that requires constant refreshing to retain its data. It is used as the main memory in most computers.

E. DIMM (Dual In-Line Memory Module) is not a type of memory, it is a form factor for RAM modules.

Therefore, the correct answer is B. ROM.

Multiple choice hardware
  1. it's white

  2. it has a red line along one edge

  3. it's wider than all the other ribbon cables

  4. it has a twist in it

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

A floppy drive ribbon cable is distinguished by a 'twist' in a few of the wires (specifically wires 10-16) near the end of the cable. This twist allows the system to differentiate between Drive A: and Drive B: on the same cable.

Multiple choice hardware
  1. performs low-level formatting of the hard drive

  2. fixes bad sectors on the hard drive

  3. recovers lost clusters on the hard drive

  4. creates partitions on the hard drive

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

FDISK is a disk partitioning utility that creates and manages disk partitions. Low-level formatting is done by utilities like DEBUG. Bad sector repair is done by SCANDISK. Recovering lost clusters uses CHKDSK.

Multiple choice hardware
  1. 0

  2. 1

  3. 4

  4. 13

  5. 14

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

To answer this question, you need to have knowledge about computer hardware and its components, specifically the hard disk controller and IRQ (Interrupt Request) numbers.

IRQ numbers are used by various hardware devices to request attention from the CPU. Each device is assigned a unique IRQ number to ensure proper communication and coordination between the hardware and the CPU.

In the case of the hard disk controller, it commonly uses IRQ 14.

Now let's go through each option and determine if it is the correct answer:

A. 0: This option is incorrect because IRQ 0 is typically used for the system timer.

B. 1: This option is incorrect because IRQ 1 is commonly used for the keyboard controller.

C. 4: This option is incorrect because IRQ 4 is commonly used for the serial port (COM1).

D. 13: This option is incorrect because IRQ 13 is commonly used for the math coprocessor.

E. 14: This option is correct. IRQ 14 is commonly used for the hard disk controller.

Therefore, the correct answer is E.