SlideShare una empresa de Scribd logo
1 de 9
Descargar para leer sin conexión
Deptt. of Comp. Sc. and Engg.
M.M.M. Engg. College, Gorakhpur-273010
Session: 2007-08
Course: B Tech
Subject: Advanced Computer
Architecture
Code : TCS-802
Tutorial-1
Q1. Give various architectural classification schemes. Also discuss the Flynn’s and
Shore’s classification in detail.
Q2. Explain how instruction set, compiler technology, CPU performance and justify
the effects in terms of program length, clock rate, and effective CPI.
Deptt. of Comp. Sc. and Engg.
M.M.M. Engg. College, Gorakhpur-273010
Session: 2007-08
Course: B Tech
Subject: Advanced Computer
Architecture
Code : TCS-802
Tutorial-2
Q1. A workstation uses a 15-MHz processor with a claimed 10-MIPS rating to execute
a given program mix. Assume a one-cycle delay for each memory access.
a. What is the effective CPI of this computer?
b. Suppose the processor is being upgraded with 30-MHz clock. However, the
speed of the memory subsystem remains unchanged, and consequently two
clock cycles are needed per memory access. If 30% of the instructions require
one memory access and another 5% require two memory accesses per
instruction, what is the performance of the upgraded processor with a
compatible set and equal instruction counts in the given program mix.
Q2. Consider the execution of an object code with 200,000 instructions on a 40- MHz
processor. The program consists of four major types of instructions. The instruction
mix and the number of cycles (CPI) needed for each instruction type are given
below based on the result of a program trace experiment:
a. Calculate the average CPI when the program is executed on a uniprocessor with
the above trace results.
b. Calculate the corresponding MIPS rate based on the CPI obtained in part (a)
Instruction type CPI Instruction mix
Arithmetic and logic 1 60%
Load/store with cache hit 2 18%
Branch 4 12%
Memory reference with cache miss 8 10%
Deptt. of Comp. Sc. and Engg.
M.M.M. Engg. College, Gorakhpur-273010
Session: 2007-08
Course: B Tech
Subject: Advanced Computer
Architecture
Code : TCS-802
Tutorial-3
Q1. Define the fallowing terms related to parallelization and dependence relation.
a. Computational Granularity
b. Communication latency
c. Flow dependence
d. Anti dependence
e. Output dependence
f. I/O dependence
g. Control dependence
h. Resource dependence
i. Bernstein Condition
j. Degree of parallelism
Q2. Analyze the data dependences among the following statements in a given program:
Where (Ri) means the content of register Ri and Memory (10) contains 64 initially.
a. Draw a dependence graph to show all the dependences.
b. Are there any resource dependences if only one copy of each functional unit is
available in the CPU?
c. Repeat the above for the following program statements:
S1: Load R1, 1024 /R1←1024/
S2: Load R2, M(10) /R2← Memory (10)/
S3: Add R1, R2 /R1← (R1) + (R2)/
S4: Store M (1024), R1 / Memory (1024) ← (R1)/
S5: Store M ((R2)), 1024 / Memory (64) ←1024/
S1: Load R1, M (100) /R1← Memory (100)/
S2: Move R2, R1 /R2← (R1)/
S3: Inc R1 /R1← (R1) + 1/
S4: Add R2, R1 / R2← (R2) + R1/
S5: Store M (100), R1 / Memory (100) ←(R1)/
Deptt. of Comp. Sc. and Engg.
M.M.M. Engg. College, Gorakhpur-273010
Session: 2007-08
Course: B Tech
Subject: Advanced Computer
Architecture
Code : TCS-802
Tutorial-4
Q1. Consider the execution of a program of 15,000 instructions by a linear pipeline
processor with a clock rate of 25 MHz.Assume that the instruction pipeline has five
stages and that one instruction and out-of-sequence executions are ignored.
a. Calculate the speedup factor in using this pipeline to execute the program as
compared with the use of an equivalent nonpipelined processor with an equal
amount of flow-through delay.
b. What are the efficiency and throughput of this pipelined processor?
Q2. Consider the following reservation table for a four-stage pipeline with a clock cycle
τ= 20 ns.
a. What are the forbidden latencies and the initial collision vector?
b. Draw the state transition diagram for scheduling the pipeline.
c. Determine the MAL associated with the shortest greedy cycle.
d. Determine the pipeline throughput corresponding to the MAL and given τ.
e. Determine the lower bound on the MAL for this pipeline. Have you obtained the
optimal latency from the above state diagram?
1 2 3 4 5 6
S1 X X
S2 X X
S3 X
S4 X
Deptt. of Comp. Sc. and Engg.
M.M.M. Engg. College, Gorakhpur-273010
Session: 2007-08
Course: B Tech
Subject: Advanced Computer
Architecture
Code : TCS-802
Tutorial-5
Q1. Consider the five-stage pipelined processor specified by the following reservation
table:
a. List the set of forbidden latencies and all the collision vector.
b. Draw a state transition diagram showing all possible initial sequences (cycles)
without causing a collision in the pipeline.
c. List all the simple cycles from the state diagram.
d. Identify the greedy cycles among the simple cycles.
e. What is the minimum average latency (MAL) of this pipeline?
f. What is the minimum average latency (MAL) of this pipeline?
g. What will be the maximum throughput of this pipeline?
h. What will be the throughput if the minimum constant cycle is used?
Q2. Consider a four–stage floating-point adder with a 10-ns delay per stage which equals
the pipeline clock period.
a. Name the appropriate functions to be performed by the four stages.
b. Find the minimum number of periods required to add 100 floating-point
numbers A1+A2+………….A100 using this pipeline adder, assuming that the
output Z of stage S4 can be routed back to either of the two inputs X or Y of
the pipeline with delays equal to a multiple of the clock period.
1 2 3 4 5 6
S1 X X
S2 X X
S3 X
S4 X
S5 X X
Deptt. of Comp. Sc. and Engg.
M.M.M. Engg. College, Gorakhpur-273010
Session: 2007-08
Course: B Tech
Subject: Advanced Computer
Architecture
Code : TCS-802
Tutorial-6
Q1. Explain the super scalar and super pipelined execution. Also give the performance of
such processor.
Q2. Explain multithreading. Differentiate among blocked, interleaved and simultaneous
multi threading.
Deptt. of Comp. Sc. and Engg.
M.M.M. Engg. College, Gorakhpur-273010
Session: 2007-08
Course: B Tech
Subject: Advanced Computer
Architecture
Code : TCS-802
Tutorial-7
Q1. Explain PRAM model. Also give its division into various categories based on the way
of simultaneous memory accesses.
Q2. Give the parallel algorithm that uses N X N processors arranged in mesh for matrix
multiplication.
Deptt. of Comp. Sc. and Engg.
M.M.M. Engg. College, Gorakhpur-273010
Session: 2007-08
Course: B Tech
Subject: Advanced Computer
Architecture
Code : TCS-802
Tutorial-8
Q1. Explain the Bidirectional Gaussian Elimination for solving a set of linear algebraic
equation.
Q2. Explain the following loop transformations
• Loop reversal
• Loop tiling
• Loop skewing
• Loop permutation
Deptt. of Comp. Sc. and Engg.
M.M.M. Engg. College, Gorakhpur-273010
Session: 2007-08
Course: B Tech
Subject: Advanced Computer
Architecture
Code : TCS-802
Tutorial-9
Q3. Explain the following terms associated with fast and efficient synchronization
schemes on a shared memory multiprocessor:
• Busy-wait verses sleep-wait protocol for sole access of a critical section.
• Lock mechanism for pre synchronization to achieve sole access of a critical
section.
• Post Synchronization method.
Q4. Discuss about run time library routines

Más contenido relacionado

La actualidad más candente

Advanced modeling techniques
Advanced modeling techniquesAdvanced modeling techniques
Advanced modeling techniquesdennis gookyi
 
Clock mesh sizing slides
Clock mesh sizing slidesClock mesh sizing slides
Clock mesh sizing slidesRajesh M
 
Verilog HDL Verification
Verilog HDL VerificationVerilog HDL Verification
Verilog HDL Verificationdennis gookyi
 
Datastage real time scenario
Datastage real time scenarioDatastage real time scenario
Datastage real time scenarioNaresh Bala
 
Area-Delay Efficient Binary Adders in QCA
Area-Delay Efficient Binary Adders in QCAArea-Delay Efficient Binary Adders in QCA
Area-Delay Efficient Binary Adders in QCAIJERA Editor
 
Vlsi interview questions compilation
Vlsi interview questions compilationVlsi interview questions compilation
Vlsi interview questions compilationRajesh M
 
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...IJERD Editor
 
An OpenCL Method of Parallel Sorting Algorithms for GPU Architecture
An OpenCL Method of Parallel Sorting Algorithms for GPU ArchitectureAn OpenCL Method of Parallel Sorting Algorithms for GPU Architecture
An OpenCL Method of Parallel Sorting Algorithms for GPU ArchitectureWaqas Tariq
 
Design of a high speed low power Brent Kung Adder in 45nM CMOS
Design of a high speed low power Brent Kung Adder in 45nM CMOSDesign of a high speed low power Brent Kung Adder in 45nM CMOS
Design of a high speed low power Brent Kung Adder in 45nM CMOSNirav Desai
 
GPU-Quicksort
GPU-QuicksortGPU-Quicksort
GPU-Quicksortdaced
 
Design and Analysis of Second and Third Order PLL at 450MHz
Design and Analysis of Second and Third Order PLL at 450MHzDesign and Analysis of Second and Third Order PLL at 450MHz
Design and Analysis of Second and Third Order PLL at 450MHzVLSICS Design
 
Hierachical structural modeling
Hierachical structural modelingHierachical structural modeling
Hierachical structural modelingdennis gookyi
 
Adaptive Ant Colony Optimization for Service Function Chaining in a Dynamic 5...
Adaptive Ant Colony Optimization for Service Function Chaining in a Dynamic 5...Adaptive Ant Colony Optimization for Service Function Chaining in a Dynamic 5...
Adaptive Ant Colony Optimization for Service Function Chaining in a Dynamic 5...Antonio Mora
 
Electrical Engineering Assignment Help
Electrical Engineering Assignment HelpElectrical Engineering Assignment Help
Electrical Engineering Assignment HelpEdu Assignment Help
 
Applying Ant Colony Optimization for Service Function Chaining in a 5G Networ...
Applying Ant Colony Optimization for Service Function Chaining in a 5G Networ...Applying Ant Colony Optimization for Service Function Chaining in a 5G Networ...
Applying Ant Colony Optimization for Service Function Chaining in a 5G Networ...Antonio Mora
 
Vlsi physical design
Vlsi physical designVlsi physical design
Vlsi physical designI World Tech
 
Lec9 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Memory part 1
Lec9 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Memory part 1Lec9 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Memory part 1
Lec9 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Memory part 1Hsien-Hsin Sean Lee, Ph.D.
 

La actualidad más candente (20)

Advanced modeling techniques
Advanced modeling techniquesAdvanced modeling techniques
Advanced modeling techniques
 
Clock mesh sizing slides
Clock mesh sizing slidesClock mesh sizing slides
Clock mesh sizing slides
 
Verilog HDL Verification
Verilog HDL VerificationVerilog HDL Verification
Verilog HDL Verification
 
Datastage real time scenario
Datastage real time scenarioDatastage real time scenario
Datastage real time scenario
 
Area-Delay Efficient Binary Adders in QCA
Area-Delay Efficient Binary Adders in QCAArea-Delay Efficient Binary Adders in QCA
Area-Delay Efficient Binary Adders in QCA
 
Vlsi interview questions compilation
Vlsi interview questions compilationVlsi interview questions compilation
Vlsi interview questions compilation
 
Pipeline
PipelinePipeline
Pipeline
 
Chenchu
ChenchuChenchu
Chenchu
 
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
 
Ramya Project
Ramya ProjectRamya Project
Ramya Project
 
An OpenCL Method of Parallel Sorting Algorithms for GPU Architecture
An OpenCL Method of Parallel Sorting Algorithms for GPU ArchitectureAn OpenCL Method of Parallel Sorting Algorithms for GPU Architecture
An OpenCL Method of Parallel Sorting Algorithms for GPU Architecture
 
Design of a high speed low power Brent Kung Adder in 45nM CMOS
Design of a high speed low power Brent Kung Adder in 45nM CMOSDesign of a high speed low power Brent Kung Adder in 45nM CMOS
Design of a high speed low power Brent Kung Adder in 45nM CMOS
 
GPU-Quicksort
GPU-QuicksortGPU-Quicksort
GPU-Quicksort
 
Design and Analysis of Second and Third Order PLL at 450MHz
Design and Analysis of Second and Third Order PLL at 450MHzDesign and Analysis of Second and Third Order PLL at 450MHz
Design and Analysis of Second and Third Order PLL at 450MHz
 
Hierachical structural modeling
Hierachical structural modelingHierachical structural modeling
Hierachical structural modeling
 
Adaptive Ant Colony Optimization for Service Function Chaining in a Dynamic 5...
Adaptive Ant Colony Optimization for Service Function Chaining in a Dynamic 5...Adaptive Ant Colony Optimization for Service Function Chaining in a Dynamic 5...
Adaptive Ant Colony Optimization for Service Function Chaining in a Dynamic 5...
 
Electrical Engineering Assignment Help
Electrical Engineering Assignment HelpElectrical Engineering Assignment Help
Electrical Engineering Assignment Help
 
Applying Ant Colony Optimization for Service Function Chaining in a 5G Networ...
Applying Ant Colony Optimization for Service Function Chaining in a 5G Networ...Applying Ant Colony Optimization for Service Function Chaining in a 5G Networ...
Applying Ant Colony Optimization for Service Function Chaining in a 5G Networ...
 
Vlsi physical design
Vlsi physical designVlsi physical design
Vlsi physical design
 
Lec9 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Memory part 1
Lec9 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Memory part 1Lec9 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Memory part 1
Lec9 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Memory part 1
 

Similar a Advanced Computer Architecture Tutorials

IRJET - High Speed Inexact Speculative Adder using Carry Look Ahead Adder...
IRJET -  	  High Speed Inexact Speculative Adder using Carry Look Ahead Adder...IRJET -  	  High Speed Inexact Speculative Adder using Carry Look Ahead Adder...
IRJET - High Speed Inexact Speculative Adder using Carry Look Ahead Adder...IRJET Journal
 
A study to Design and comparison of Full Adder using Various Techniques
A study to Design and comparison of Full Adder using Various TechniquesA study to Design and comparison of Full Adder using Various Techniques
A study to Design and comparison of Full Adder using Various TechniquesIOSR Journals
 
IRJET - Realization of Power Optimised Carry Skip Adder using AOI Logic
IRJET -  	  Realization of Power Optimised Carry Skip Adder using AOI LogicIRJET -  	  Realization of Power Optimised Carry Skip Adder using AOI Logic
IRJET - Realization of Power Optimised Carry Skip Adder using AOI LogicIRJET Journal
 
III EEE-CS2363-Computer-Networks-important-questions-for-unit-3-for-may-june-...
III EEE-CS2363-Computer-Networks-important-questions-for-unit-3-for-may-june-...III EEE-CS2363-Computer-Networks-important-questions-for-unit-3-for-may-june-...
III EEE-CS2363-Computer-Networks-important-questions-for-unit-3-for-may-june-...Selva Kumar
 
Solution manual for modern processor design by john paul shen and mikko h. li...
Solution manual for modern processor design by john paul shen and mikko h. li...Solution manual for modern processor design by john paul shen and mikko h. li...
Solution manual for modern processor design by john paul shen and mikko h. li...neeraj7svp
 
Full solution manual for modern processor design by john paul shen and mikko ...
Full solution manual for modern processor design by john paul shen and mikko ...Full solution manual for modern processor design by john paul shen and mikko ...
Full solution manual for modern processor design by john paul shen and mikko ...neeraj7svp
 
pipelining ppt.pdf
pipelining ppt.pdfpipelining ppt.pdf
pipelining ppt.pdfWilliamTom9
 
Fuzzy System Approach for TCSC Based Controller Design
Fuzzy System Approach for TCSC Based Controller DesignFuzzy System Approach for TCSC Based Controller Design
Fuzzy System Approach for TCSC Based Controller DesignIRJET Journal
 
IRJET- Design of Memristor based Multiplier
IRJET- Design of Memristor based MultiplierIRJET- Design of Memristor based Multiplier
IRJET- Design of Memristor based MultiplierIRJET Journal
 
Pretzel: optimized Machine Learning framework for low-latency and high throug...
Pretzel: optimized Machine Learning framework for low-latency and high throug...Pretzel: optimized Machine Learning framework for low-latency and high throug...
Pretzel: optimized Machine Learning framework for low-latency and high throug...NECST Lab @ Politecnico di Milano
 
IRJET- The RTL Model of a Reconfigurable Pipelined MCM
IRJET- The RTL Model of a Reconfigurable Pipelined MCMIRJET- The RTL Model of a Reconfigurable Pipelined MCM
IRJET- The RTL Model of a Reconfigurable Pipelined MCMIRJET Journal
 

Similar a Advanced Computer Architecture Tutorials (20)

IRJET - High Speed Inexact Speculative Adder using Carry Look Ahead Adder...
IRJET -  	  High Speed Inexact Speculative Adder using Carry Look Ahead Adder...IRJET -  	  High Speed Inexact Speculative Adder using Carry Look Ahead Adder...
IRJET - High Speed Inexact Speculative Adder using Carry Look Ahead Adder...
 
A study to Design and comparison of Full Adder using Various Techniques
A study to Design and comparison of Full Adder using Various TechniquesA study to Design and comparison of Full Adder using Various Techniques
A study to Design and comparison of Full Adder using Various Techniques
 
ca-ap9222-pdf
ca-ap9222-pdfca-ap9222-pdf
ca-ap9222-pdf
 
IRJET - Realization of Power Optimised Carry Skip Adder using AOI Logic
IRJET -  	  Realization of Power Optimised Carry Skip Adder using AOI LogicIRJET -  	  Realization of Power Optimised Carry Skip Adder using AOI Logic
IRJET - Realization of Power Optimised Carry Skip Adder using AOI Logic
 
Kai hwang solution
Kai hwang solutionKai hwang solution
Kai hwang solution
 
8th Semester Computer Science (2013-June) Question Papers
8th Semester Computer Science (2013-June) Question Papers8th Semester Computer Science (2013-June) Question Papers
8th Semester Computer Science (2013-June) Question Papers
 
III EEE-CS2363-Computer-Networks-important-questions-for-unit-3-for-may-june-...
III EEE-CS2363-Computer-Networks-important-questions-for-unit-3-for-may-june-...III EEE-CS2363-Computer-Networks-important-questions-for-unit-3-for-may-june-...
III EEE-CS2363-Computer-Networks-important-questions-for-unit-3-for-may-june-...
 
Solution manual for modern processor design by john paul shen and mikko h. li...
Solution manual for modern processor design by john paul shen and mikko h. li...Solution manual for modern processor design by john paul shen and mikko h. li...
Solution manual for modern processor design by john paul shen and mikko h. li...
 
Full solution manual for modern processor design by john paul shen and mikko ...
Full solution manual for modern processor design by john paul shen and mikko ...Full solution manual for modern processor design by john paul shen and mikko ...
Full solution manual for modern processor design by john paul shen and mikko ...
 
pipelining ppt.pdf
pipelining ppt.pdfpipelining ppt.pdf
pipelining ppt.pdf
 
Fuzzy System Approach for TCSC Based Controller Design
Fuzzy System Approach for TCSC Based Controller DesignFuzzy System Approach for TCSC Based Controller Design
Fuzzy System Approach for TCSC Based Controller Design
 
Nba lesson plan
Nba lesson planNba lesson plan
Nba lesson plan
 
7th Semester (June; July-2015) Computer Science and Information Science Engin...
7th Semester (June; July-2015) Computer Science and Information Science Engin...7th Semester (June; July-2015) Computer Science and Information Science Engin...
7th Semester (June; July-2015) Computer Science and Information Science Engin...
 
IRJET- Design of Memristor based Multiplier
IRJET- Design of Memristor based MultiplierIRJET- Design of Memristor based Multiplier
IRJET- Design of Memristor based Multiplier
 
Parallel Adder
Parallel Adder Parallel Adder
Parallel Adder
 
[IJCT-V3I2P17] Authors: Sheng Lai, Xiaohua Meng, Dongqin Zheng
[IJCT-V3I2P17] Authors: Sheng Lai, Xiaohua Meng, Dongqin Zheng[IJCT-V3I2P17] Authors: Sheng Lai, Xiaohua Meng, Dongqin Zheng
[IJCT-V3I2P17] Authors: Sheng Lai, Xiaohua Meng, Dongqin Zheng
 
Pretzel: optimized Machine Learning framework for low-latency and high throug...
Pretzel: optimized Machine Learning framework for low-latency and high throug...Pretzel: optimized Machine Learning framework for low-latency and high throug...
Pretzel: optimized Machine Learning framework for low-latency and high throug...
 
6th EC CBCS Model question papers
6th EC CBCS Model question papers6th EC CBCS Model question papers
6th EC CBCS Model question papers
 
IRJET- The RTL Model of a Reconfigurable Pipelined MCM
IRJET- The RTL Model of a Reconfigurable Pipelined MCMIRJET- The RTL Model of a Reconfigurable Pipelined MCM
IRJET- The RTL Model of a Reconfigurable Pipelined MCM
 
Resume
ResumeResume
Resume
 

Más de Royalzig Luxury Furniture

A Glimpse of Beautiful Hand-Carved Luxury Italian Furniture Photos from Royal...
A Glimpse of Beautiful Hand-Carved Luxury Italian Furniture Photos from Royal...A Glimpse of Beautiful Hand-Carved Luxury Italian Furniture Photos from Royal...
A Glimpse of Beautiful Hand-Carved Luxury Italian Furniture Photos from Royal...Royalzig Luxury Furniture
 
India's Luxury Furniture Brand Royalzig setting-Up a New Production Unit
India's Luxury Furniture Brand Royalzig setting-Up a New Production UnitIndia's Luxury Furniture Brand Royalzig setting-Up a New Production Unit
India's Luxury Furniture Brand Royalzig setting-Up a New Production UnitRoyalzig Luxury Furniture
 
Hand Carved Luxury & Designer Wooden arm chair
Hand Carved Luxury & Designer Wooden arm chairHand Carved Luxury & Designer Wooden arm chair
Hand Carved Luxury & Designer Wooden arm chairRoyalzig Luxury Furniture
 
Hand Carved Luxury & Designer Wooden Dining Table
Hand Carved Luxury & Designer Wooden Dining Table Hand Carved Luxury & Designer Wooden Dining Table
Hand Carved Luxury & Designer Wooden Dining Table Royalzig Luxury Furniture
 
Hand Carved Luxury & Designer Wooden sofa set
Hand Carved Luxury & Designer Wooden sofa setHand Carved Luxury & Designer Wooden sofa set
Hand Carved Luxury & Designer Wooden sofa setRoyalzig Luxury Furniture
 
Royalzig Hand Carved Luxury & Designer Wood Bed
Royalzig Hand Carved Luxury & Designer Wood BedRoyalzig Hand Carved Luxury & Designer Wood Bed
Royalzig Hand Carved Luxury & Designer Wood BedRoyalzig Luxury Furniture
 

Más de Royalzig Luxury Furniture (20)

A Glimpse of Beautiful Hand-Carved Luxury Italian Furniture Photos from Royal...
A Glimpse of Beautiful Hand-Carved Luxury Italian Furniture Photos from Royal...A Glimpse of Beautiful Hand-Carved Luxury Italian Furniture Photos from Royal...
A Glimpse of Beautiful Hand-Carved Luxury Italian Furniture Photos from Royal...
 
French Style Slim Carving Bedroom Sets
French Style Slim Carving Bedroom SetsFrench Style Slim Carving Bedroom Sets
French Style Slim Carving Bedroom Sets
 
India's Luxury Furniture Brand Royalzig setting-Up a New Production Unit
India's Luxury Furniture Brand Royalzig setting-Up a New Production UnitIndia's Luxury Furniture Brand Royalzig setting-Up a New Production Unit
India's Luxury Furniture Brand Royalzig setting-Up a New Production Unit
 
Luxury furniture manufacturer in india
Luxury furniture manufacturer in indiaLuxury furniture manufacturer in india
Luxury furniture manufacturer in india
 
bone inlay hand carved luxury table
bone inlay hand carved luxury table bone inlay hand carved luxury table
bone inlay hand carved luxury table
 
Hand Carved Luxury & Designer Wooden arm chair
Hand Carved Luxury & Designer Wooden arm chairHand Carved Luxury & Designer Wooden arm chair
Hand Carved Luxury & Designer Wooden arm chair
 
beautiful hand carved dressing table
beautiful hand carved dressing table  beautiful hand carved dressing table
beautiful hand carved dressing table
 
Hand Carved Luxury & Designer Wooden Dining Table
Hand Carved Luxury & Designer Wooden Dining Table Hand Carved Luxury & Designer Wooden Dining Table
Hand Carved Luxury & Designer Wooden Dining Table
 
Hand Carved Luxury & Designer Wooden sofa set
Hand Carved Luxury & Designer Wooden sofa setHand Carved Luxury & Designer Wooden sofa set
Hand Carved Luxury & Designer Wooden sofa set
 
Royalzig Hand Carved Luxury & Designer Wood Bed
Royalzig Hand Carved Luxury & Designer Wood BedRoyalzig Hand Carved Luxury & Designer Wood Bed
Royalzig Hand Carved Luxury & Designer Wood Bed
 
hand carved luxury wedding throne
hand carved luxury wedding thronehand carved luxury wedding throne
hand carved luxury wedding throne
 
Hand carved Luxury wood divan
Hand carved Luxury wood divanHand carved Luxury wood divan
Hand carved Luxury wood divan
 
Royalzig luxury furniture
Royalzig luxury furnitureRoyalzig luxury furniture
Royalzig luxury furniture
 
Royalzigppt 004
Royalzigppt 004Royalzigppt 004
Royalzigppt 004
 
Royalzig high end furniture
Royalzig high end furnitureRoyalzig high end furniture
Royalzig high end furniture
 
Royalzigppt 002
Royalzigppt 002Royalzigppt 002
Royalzigppt 002
 
Transcript
TranscriptTranscript
Transcript
 
Topdown parsing
Topdown parsingTopdown parsing
Topdown parsing
 
Syntaxdirected
SyntaxdirectedSyntaxdirected
Syntaxdirected
 
Run time
Run timeRun time
Run time
 

Último

ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
Integumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptIntegumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptshraddhaparab530
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Dust Of Snow By Robert Frost Class-X English CBSE
Dust Of Snow By Robert Frost Class-X English CBSEDust Of Snow By Robert Frost Class-X English CBSE
Dust Of Snow By Robert Frost Class-X English CBSEaurabinda banchhor
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmStan Meyer
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
Millenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptxMillenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptxJanEmmanBrigoli
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Presentation Activity 2. Unit 3 transv.pptx
Presentation Activity 2. Unit 3 transv.pptxPresentation Activity 2. Unit 3 transv.pptx
Presentation Activity 2. Unit 3 transv.pptxRosabel UA
 
TEACHER REFLECTION FORM (NEW SET........).docx
TEACHER REFLECTION FORM (NEW SET........).docxTEACHER REFLECTION FORM (NEW SET........).docx
TEACHER REFLECTION FORM (NEW SET........).docxruthvilladarez
 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataBabyAnnMotar
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 

Último (20)

ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
Integumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptIntegumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.ppt
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Dust Of Snow By Robert Frost Class-X English CBSE
Dust Of Snow By Robert Frost Class-X English CBSEDust Of Snow By Robert Frost Class-X English CBSE
Dust Of Snow By Robert Frost Class-X English CBSE
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and Film
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptxINCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
 
Millenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptxMillenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptx
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
Presentation Activity 2. Unit 3 transv.pptx
Presentation Activity 2. Unit 3 transv.pptxPresentation Activity 2. Unit 3 transv.pptx
Presentation Activity 2. Unit 3 transv.pptx
 
TEACHER REFLECTION FORM (NEW SET........).docx
TEACHER REFLECTION FORM (NEW SET........).docxTEACHER REFLECTION FORM (NEW SET........).docx
TEACHER REFLECTION FORM (NEW SET........).docx
 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped data
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 

Advanced Computer Architecture Tutorials

  • 1. Deptt. of Comp. Sc. and Engg. M.M.M. Engg. College, Gorakhpur-273010 Session: 2007-08 Course: B Tech Subject: Advanced Computer Architecture Code : TCS-802 Tutorial-1 Q1. Give various architectural classification schemes. Also discuss the Flynn’s and Shore’s classification in detail. Q2. Explain how instruction set, compiler technology, CPU performance and justify the effects in terms of program length, clock rate, and effective CPI.
  • 2. Deptt. of Comp. Sc. and Engg. M.M.M. Engg. College, Gorakhpur-273010 Session: 2007-08 Course: B Tech Subject: Advanced Computer Architecture Code : TCS-802 Tutorial-2 Q1. A workstation uses a 15-MHz processor with a claimed 10-MIPS rating to execute a given program mix. Assume a one-cycle delay for each memory access. a. What is the effective CPI of this computer? b. Suppose the processor is being upgraded with 30-MHz clock. However, the speed of the memory subsystem remains unchanged, and consequently two clock cycles are needed per memory access. If 30% of the instructions require one memory access and another 5% require two memory accesses per instruction, what is the performance of the upgraded processor with a compatible set and equal instruction counts in the given program mix. Q2. Consider the execution of an object code with 200,000 instructions on a 40- MHz processor. The program consists of four major types of instructions. The instruction mix and the number of cycles (CPI) needed for each instruction type are given below based on the result of a program trace experiment: a. Calculate the average CPI when the program is executed on a uniprocessor with the above trace results. b. Calculate the corresponding MIPS rate based on the CPI obtained in part (a) Instruction type CPI Instruction mix Arithmetic and logic 1 60% Load/store with cache hit 2 18% Branch 4 12% Memory reference with cache miss 8 10%
  • 3. Deptt. of Comp. Sc. and Engg. M.M.M. Engg. College, Gorakhpur-273010 Session: 2007-08 Course: B Tech Subject: Advanced Computer Architecture Code : TCS-802 Tutorial-3 Q1. Define the fallowing terms related to parallelization and dependence relation. a. Computational Granularity b. Communication latency c. Flow dependence d. Anti dependence e. Output dependence f. I/O dependence g. Control dependence h. Resource dependence i. Bernstein Condition j. Degree of parallelism Q2. Analyze the data dependences among the following statements in a given program: Where (Ri) means the content of register Ri and Memory (10) contains 64 initially. a. Draw a dependence graph to show all the dependences. b. Are there any resource dependences if only one copy of each functional unit is available in the CPU? c. Repeat the above for the following program statements: S1: Load R1, 1024 /R1←1024/ S2: Load R2, M(10) /R2← Memory (10)/ S3: Add R1, R2 /R1← (R1) + (R2)/ S4: Store M (1024), R1 / Memory (1024) ← (R1)/ S5: Store M ((R2)), 1024 / Memory (64) ←1024/ S1: Load R1, M (100) /R1← Memory (100)/ S2: Move R2, R1 /R2← (R1)/ S3: Inc R1 /R1← (R1) + 1/ S4: Add R2, R1 / R2← (R2) + R1/ S5: Store M (100), R1 / Memory (100) ←(R1)/
  • 4. Deptt. of Comp. Sc. and Engg. M.M.M. Engg. College, Gorakhpur-273010 Session: 2007-08 Course: B Tech Subject: Advanced Computer Architecture Code : TCS-802 Tutorial-4 Q1. Consider the execution of a program of 15,000 instructions by a linear pipeline processor with a clock rate of 25 MHz.Assume that the instruction pipeline has five stages and that one instruction and out-of-sequence executions are ignored. a. Calculate the speedup factor in using this pipeline to execute the program as compared with the use of an equivalent nonpipelined processor with an equal amount of flow-through delay. b. What are the efficiency and throughput of this pipelined processor? Q2. Consider the following reservation table for a four-stage pipeline with a clock cycle τ= 20 ns. a. What are the forbidden latencies and the initial collision vector? b. Draw the state transition diagram for scheduling the pipeline. c. Determine the MAL associated with the shortest greedy cycle. d. Determine the pipeline throughput corresponding to the MAL and given τ. e. Determine the lower bound on the MAL for this pipeline. Have you obtained the optimal latency from the above state diagram? 1 2 3 4 5 6 S1 X X S2 X X S3 X S4 X
  • 5. Deptt. of Comp. Sc. and Engg. M.M.M. Engg. College, Gorakhpur-273010 Session: 2007-08 Course: B Tech Subject: Advanced Computer Architecture Code : TCS-802 Tutorial-5 Q1. Consider the five-stage pipelined processor specified by the following reservation table: a. List the set of forbidden latencies and all the collision vector. b. Draw a state transition diagram showing all possible initial sequences (cycles) without causing a collision in the pipeline. c. List all the simple cycles from the state diagram. d. Identify the greedy cycles among the simple cycles. e. What is the minimum average latency (MAL) of this pipeline? f. What is the minimum average latency (MAL) of this pipeline? g. What will be the maximum throughput of this pipeline? h. What will be the throughput if the minimum constant cycle is used? Q2. Consider a four–stage floating-point adder with a 10-ns delay per stage which equals the pipeline clock period. a. Name the appropriate functions to be performed by the four stages. b. Find the minimum number of periods required to add 100 floating-point numbers A1+A2+………….A100 using this pipeline adder, assuming that the output Z of stage S4 can be routed back to either of the two inputs X or Y of the pipeline with delays equal to a multiple of the clock period. 1 2 3 4 5 6 S1 X X S2 X X S3 X S4 X S5 X X
  • 6. Deptt. of Comp. Sc. and Engg. M.M.M. Engg. College, Gorakhpur-273010 Session: 2007-08 Course: B Tech Subject: Advanced Computer Architecture Code : TCS-802 Tutorial-6 Q1. Explain the super scalar and super pipelined execution. Also give the performance of such processor. Q2. Explain multithreading. Differentiate among blocked, interleaved and simultaneous multi threading.
  • 7. Deptt. of Comp. Sc. and Engg. M.M.M. Engg. College, Gorakhpur-273010 Session: 2007-08 Course: B Tech Subject: Advanced Computer Architecture Code : TCS-802 Tutorial-7 Q1. Explain PRAM model. Also give its division into various categories based on the way of simultaneous memory accesses. Q2. Give the parallel algorithm that uses N X N processors arranged in mesh for matrix multiplication.
  • 8. Deptt. of Comp. Sc. and Engg. M.M.M. Engg. College, Gorakhpur-273010 Session: 2007-08 Course: B Tech Subject: Advanced Computer Architecture Code : TCS-802 Tutorial-8 Q1. Explain the Bidirectional Gaussian Elimination for solving a set of linear algebraic equation. Q2. Explain the following loop transformations • Loop reversal • Loop tiling • Loop skewing • Loop permutation
  • 9. Deptt. of Comp. Sc. and Engg. M.M.M. Engg. College, Gorakhpur-273010 Session: 2007-08 Course: B Tech Subject: Advanced Computer Architecture Code : TCS-802 Tutorial-9 Q3. Explain the following terms associated with fast and efficient synchronization schemes on a shared memory multiprocessor: • Busy-wait verses sleep-wait protocol for sole access of a critical section. • Lock mechanism for pre synchronization to achieve sole access of a critical section. • Post Synchronization method. Q4. Discuss about run time library routines