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
-
Cache
-
Instruction opcode
-
PROM
-
SRAM
-
DRAM
B
Correct answer
Explanation
An opcode (operation code) is the portion of a machine language instruction that specifies the operation to be performed.
-
Saving temporary internet files
-
Saving HTML pages
-
Saving process data
-
Storing TLB
-
Saving device drivers
C
Correct answer
Explanation
Swap space is used when the amount of physical memory (RAM) is full. If the system needs more memory resources and the RAM is full, inactive pages in memory are moved to the swap space. While swap space can help machines with a small amount of RAM, it should not be considered a replacement for more RAM. Swap space is located on hard drives, which have a slower access time than physical memory.
-
Segmentation
-
Debbuging
-
Pagging
-
Non-preemptive scheduling
-
Preemptive scheduling
A
Correct answer
Explanation
Memory segmentation is the division of a computer's primary memory into segments or sections. In a computer system using segmentation, a reference to a memory location includes a value that identifies a segment and an offset within that segment.
-
Direct addressing
-
Indirect addressing
-
Auto increment
-
Immediate addressing
-
Auto decrement
E
Correct answer
Explanation
A special case of indirect register mode. The register whose number is included in the instruction code, contains the address of the operand. Decrement Mode = before operand addressing, the contents of the register is decrement.
-
Direct addressing
-
Indirect addressing
-
Auto increment
-
Immediate Addressing
-
Auto decrement
C
Correct answer
Explanation
The auto increment attribute can be used to generate a unique identity for new rows.
-
Internal command instructions
-
External command instructions
-
Diagnostic program
-
Utility programs
-
Word processor
A
Correct answer
Explanation
An internal command is a command embedded into the command.com file.
-
Reserved memory
-
Expanded memory
-
Extended memory
-
Conventional memory
-
Virtual memory
A
Correct answer
Explanation
Setting aside a portion of main memory for some purpose. All system and application programs reserve memory either at startup or during the course of operation. Memory is reserved for inputting data, additional software instructions or for the creation of control structures such as a stack. See dynamic memory allocation, memory allocation, buffer and stack.
-
Expansion card
-
Wi-Fi
-
Bus
-
Cache
-
SCSI
C
Correct answer
Explanation
In computer architecture, a bus (from the Latin omnibus, meaning 'for all') is a communication system that transfers data between components inside a computer, or between computers. This expression covers all related hardware components (wire, optical fiber, etc.) and software, including communication protocol.
-
Register Indirect
-
Based
-
Based Indexed
-
Immediate
-
Indexed
D
Correct answer
Explanation
An immediate operand has a constant value or an expression. When an instruction with two operands uses immediate addressing, the first operand may be a register or memory location, and the second operand is an immediate constant. The first operand defines the length of the data.
-
Heap
-
Stack
-
Ready queue
-
Buffer overrun
-
Segment
B
Correct answer
Explanation
This is the data structure that stores information about the active subroutines of a computer program. This kind of stack is also known as an execution stack, control stack, run-time stack, or machine stack, and is often shortened to just the stack.
-
Activation records
-
Stack pointer register
-
Page
-
Status register
-
Heap data structure
A
Correct answer
Explanation
A call stack or the machine stack is composed of stack frames (also called activation records or activation frames). An activation record is a data structure containing subroutine state information located on the machine stack. These are machine dependent and ABI-dependent data structures containing subroutine state information. Each stack frame corresponds to a call to a subroutine which has not yet terminated with a return.
-
Opcode
-
Assembler
-
Microcode
-
Memory controller
-
Scheduler
C
Correct answer
Explanation
Microcode is a layer of hardware-level instructions or data structures involved in the implementation of higher level machine code instructions in central processing units, and in the implementation of the internal logic of many channel controllers, disk controllers, network interface controllers, network processors, graphics processing units, and other hardware. It resides in special high-speed memory and translates machine instructions into sequences of detailed circuit-level operations. It helps separate the machine instructions from the underlying electronics so that instructions can be designed and altered more freely.
-
Absolute
-
PC-relative
-
Register indirect
-
Sequential execution
-
Implicit
A
Correct answer
Explanation
The effective address for an absolute instruction address is the address parameter itself with no modifications.
A
Correct answer
Explanation
The data type “long double” needs 10 bytes to store an element, and array elements are stored in sequential memory address. If 5th element address is 2008, then 1st element will be at address 2008-10-10-10-10
Or 2008 - 40 = 1968. Hence, option (1) is correct.
-
Non documentary information
-
Documentary information
-
Internal information
-
External information
-
Non recurring information
B
Correct answer
Explanation
This information is available in some written form, microfilms, magnetic tapes, floppy disks etc..