Machine-translated by Google. Questions are authored in English.
Top

Basic Computer Organisation Questions and Answers

1.

If a byte is used as a storage unit, number 5 and character 5 in assembly language are stored as :

Exam Year(s)

MH SET - 2020, SET Exam - 2020,

Answer: A

They are stored as 00000101B and 00110101B.

The number 5 is stored in pure binary: \(5 = 101_2\), which in a byte is 00000101. The character '5' is stored as its ASCII code, 35H = 53 decimal, which is 00110101 in binary.

Option C's 00000011 is 3, not 5, and option B's 01110101C is not a valid binary byte. So only option A is right, and 'None of the above' is wrong.

Please log in or register to report this question.

2.

A t-state is measured from the falling edge of one clock pulse to the falling edge of the next clock pulse. Fetch cycle and the execution cycle take how many of the following t-states ?

Exam Year(s)

MH SET - 2021, SET Exam - 2021,

Answer: C

The answer is 4 and 3.

Taking the 8085 as the standard example, the opcode fetch machine cycle takes four T-states: three to place the address, read the opcode from memory and latch it, and a fourth in which the processor decodes it. A memory read or write machine cycle in the execution phase takes three T-states, since no decoding is needed.

So an instruction such as MVI A, data takes 4 T-states to fetch the opcode and 3 more to read the data byte. The option '3 and 4' reverses the two, and 2 and 1, or 2 and 3, are too few for either cycle.

Please log in or register to report this question.

3.

The following Truth Table represents which Logical Micro-operation ?

ABF
000
011
101
110

Exam Year(s)

MH SET - 2024, SET Exam - 2024,

Answer: C

The table is the exclusive OR, \(F \leftarrow A \oplus B\).

F is 1 exactly when A and B differ (01 and 10) and 0 when they are equal (00 and 11). That is the XOR micro-operation.

AND would give 1 only for 11. NAND would give 1 for 00, 01 and 10. XNOR, the complement of XOR, would give 1 for 00 and 11, the opposite of the table.

Please log in or register to report this question.

4.

What is the interpretation of "R1 ← R2" instruction in Register Transfer Language ?

Exam Year(s)

MH SET - 2025, SET Exam - 2025,

Answer: A

R1 ← R2 means load the content of R2 into R1.

In register transfer language the arrow shows a transfer: the contents of the source register on the right are copied into the destination register on the left. The transfer is non-destructive, so R2 keeps its value.

Addition would be written R1 ← R1 + R2. Nothing in the statement clears R2, so the two options that delete its contents describe a different operation.

Please log in or register to report this question.

5.

The "instruction decode" phase in CPU's instruction cycle is responsible to ................. .

Exam Year(s)

MH SET - 2025, SET Exam - 2025,

Answer: C

Instruction decode determines the opcode and operands of the instruction.

After the fetch phase has brought the instruction into the instruction register, the control unit decodes it: it interprets the opcode to find which operation is required and works out the operands and addressing mode, so the right control signals can be generated.

Loading the instruction into the CPU is the fetch phase. The instruction is already in machine code, so nothing is translated at this stage; translation from source to machine code is done earlier by a compiler or assembler. Carrying out the operation is the execute phase.

Please log in or register to report this question.

Answer: C

The correct sequence is load instruction address, get the instruction, get effective address of operands, execute the opcode.

The instruction cycle starts by placing the program counter's address on the bus, then fetches the instruction from memory. Once it is decoded, the CPU computes the effective addresses of its operands (fetching them if they are in memory), and only then executes the operation.

The other sequences are impossible: the CPU cannot work out operand addresses before it has fetched the instruction that names them, and it cannot execute before it has its operands.

Please log in or register to report this question.

Loading…
Tags: Basic Computer Organisation Questions and Answers || Basic Computer Organisation MCQ Questions and Answers || Basic Computer Organisation GK Questions and Answers || Basic Computer Organisation GK MCQ Questions || Basic Computer Organisation Multiple Choice Questions and Answers || Basic Computer Organisation GK || GK on Basic Computer Organisation || Computer Organization and Architecture Questions and Answers || Computer Organization and Architecture MCQ Questions and Answers || Computer Organization and Architecture GK Questions and Answers || GK on Computer Organization and Architecture