0% found this document useful (0 votes)
32 views4 pages

Ese 2023 Coa

Uploaded by

prathmeshpote95
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views4 pages

Ese 2023 Coa

Uploaded by

prathmeshpote95
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Sardar Patel Institute of Technology

I* *1D n Bhavan’s Campus, Munshi Nagar, Andheri (W), Mumbai: 400058., India

(Autonomous College of Affiliated to University of Mumbai)

End Semester Examination


December 2023
Maxi Marks: 100 Duration: 3 hours
Class: SE Semester: III
Course code: CS203/AI203/EC201/DS203 Branch: All Branches
Name of the course: Computer Architecture & Organization

Q No Max CO
Marks
Q.l(a) You have a program that consists of two parts: a serial portion that takes 05 CO1
up 30% of the execution time and a parallel portion that takes up the
remaining 70%. If you parallelize the entire parallel portion perfectly on a
system with 8 processors, calculate the theoretical overall speedup
obtained according to Amdahl’s law._______________ _
Q-l(b) In a RISC ISA implementation, you have four instruction types with the 05 CO1
following characteristics:

Load Instruction: Frequency = 25%, CPI = 5


Store Instruction: Frequency = 10%, CPI = 4
ALU Instruction: Frequency = 55%, CPI = 2
Branch Instruction: Frequency = 10%, CPI = 3

Additionally, if you were to achieve a 30% reduction in the CPI of the


ALU instruction by implementing some optimizations, what would be the
new weighted Average CPI for this mix of instructions'?______________
Q-l(c) Consider a computing system with the following characteristics: 05 CO1

Original Instruction Count (IC): 60,000,000


Original Clock Rate (CR): 2.2 GHz (2,200,000,000 Hz)
Original CPI (Cycles Per Instruction): 3.5

Now, an upgrade to the system is proposed with the following changes:


a. The new compiler reduces the Instruction Count to 50,000,000
(New IC).
b. However, the new CPU architecture has a higher CPI of 4.0
(New CPI).
c. The clock rate of the new CPU is faster, with a Clock Rate of 3.0 GHz
(3,000,000,000 Hz).

Calculate and compare the execution times (ET) for both the original and
upgraded scenarios.___________________________________________
Q.2(a) Compare Restoring and Non-Restoring Division algorithms. Divide 33 by 08 CO2
10 using Non-Restoring Division with flow chart.
The following numbers use the IEEE 32-bit floating point numbers. What 07 C02
Q.2 (b)
is the equivalent decimal value?
(1) 11000001111000000000000000000000
(2) 00111111010100000000000000000000 _________________
Q.3 (a) In a CPU, control unit can be designed by two different methods viz. 10 CO3
Hardwired and Microprogrammed. Compare and contrast Hardwired and
Microprogrammed control unit design.
One of the processors from INTEL has 125 control signals which can be
divided into 5 groups of mutually exclusive signals as follows:
Group 1: 20 signals, Group 2: 70 signals, Group 3: 2 signals, Group 4: 10
signals, Group 5: 23 signals.

How many bits of the control word (microinstruction register) can be


saved by using Diagonal Microprogramming over Horizontal and
Vertical Microprogramming?

OR

Design the hardwired control unit to generate MDRout and Rlout


signals. Use the following instructions:
(i) STORE Rl, [R2]; Stores the content of register R1 into the
memory location whose address is in register R2.
(ii) LOAD Rl, | R2J; Loads the content of the memory location
whose address is in register R2 into register R1.
(iii) BRANCHZ Rl, LABEL; Branches to the instruction labelled
"LABEL" if the content of register Rl is zero._____________
Q-3(b) Compare and contrast RISC and CISC architectures in terms of their key 10 CO3
design principles, advantages, and disadvantages. Discuss how the
differences between RISC and CISC architectures impact instruction
execution, memory utilization, and overall performance. Design efficient
instruction sequences for sorting an array of integers in ascending order
on both a RISC (Reduced Instruction Set Computing) and a CISC
(Complex Instruction Set Computing) processor.
Q 3 (c) Describe the states of instruction and draw its state diagram showing the 05 CO3
possible flow of data-path in any instruction _______________________
Q.4(a) A Direct Mapped Cache Subsystem needs to be designed having the 10 CO 4
following specifications:
a) Main Memory Size of 4GB
b) Block Size in Main Memory of 64 Bytes
c) Cache Memory Size of 128KB
d) Line Size in Cache Memory of 64 Bytes
Answer the following:
1) Address Interpretation by Main Memory
2) Address Interpretation by Cache Memory
3) Design of Line Entry associated with each line of cache.
Draw a neat Conceptual Diagram of the System showing all the blocks.

OR

A Two Way Set Associative Cache Subsystem needs to be designed


having the following specifications:
a) Main Memory Size of 4GB
b) Block Size in Main Memory of 64 Bytes
c) Cache Memory Size of 128 KB
0 Address Interpretation by Main Memory
Address Interpretation by Cache Memory
nett r SIgn °njne Entry associated with line ofcache
Draw a neat Conceptual Dragram of the System showing all the blocks.

Q.4 (b) I Consider the following page reference string:


10 CO 4
P,Q,R,S,Q,P,T,U,Q,P,Q,R,V,U,R,Q,P,Q,R,u

How many page faults would occur for the following


for the following replacement
replacement
algorithms, assuming three-page frames?
1. FIFO
2. LRU __________ ___________
Q.4 (c) Viitual Memory Concept creates some kind of illusion in programmer's 5 CO 4
mind. Discuss about this illusion and hence compare Segmentation and
Paging in brief.
Q.5 (a) Compare and contrast Non-Pipelining and Pipelining Processors. To avail 10 CO 5
all the benefits of Pipelining Processors, one needs to eliminate or
minimize various types of Pipeline Hazards. Discuss these hazards in
detail.___________
Q.5 (b) Compare and contrast any two I/O data transfer methods in detail. 05 CO6
Q.5 (c) Discuss Flynn’s classification for Parallel Computing 05 CO6

You might also like