Computer Systems Flashcards
A computer software processes data at the rate of 10 kbps. The software takes 15 minutes to process a set of data. What is the size of data processed?
A. 0.5 MB
B. 1 MB
C. 1.07 MB
D. 2.5 MB
C. 1.07 MB
In a microprocessor, which of the following is an addressable location that can be written to or read from?
A. Program counter
B. Instruction registers
C. Memory address register
D. All of the above
Correct Option: D
A program counter is a deposit that stores the memory address of the next step in the process. An instruction register holds the instruction most recently fetched from memory and that is currently being executed. A memory address register holds a location in memory where information is to be retrieved or stored. All three of these are registers that the program can access directly.
How many memory locations can be directly addressed by a 64-line address bus?
A. 2^32
B. 2^31 + 1
C. 2^32 − 1
D. 2^64
Correct Option: D
An n-bit address bit can specify up to 2n memory locations. Hence, a 64-line address bus can directly address up to 264 memory locations.
Which of the following is the heart of typical microprocessor architecture?
A. Arithmetic and logic unit
B. Control unit
C. Input output
D. Data memory
Correct Option: B
Which of the following is used to store programs and instructions to start up a computer when powered?
A. RAM
B. ROM
C. Cache
D. None of above
Correct Option: B
Solution:
ROM is non-volatile memory, so it is used to store programs and instructions to start a computer.
Which of the following hold memory operands?
A. Data registers
B. Address registers
C. Instruction registers
D. Accumulators
Correct Option: A
Which of the following registers decodes, prepares, and executes instruction?
A. Status register
B. Stack pointer register
C. Instruction register
D. Queue pointer register
Correct Option: C
A status register flag is typically comprised of:
A. 6 bits.
B. 10 bits.
C. 2 bits.
D. 1 bit.
Correct Option: D
How many addresses can a 16-bit address bus generate?
A. 65,536
B. 8,000
C. 32
D. 16
Correct Option: A
Why does pipelining increase CPU performance?
A. It reduces memory access time.
B. It increases clock speed.
C. Parallelism is in effect.
D. It contributes additional functional units.
Correct Option: C
What is the maximum size of each segment in an 8086 microprocessor if each segment can store 16-bit integers?
A. 24 kB
B. 64 kB
C. 256 kB
D. 512 kB
Correct Option: B
If an AX register contains the value 5421 H, what will be the contents of the AX after execution of the “CMP AL, AH” instruction?
A. BC21 H
B. 5421 H
C. 6421 H
D. 55BC H
Correct Option: B
Solution:
AX register (Accumulator register) is a composite register formed by two parts AH and AL. so when this instruction is executed which is composite of AL, AH we get AX which is 5421H.
What is the fastest means of memory access for a CPU?
A. Main memory
B. Cache
C. Registers
D. Virtual memory
Correct Option: C
Solution:
Registers are the fastest means of memory access for CPUs. Registers are the smallest memory locations that are located closest to the CPU
What is the expression of storage capacity when a given M is the memory location and N is the word size?
A. M + N
B. 2M + 2N
C. M × N
D. M – N
Correct Option: C
Solution:
Storage capacity is the product of memory locations and word size or the number of bits stored per location. Storage capacity should be as large as possible.