Docsity

Sequence Diagrams - Design for Electronics - Exam, Exams of Electronics

Toggle sidebar
bg1
CORK INSTITUTE OF TECHNOLOGY
INSTITIÚID TEICNEOLAÍOCHTA CHORCAÍ
Semester 2 Examinations 2008/09
Module Title: 00 Design for Electronics
Module Code: ELTR 8018
School: Electrical & Electronic Engineering
Programme Title: Bachelor of Engineering (Honours) in Electronic Systems
Engineering - Award
Programme Code: EELES_8_Y4
External Examiner(s): Mr. David Denieffe and Dr. Paula O Sullivan
Internal Examiner(s): Mr. F. O’Reilly
Instructions: Answer any THREE questions.
All questions carry equal marks
Duration: 2 Hours
Sitting: Summer 2009
Requirements for this examination:
Note to Candidates: Please check the Programme Title and the Module Title to ensure
that you have received the correct examination paper.
If in doubt please contact an Invigilator.
pf3
pf4

Partial preview of the text

Download Sequence Diagrams - Design for Electronics - Exam and more Exams Electronics in PDF only on Docsity!

CORK INSTITUTE OF TECHNOLOGY

INSTITIÚID TEICNEOLAÍOCHTA CHORCAÍ

Semester 2 Examinations 2008/

Module Title: 00 Design for Electronics

Module Code: ELTR 8018

School: Electrical & Electronic Engineering

Programme Title: Bachelor of Engineering (Honours) in Electronic Systems Engineering - Award

Programme Code: EELES_8_Y

External Examiner(s): Mr. David Denieffe and Dr. Paula O Sullivan Internal Examiner(s): Mr. F. O’Reilly

Instructions: Answer any THREE questions. All questions carry equal marks

Duration: 2 Hours Sitting: Summer 2009

Requirements for this examination:

Note to Candidates: Please check the Programme Title and the Module Title to ensure that you have received the correct examination paper. If in doubt please contact an Invigilator.

Q1 (a) Compare and contrast the Waterfall and Iterative Refinement models of software development. Provide examples/project type where each may be useful. [8 marks]

(b) Categorise the following requirements into Functional and non-Functional for an ATM system interface. You can use the reference numbers to speed your answer. (1) The Interface should be useable by customers with a reading age of 12 (2) The ATM machine must validate the account with the PIN before starting the transaction. (3) Balance Checks, Cash Withdrawls and Bill Payments should be presented as options to customers. (4) Service Documentation, describing re-loading, upgrading and standard problems is provided. (5) If a customer fails to complete a transaction in 2 minutes the card is swallowed. [5 marks]

Choose one of the following specification approaches to describe the requirements of an ATM transaction and describe a standard cash withdrawl with it. Decision Table, Data Flow model, FlowChart, Pseudo Code, State Transition Diagram [8 marks]

(c) Batch Processing Systems, Web Interfaces with CGI /Java Scripts, Distributed Forwarding Protocols and Embedded Real time Systems are four architectural choices. For the following applications choose what you think is the most appropriate architecture explaining your choice briefly.

ƒ CIT student record system which allows real-time lookup ƒ MP3 Music Player with radio interface. ƒ Phone Bill Generation Software ƒ E-mail system for use between remote African villages. [13 marks] [Total: 34 marks]

Q

(a) Draw a UML class diagram to model a range of automobiles. This model may be used in an internet based driving game. The main elements of an automobile which interact are:

  • Body
  • 4 Driving Wheels
  • Engine & Engine Management System
  • Fuel Tank with a petrol gauge.
  • 2 or 4 Seats depending on the car.
  • 1 - 4 passengers in the car
  • Driving Controls (Steering Wheel, Pedals, gear Control) [16 marks] (b) You have been asked to specify the sequence of interactions that should occur when a customer in shop presents a credit/laser card for purchase of some goods. The card is wiped on the counter swipe machine and the amount entered by the till operator. The details are transmitted by phone line to a transaction processing system, which checks with a stolen register for stolen cards. If the card is valid the amount is checked with the accounting system to ensure it remains within the credit limit. If so the amount is debited and instructions issued to the transaction centre to complete the transaction. The sale docket is printed out in the shop which the till operator then hands to the customer. If the transaction does not complete within 60 seconds the swipe machine terminates it.

Draw a Message Sequence Chart to represent this sequence of interactions. Show what object you think are involved, the communications made, return possibilities at the different stages and lifetimes. Explain which interactions you believe should be synchronous and which ones should be asynchronous. (18 marks) [Total: 34 marks]