Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Electronic Engineering Exam Questions: Bachelor of Engineering (Honours) at CIT, Exams of Computer Science

Exam questions for the bachelor of engineering (honours) in electronic engineering degree program at cork institute of technology. The questions cover topics such as interconnection networks, vector processors, memory management systems, matrix vector multiplication, and error detection. Students are required to answer questions from various sections, including section a and section b, and are given specific marks for each question. The exam lasts for 3 hours and is overseen by several examiners.

Typology: Exams

2012/2013

Uploaded on 03/30/2013

lallit
lallit 🇮🇳

4

(29)

134 documents

1 / 7

Toggle sidebar

Related documents


Partial preview of the text

Download Electronic Engineering Exam Questions: Bachelor of Engineering (Honours) at CIT and more Exams Computer Science in PDF only on Docsity! Cork Institute of Technology Bachelor of Engineering (Honours) in Electronic Engineering Award National Framework of Qualifications – Level 8 January 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 are 100. Examiners: Mr. Fergus O’Reilly Dr. Dirk Pesch Prof. Cyril Burkley Mr. John Ryan Section A Q1 (a) You have been assigned the task of evaluating an interconnection network, which might extend from 100 to 1000 processing nodes. Calculate the complexity (total number of switches) of both a Cross-bar and Omega network for this task. [6 marks] (b) Vector processors provide for high performance vector operations. What are the advantages of vector processors and explain why these are suitable for execution in array architectures? [6 marks] (c) You have been asked to devise an algorithm to compute the following calculation across a floating point vector A with 500,000 elements. You have available a Private Memory system with 250 processor nodes. 2 000,500 1 2 ])000,500[(])[( xAxAy x −= ∑ = Develop an algorithm using pseudo code or pseudo C code which could execute on one of these processor nodes. Describe the partitioning of the problem, the data distribution over the system and provide the code to achieve the communication between the nodes to calculate the final result. [13 marks] [Total: 25 marks] 2 Q2 (a) Using diagrams describe how a high-end server type machine, with 4 commodity 32 bit processors (4GB or 32 bit of address space) (e.g. Pentium Xeon or Power PC), would typically be organised, for good flexibility and performance. It will have 4 GB RAM. State and justify the memory models used. If you wished to scale this to 64 processors with a maximum of 64 GB RAM, describe an appropriate organisation, stating why any changes you might make? [8 marks] (b) Describe using diagrams how a paged based memory management system can translate a virtual space of 1024MB (30 bit) into a physical space of 64 MB (26 bits). Take into account that the average active code/data block is 256 KB in size for this system. [10 marks] (c) For Massive Parallel Systems, scalability is of major importance. Using work and efficiency curves describe your understanding of it and how it relates to efficiency for Constant, Sub- Linear, Linear and Exponential work-loads. What are the boundaries on scalability and how do these affect algorithm design? [7 marks] [Total: 25 marks] Q3 (a) A 800MHz CPU core, has a 5 stage instruction fetch/decode queue. Branches in code occurs with a 20 % frequency and impose a 4 cycle bubble. All other instructions execute with a CPI of 1. To improve performance a branch prediction unit is proposed. This will require reducing the clock rate to 600 MHz but will be able to predict 90% of branches with no-penalty, mis-prediction will impose a 7 cycle flush/re-load penalty. Calculate whether it is worthwhile adding the branch-prediction unit. [8 marks] (b) A new machine running the SPECfp suite achieves the following execution times in seconds, in comparison with a Sun 10/40. Determine the new machine’s SPECfp figure. Program New Machine Sun 10/40 hydro2d 1.6 5.7 su2cor 3.4 6.2 swim 20.1 67.2 tomcatv 6.3 12.6 wave5 6.1 20.6 mgrid 23.6 100.2 applu 5.8 12.3 turb3d 19.7 90.3 apsi 97.8 400.0 fpppp 45.9 98.2 What is the sister benchmark to SPECfp and what does it measure, give 2 examples of its programs? [7 marks] 5 Q5. (a) Two data packet sources generate packets into a transmission system with a single queue according to a Poisson process with rates λ1 = 5/sec and λ2 = 10/sec. Packets are exponentially distributed with packets of the first source having length L1 = 8750bit and packets of the second source having length L2 = 5250bit. The transmission system has a single output transmission line with data rate R = 256kb/s. (i) Determine the mean number of packets in the system. (ii) Determine the mean time packets are waiting in the system’s queue before transmission. [9 marks] (b) Consider a LAN with a large number of PCs each running a database client application and a single database server. The server receives 24 database queries per minute during normal operation according to a Poisson process. The database requires 0.8 seconds on average to process a query. The processing time is exponentially distributed. Assume that access and transmission delays on the LAN are negligible. (i) Calculate the total time each user has to wait until she receives a reply to her query using a suitable queuing model. (ii) By what percentage does the average query processing time need to be decreased in order to maintain the delay calculated in part i) of the question when queries are received at a rate of 44 per minute? [7 marks] (c) A transmission system, comprising of a single wireless transmission link and a multiplexer, is shared among 8 computer systems. Data transmission is protected by an ARQ error correction scheme. Each computer generates fixed size data packets of size 512bytes according to a Poisson process with rate λ = 0.5/sec. Depending on the error rate on the wireless link, the transmission system provides effectively 5 different data rates, Ri, i = 1, …, 5 as follows: R1 = 6.3kbit/s for 10% of the time, R2 = 10.8kbit/s, 15% of the time, R3 = 37.3kbit/s, 25% of the time, R4 = 56.5kbit/s, 20% of the time, and rate R5 = 71.1kbit/s, 30% 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 wireless link in order to maintain the same average delay if the packet size was exponentially distributed with mean 512bytes? [9 marks] 6 Q6. (a) The input to a multiplexer in a computer network is a data packet stream that can be modelled by a Poisson process with arrival rate λ= 100 packets/sec. The length of the data packets is exponentially distributed with mean L = 1024bytes. (i) Assume that the router has m = 8 output lines of data rate R = 128kbit/s each. Calculate the probability that arriving packets have to queue before transmission. (ii) Assume that the 8 output lines are now combined into a single output line of data rate R = 1.024Mb/s. Also for this case calculate the probability that an arriving packet has to queue. [9 marks] (b) With the help of a diagram explain the trade-off between the size of a packet header and payload, and packet transmission time for a three node transmission path in a packet-switched computer network such as the Internet. [7 marks] (c) Using the Bellman-Ford algorithm, develop the least-cost routing table for source node 5 for the network of 8 nodes shown in Figure 2. 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 1 2 5 2 4 3 6 7 8 2 6 3 3 1 1 3 3 3 2 1 1 Figure 2 7 NOTE: Some formulae you might find useful in answering questions 4, 5, and 6. ion time transmissframe delayn propagatio signal =a Stop-and-wait ARQ Go-back-N ARQ Selective-repeat ARQ 12 +> aN aP PU 21 1 + − = PU −=1 12 +< aN a PU 21 1 + − = ( )( )( )NPPa PNU +−+ − = 112 1 ( ) 12 1 + − = a PNU Little’s theorem: TA λ= and WAQ λ= M/M/1/∞ Queuing System: state probability of Markov chain ( ) iip ρρ−= 1 ρ ρ − = 1 A , µ λρ = M/M/m/∞ Queuing system: ρ ρ − = 1QQ PA and ρ ρρ − += 1Q PmA Probability of queuing in M/M/m: ( )( )ρ ρ − = 1!0 m mpP m Q , where ( ) ( ) ( )     − += ∑ − = 1 0 0 1!! 1 m i mi m m i mp ρ ρρ and µ λρ m = Pollazcek-Khinchine formula: ( )X XW λ λ − = 12 2 and WXT += with ( )∑ ∞ = = 0k kk XPXX and ( )k k k XPXX ∑ ∞ = = 0 2 The solutions of the quadratic equation 02 =++ cbxax are a acbbx 2 42 2,1 −±− =
Docsity logo



Copyright © 2024 Ladybird Srl - Via Leonardo da Vinci 16, 10126, Torino, Italy - VAT 10816460017 - All rights reserved