Docsity

Von Neumann machine architecture - Computer Engineering - Exam, Exams of Computer Science

Toggle sidebar
bg1
Cork Institute of Technology
Bachelor of Engineering (Honours) in Electronic Engineering – Award
Bachelor of Engineering in Electronic Engineering – Award
(NFQ – Level 8)
Autumn 2005
Computer Engineering
(Time: 3 Hours)
Answer any two questions from Section A
[50 marks] and any two questions from
Section B [50 marks]
Maximum available marks is 100.
Examiners: Mr. Fergus O’Reilly
Dr. Dirk Pesch
Prof. Cyril Burkley
Mr. John Ryan
Section A
Answer two (2) questions from this section.
Q1 (a) List three fundamental principles of a Von Neumann machine architecture. Explain the
benefits they bring and how/where these have appeared in the modern
computer/programming model. [6 marks ]
(b) Explain how pipelining can create difficulties in memory access in a Von Neumann
machine and how this can be tackled effectively. How is this solution implemented in
modern micro-processors, (give examples).?
[ 6 marks ]
(c) A and B are two sample vectors holding 1,000,000 elements each. C is the dot product of
these two vectors( BAC •= ) which is calculated as follows.
∑
=
=000,1000
0
)()(
k
kBkAC
Using pseudo code provide an algorithm which can execute on a parallel processing
machine which has 1000 nodes and will calculate the dot product above. You should
describe the distribution, calculation and final recombination.
[ Total: 13 marks ]
[ Total: 25 marks]
pf3
pf4
pf5

Partial preview of the text

Download Von Neumann machine architecture - Computer Engineering - Exam and more Exams Computer Science in PDF only on Docsity!

Cork Institute of Technology

Bachelor of Engineering (Honours) in Electronic Engineering – Award

Bachelor of Engineering in Electronic Engineering – Award

(NFQ – Level 8)

Autumn 2005

Computer Engineering

(Time: 3 Hours)

Answer any two questions from Section A [50 marks] and any two questions from Section B [50 marks]

Maximum available marks is 100.

Examiners: Mr. Fergus O’Reilly Dr. Dirk Pesch Prof. Cyril Burkley Mr. John Ryan

Section A

Answer two (2) questions from this section.

Q1 (a) List three fundamental principles of a Von Neumann machine architecture. Explain the benefits they bring and how/where these have appeared in the modern computer/programming model. [6 marks ]

(b) Explain how pipelining can create difficulties in memory access in a Von Neumann machine and how this can be tackled effectively. How is this solution implemented in modern micro-processors, (give examples).? [ 6 marks ]

(c) A and B are two sample vectors holding 1,000,000 elements each. C is the dot product of these two vectors( C = A • B ) which is calculated as follows.

=

1000 , 000

0

k

C Ak Bk

Using pseudo code provide an algorithm which can execute on a parallel processing machine which has 1000 nodes and will calculate the dot product above. You should describe the distribution, calculation and final recombination. [ Total:13 marks ]

[ Total: 25 marks]

Q2 (a) Flynn’s Taxonomy describes four (4) machine types, what are these, briefly describing

each and their use. [ 8 marks ]

(b) Describe using diagrams how a paged based memory management system can translate a virtual space of 4096MB (32 bit) into a physical space of 512 MB (29 bits). Take into account that the average active code/data block is 512 KB in size for this system. [10 marks] (c) Explain briefly what a process/task is. Draw a process state diagram, explain briefly the states in it, how one process follows it and the performance costs of managing/transferring between multiple processes. [ 7 marks] [ Total: 25 marks]

Q3 (a) Describe briefly, using diagrams where appropriate, the following.

  • Control Hazards and solutions
  • Superscalar Execution, benefits and assisting techniques.
  • The Grand Challenges of Computing (listing 3 thereof)
  • The System Performance Evaluation Co-operative and its proposals. [12 marks] (b) 3 Tap FIR filter can be described using the following equation.

=

2

0

k

y n xn k hk

where x is the sample value and h the co-efficient.

Show how this FIR filter can be represented using a 2-D data dependence graph and subsequently convert this into a 1-D Systolic Array processor. Show the inputs, outputs and all necessary timing information in the finished processor. [6 marks]

Show initially how this would extend to a 5 tap filter. When the filter coefficients h(n) for a particular 5 tap application are calculated, it works out that odd coefficients ( h(1), h(3) ) have zero value. Show what effects this might have on the data dependence graph and derive efficiencies in the final 5 tap design. [ 7 marks ]

[ Total: 25 marks ]

(c) The input to a router in a computer network is an aggregate data packet stream that can be modelled by a Poisson process with arrival rate λ = 20 packets/sec. The length of the data packets is exponentially distributed with mean L = 512 bytes. (i) Assume that the router has m = 5 output lines of data rate R = 24 kbit/s each. Calculate the probability that arriving packets have to queue before transmission. (ii) Assume that the four output lines are now combined into a single output line of data rate R = 120 kb/s. Also for this case calculate the probability that an arriving packet has to queue. [10 marks]

Q6. (a) A transmission system, comprising of a single transmission line and a multiplexer, is shared among 8 computer systems. Data packets of a fixed size of 256bytes are generated by each computer systems according to a Poisson process with rate λ = 0.75/sec. The multiplexer aggregates the packet streams coming from the computer systems and transmits data at 6 different data rates; rate R 1 = 4.8kbit/s is available 10% of the time, rate R 2 = 9.6kbit/s, 20% of the time, rate R 3 = 19.2kbit/s, 25% of the time, rate R 4 = 28.8kbit/s, 25% of the time, rate R 5 = 56kbit/s, 10% of the time, and rate R 6 = 64kbit/s is available 10% of the time. (i) Calculate the throughput of the system. (ii) Calculate the average delay data packets experience in the multiplexer before transmission. (iii) What single data rate would be required for the output line of the multiplexer if the packet size was exponentially distributed with mean size of 256bytes and the arrival rate/process was as before? [10 marks] (b) List three elements that form part of a routing algorithm and give an example for each element with regard to the implementation of the algorithm. [6 marks] (c) Using Dijkstra’s algorithm, develop the least-cost routing table for source node 5 for the network of 8 nodes shown in Figure 1. The link costs are valid in both directions. In your answer also provide the least cost with each route between the source node and any other node. [9 marks]

2

2

2

6

3 3

1 1

3 3 3 2

1

1

Figure 1