EC8552-Computer Architecture and Organization
EC8552-Computer Architecture and Organization
DEPARTMENT OF
ELECTRONICS AND COMMUNICATION
ENGINEERING
QUESTION BANK
V SEMESTER
Regulation – 2017
Academic Year 2019 – 2020
Prepared by
2 Consider the following code segment C: A=b+e; c=b+f; Here (15) BTL 5 Evaluating
is the generated MIPS code for this segme t, assuming all
variables are in memory and are addressable as off sets from $t0:
lw $t1, 0($t0)
lw $t2, 4($t0)
add $t3, $t1, $t2
sw $t3, 12($t0)
lw $t4, 8($t0)
add $t5, $t1, $t4
sw $t5, 16($t0)
Find the hazards in the preceding code segment and reorder the
instructions to avoid any pipeline stalls.
3 Consider the follo ing loop: BTL 5 Evaluating
Loop: lw r1,0(r1)
and r1,r1,r2
lw r1,0(r1)
lw r1,0(r1)
beq r1,r0,loop
Assume that perfect branch prediction is used (no stalls) that there
are no delay slots, and that the pipeline has full forwarding
support. Also assume that many iterations of this loop are
executed before the loop exits.
i).Assess a pipeline execution diagram for the third iteration of (8)
this loop.
ii).Show all instructions that are in the pipeline during these (7)
cycles (for all iterations).
4 Plan the pipelining in MIPS architecture and generate the (15) BTL 6 Creating
exceptions handled in MIPS.
UNIT IV- MEMORY AND I/O ORGANIZATION
Memory hierarchy, Memory Chip Organization, Cache memory, Virtual memory. Parallel Bus
Architectures, Internal Communication Methodologies, Serial Bus Architectures, Mass storage, Input and
Output Devices
PART-A
Q.No Questions BT Competence
Level
1 Distinguish the types of locality of references. BTL 2 Understanding
2 Define the structure of memory hierarchy in a typical computer BTL 1 Re embering
system and draw its diagram.
3 Give how many total bits are required for a direct mapped cache BTL 2 Understanding
with 16KB of data and 4-word blocks, assuming a 32 bit address
4 Compare and contrast SRAM and DRAM. BTL 4 Analyzing
5 What is miss penalty? BTL 1 Remembering
6 Describe Rotational Latency. BTL 1 Remembering
7 State is direct-mapped cache. .
BTL 1 Remembering
8 Evaluate Hit Ratios and Effective Access Times in cache BTL 5 Evaluating
9 Formulate Fragmentation in virtual memory BTL 6 Creating
10 Analyze the writing strategies in cache memory. BTL 4 Analyzing
11 Integrate the functional steps required in n instruction cache BTL 6 Creating
miss.
12 State hit rate and miss rate. BTL 1 Remembering
13 Summarize the various block placeme t schemes in cache BTL 2 Understanding
memory.
14 Identify the purpose of Dirty/Mod f ed b t Cache memory. BTL 1 Remembering
15 Point out the use of parallel bus arch tecture? BTL 4 Analyzing
16 Show the role of TLB in virtual m mory. BTL 3 Applying
17 Illustrate the advantages of virtual m mory. BTL 3 Applying
18 Assess the use of Ove lays m mory. BTL 5 Evaluating
19 Differentiate Paging and segmentation. BTL 2 Understanding
20 Demonstrate the sequence of events involved in handling Direct BTL 3 Applying
Memory Access.
rejinpaul
PART-B
1 i).Define parallelism and its types. (7) BTL 1 Remembering
ii).List the main characteristics and limitations of Instruction level (6)
parallelism.
2 i).Define virtual memory and its importance. (7) BTL 2 Understanding
ii).Examine TLB ith necessary diagram .What is its use? (6)
3 i).List the various memory technologies and examine its (7) BTL 2 Understanding
relevance in architecture design.
ii). Identify the characteristics of memory system. (6)
4 Apply how Internal Communication Methodologies is useful in (13) BTL 3 Applying
developing computer architecture.
5 i).Demonstrate the DMA controller. Discuss how it improves the (7) BTL 1 Remembering
overall performance of the system.
ii).Illustrate how DMA controller is used for direct data transfer (6)
between memory and peripherals?
6 Point out the need for cache memory. Explain the following three (13) BTL 4 Analyzing
mapping methods with examples.
i). Direct.
ii).Associative.
iii).Set associative.
7 Evaluate the features of Bus Arbitration-Masters and Slaves. (13) BTL 5 Evaluating
8 Generalize the Bus Structure, Protocol, and Control in Parallel (13) BTL 6 Creating
Bus Architecture
9 i).Classify the types of memory chip organization. (7) BTL 4 Analyzing
ii).Analyze the advantages of cache and virtual memory (6)
10 Elaborate in detail about the following in Parallel Bus
Architectures (7) BTL 1 Re embering
i). The Synchronous Bus (6)
ii). The Asynchronous Bus
11 i).Give the advantages of cache. (6) BTL 4 Analyzing
ii).Identify the basic operations of cache in detail with diagram
rejinpaul
(7)
12 Describe the principle approaches of Serial Bus Archite tures (13) BTL 1 Remembering
with necessary diagrams.
13 Illustrate the following in detail BTL 3 Applying
i). Magnetic Disks (5)
ii). Magnetic Tape (4)
iii). Optical Disks (4)
14 Discuss the following in detail BTL 2 Understanding
i). Input Devices. (7)
ii). Output Devices. (6)
PART C
1 Generalize the merits and demer ts of Parallel Bus Architectures, (15) BTL 6 Creating
Bridge-Based Bus Architectures and Ser al Bus Architectures.
2 For a direct mapped cache d sign with a 32 bit address, the BTL 5 Evaluating
following bits of the add ss us d to access the cache.
Tag : 31-10 Index: 9-5 Offs t: 4-0
i). Judge what is the cache block size? (5)
ii).Decide how many ent ies does the cache have? (5)
iii).Assess what is the ratio between total bits required for such a (5)
cache implementation over the data storage bits?
3 Develop methods to constructing large RAMS from small RAMS (15) BTL 6 Creating
and commercial memory modules
4 Summarize the virtual memory organization followed in digital (15) BTL 5 Evaluating
computers.
UNIT V- ADVANCED COMPUTER ARCHITECTURE
Parallel processing architectures and challenges, Hardware multithreading, Multicore and shared memory
multiprocessors, Introduction to Graphics Processing Units, Clusters and Warehouse scale computers -
Introduction to Multiprocessor network topologies.
PART-A
Q.No Questions BT Competence
Level
1 Describe the main idea of Parallel processing architectures. BTL 2 Understanding
2 Illustrate how to organize a clusters. BTL 3 Applying
3 List the network topologies in parallel processor. BTL 1 Remembering
4 Analyze the main characteristics of SMT processor. BTL 4 Analyzing
5 Quote the importance of Graphics Processing Units. BTL 1 Remembering
6 Define multicore microprocessor. BTL 1 Remembering
7 Express Warehouse scale computers. BTL 2 Understanding
8 State the overall speedup if a webserver is to be enhanced with a BTL 1 Remembering
new CPU which is 10 times faster on computation than an old
CPU .The original CPU spent 40% of its time processing and
60% of its time waiting for I/O.
9 Differentiate between SIMD and MIMD. BTL 2 Understanding
10 Show the performance of cluster organization. BTL 3 Applying
11 Compare SMT and hardware multithreading. BTL 5 Evaluating
12 Identify the Flynn classification and give an example for each BTL 1 Re embering
class in Flynn’s classification.
13 Integrate the ideas of multistage network and cross bar network BTL 6 Creating
14 Discriminate UMA and NUMA. BTL 5 Evaluating
15 Describe fine grained multithreading. BTL 1 Remembering
16 Express the need for instruction level parallelism. BTL 2 Understanding
17 Formulate the various approaches to hardware multithreading .
BTL 6 Creating
18 Categorize the various multithreading options. BTL 4 Analyzing
19 Compare fine grained multithreading and coarse grained BTL 4 Analyzing
multithreading.
20 Classify shared memory multiprocessor b sed on the memory BTL 3 Applying
access latency.
PART-B