1.
Which of the following is not contained in a CPU?
Correct Answer
D. Memory cell
Explanation
A memory cell is not contained in a CPU. A CPU (Central Processing Unit) is responsible for executing instructions and performing calculations. It consists of various components such as the instruction register, program counter, and general-purpose registers. These components are used for storing and manipulating data and instructions within the CPU. However, a memory cell is part of the computer's memory, which is separate from the CPU. The memory cell is used to store data and instructions that the CPU can access and manipulate during its operations.
2.
Which of the following instructions (as described in the language description table) changes the contents of a memory cell?
Correct Answer
C. 30AB
Explanation
The instruction 30AB changes the contents of a memory cell.
3.
Which of the following instructions (as described in the language description table places 00000000 in register A?
Correct Answer
B. 2A00
Explanation
The instruction "2A00" places the value "00000000" in register A.
4.
Which of the following instructions (as described in the language description table)will not change the contents of register 5?
Correct Answer
D. A508
Explanation
The instruction A508 will not change the contents of register 5 because A5 is the opcode for the instruction, and 08 is the operand. According to the language description table, the A5 opcode refers to the "Load Immediate" instruction, which loads the value of the operand into the specified register. However, since register 5 is not specified as the destination register in this instruction, its contents will remain unchanged.
5.
Which of the following is not a form of parallel processing?
Correct Answer
A. SISD
Explanation
SISD stands for Single Instruction, Single Data, which means that only one instruction is executed at a time on a single piece of data. This is not a form of parallel processing because it does not involve multiple instructions or data being processed simultaneously. In SISD, the processor executes instructions sequentially, one after another.
6.
In which of the following is information most readily available for manipulation by the CPU?
Correct Answer
D. General-purpose registers
Explanation
General-purpose registers are a small set of memory locations within the CPU that can be accessed quickly. They are used to store data and instructions that the CPU needs to process in real-time. Since they are located within the CPU itself, the information stored in these registers is readily available for manipulation by the CPU. Cache memory, main memory, and mass storage, on the other hand, are external to the CPU and have slower access times, making the information stored in them less readily available for manipulation.
7.
The buss in a computer is an example of which form of communication?
Correct Answer
B. Parallel
Explanation
The bus in a computer is an example of parallel communication. In a computer system, the bus is responsible for transferring data between different components such as the CPU, memory, and peripherals. Parallel communication involves sending multiple bits of data simultaneously, using multiple wires or channels. In the case of a computer bus, it means that multiple bits of data can be transmitted at the same time, increasing the speed and efficiency of data transfer within the system. Therefore, the bus in a computer is an example of parallel communication.
8.
What mask in register F would cause the instruction 8AAF (refer to the language description table) to put a 0 in the most significant bit of register A without disturbing the other bits?
Correct Answer
D. 011111111
Explanation
The given mask 011111111 would cause the instruction 8AAF to put a 0 in the most significant bit of register A without disturbing the other bits because when we perform a bitwise AND operation between the mask and the value in register A, all the bits of the mask except the most significant bit are set to 1. Therefore, when we perform the AND operation, all the bits of register A will remain unchanged except for the most significant bit, which will be set to 0.
9.
Which of the following instructions will not produce the same result as the other two?
Correct Answer
B. A506
Explanation
The instructions A502 and A50A are hexadecimal representations of memory addresses, while A506 is not a valid hexadecimal representation. Therefore, A506 will not produce the same result as the other two instructions.
10.
If register A contained the pattern 00000000, which of the following instructions could alter the contents of register 0? (Refer to the language description table.)
Correct Answer
B. 800A
Explanation
The instruction 800A could alter the contents of register 0 if register A contained the pattern 00000000.
11.
Which of the following instructions (as described in the language description table is essentially an unconditional jump?
Correct Answer
A. B033
Explanation
The instruction B033 is essentially an unconditional jump because it does not have any condition or requirement that needs to be met in order for the jump to occur. It simply jumps to the specified location without any restrictions or conditions.
12.
Which step of the machine cycle examines the op-code of the next instruction to be executed?
Correct Answer
C. Decode
Explanation
The step of the machine cycle that examines the op-code of the next instruction to be executed is the decode step. In this step, the computer's control unit analyzes the op-code and determines the specific operation that needs to be performed. It translates the op-code into a sequence of control signals that will be used to execute the instruction. This step is crucial in determining the appropriate actions and data paths that need to be taken during the execution of the instruction.
13.
An ARM based processor in an example of what kind of computer architeture?
Correct Answer
C. RISC
Explanation
An ARM based processor is an example of a Reduced Instruction Set Computing (RISC) architecture. RISC architecture focuses on simplicity and efficiency by using a small and fixed set of instructions that can be executed quickly. ARM processors are commonly used in mobile devices and embedded systems due to their low power consumption and high performance.