COMPUTER ARCHITECTURE
ASSIGNMENT – 1
Instructions:
- Attempt all questions.
- Show complete steps for numerical problems.
- Draw neat and labelled diagrams wherever required.
- Use suitable examples wherever asked.
-
Define Computer Architecture and Computer Organization. Explain the difference between them.
-
What is a register? Explain why registers are required in a CPU .What is Register Transfer Language (RTL)? Explain its notation with suitable examples.
-
Explain the concept of a common bus system.
-
Explain a common bus system using multiplexers with a neat diagram.
-
Explain the stored-program organization with a neat diagram.
-
Given R1 = 1011 and R2 = 0101, perform R3 ← R1 + R2. Find R3.
-
Given AC = 1010 and DR = 0011, perform AC ← AC + DR. Find the new contents of AC.
-
Given R1 = 1101, perform R2 ← R1 and then R3 ← R2. Find the final values of R1, R2 and R3.
-
Given AC = 1100 and DR = 0011, perform AC ← AC − DR using 2's complement.
-
Given R1 = 1111, perform R1 ← R1 + 1 using 4-bit arithmetic. State the result and carry.
-
Four registers contain R0 = 1010, R1 = 0111, R2 = 1100 and R3 = 0011. If the common bus selects R2 and R0 is the destination, determine the bus value and new R0.
-
Perform the following sequence for AC = 1010: AC ← AC + 0011; AC ← AC − 0010. Find final AC.
-
Given PC = 1111, perform PC ← PC + 1 using a 4-bit register. Explain the result.
-
Explain a 4-bit binary parallel adder with a neat block diagram.
-
Explain the design and working of a 4-bit arithmetic circuit.
-
What is an Arithmetic Logic Unit (ALU)? Explain its major functions.
-
Explain logical shift operations: logical left shift and logical right shift.
-
Perform the binary addition: 101101 + 110011.
-
Perform binary subtraction: 101101 − 011011.
-
Represent −37 using an 8-bit 2's complement representation.
-
Convert these 8-bit 2's complement numbers into decimal: 11100101, 10011011 and 11010110.
-
Given A = 10110110 and B = 11001101, calculate A AND B, A OR B, A XOR B and NOT A.
-
Given A = 11001100 and B = 10101010, calculate A AND B, A OR B and A XOR B
-
Given R = 11010110, perform R ← shl R and then R ← shr R. Find the final contents.
-
Given R = 10011001, perform logical left shift, logical right shift and arithmetic right shift.
-
For A = 1001 and B = 0101, perform A + B, A − B, A AND B, A OR B and A XOR B.
-
A 4-bit ALU has A = 1110 and B = 0011. Calculate A − B using 2's complement.
-
An 8-bit accumulator contains AC = 10110101. Perform AC ← AC + 00000101 and then AC ← shl AC. Find the final value.
-
A 4-bit register initially contains 1011. Perform sequentially: R ← R + 0011; R ← shr R; R ← R XOR 1100. Find the final contents.
-
Given AC = 1010 and DR = 0110, perform sequentially: AC ← AC + DR; AC ← shl AC; AC ← AC
-
A 4-bit accumulator contains 1101. Perform: AC ← AC + 0010; AC ← AC XOR 1111; AC ← shr AC. Find the final contents.
-
Convert decimal numbers +18 and −18 into 8-bit sign-magnitude, 1's complement and 2's complement representations.
-
Perform the following sequence on R = 10110010: logical right shift, circular left shift, and arithmetic right shift. Show the result after each operation.
-
Explain with a real-life example how the ALU, registers and common bus work together when a calculator performs 25 + 15.
-
Explain with a real-life example where shift operations are used in computers or digital devices.
-
Explain how a common bus system reduces the number of direct connections between registers.
-
Explain why an accumulator is useful when performing a sequence of arithmetic operations.