Computer Organization interview questions

11. What is BCD ?
Binary-coded decimal is a class of binary encodings of decimal numbers where each decimal digit is represented by a fixed number of bits, usually four or eight.

12. What is Machine code ?
Machine code is a computer program written in machine language instructions that can be executed directly by a computer’s central processing unit (CPU). Each instruction causes the CPU to perform a very specific task, such as a load, a store, a jump, or an arithmetic logic unit (ALU) operation on one or more units of data in central processing unit (CPU) registers or memory.

13. What is instruction register (IR) ?
Instruction register (IR) or current instruction register (CIR) is the part of a CPU’s control unit that holds the instruction currently being executed or decoded. Modern processors can even do some of the steps out of order as decoding on several instructions is done in parallel.

14. Explain Big-endian vs Little-endian ?
Big-endian is an order in which the “big end” (most significant value in the sequence) is stored first (at the lowest storage address). Little-endian is an order in which the “little end” (least significant value in the sequence) is stored first.

15. What is an accumulator ?
An accumulatoris a type of register included in a CPU. It acts as a temporary storage location which holds an intermediate value in mathematical and logical calculations. Intermediate results of an operation are progressively written to the accumulator, overwriting the previous value.

Author: user

Leave a Reply