Docsity

Zigbee Datagram - Embedded Systems - Exam, Exams of Embedded Systems

Toggle sidebar
bg1
CORK INSTITUTE OF TECHNOLOGY
INSTITIÚID TEICNEOLAÍOCHTA CHORCAÍ
Semester 1 Examinations 2011/12
Module Title: Embedded Software for Networking
Module Code: ELTR9015
School: Electronic and Electrical Engineering
Programme Title: MEng in Embedded Systems Engineering
Programme Code: EMBED_9_Y5
External Examiner(s): Dr D. Heffernan, Mr M. Kelleher, Mr D. O’Connell
Internal Examiner(s): Mr Fergus O’Reilly
Instructions: Answer THREE questions
Duration: 2 Hours
Sitting: Winter 2011/12
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

Partial preview of the text

Download Zigbee Datagram - Embedded Systems - Exam and more Exams Embedded Systems in PDF only on Docsity!

CORK INSTITUTE OF TECHNOLOGY

INSTITIÚID TEICNEOLAÍOCHTA CHORCAÍ

Semester 1 Examinations 2011/

Module Title: Embedded Software for Networking

Module Code: ELTR

School: Electronic and Electrical Engineering

Programme Title: MEng in Embedded Systems Engineering

Programme Code: EMBED_9_Y

External Examiner(s): Dr D. Heffernan, Mr M. Kelleher, Mr D. O’Connell

Internal Examiner(s): Mr Fergus O’Reilly

Instructions: Answer THREE questions

Duration: 2 Hours

Sitting: Winter 2011/

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, providing examples, the “reserved/locking” and “unreserved/non-locking” models of Source/Version Control/ Configuration Management. 10 marks

(b) Embedded Linux, Embedded Windows, Proprietary OSes e,g, VxWorks and custom code all provide software platforms for embedded hardware devices. Outline how the range of hardware platforms from complex to simple and power sources affect the choice of software platform.

10 marks

(c) Outline the differences between straight compilation and cross compilation with regard to tool-chains and tool-chain setup. Give an example of each. 6 marks

How can the build of a complex project be managed so that only modified sections of the code and libraries are rebuilt to create a new update. Provide an example of one command line utility, providing a config file example, to explain these features. 8 marks

Q 2 (a) Java and Java ME provide a flexible range of programming environments depending on usage. Using diagrams show the relationships between Java SE, Java ME, CDC, CLDC and MIDP. 14 marks

(b) Using a lifecycle diagram, show how the life of a Java ME application, differs from that of a standard Java SE application. 10 marks

(c) Figure 1 shows a simple “Hello World” example of a Java ME programme. Identify the features in this code sample:

(i) Identify it as a Java ME MIDP programme. (ii) Show it follows the standard JME lifecycle. (iii) Shows that it is designed to receive user input. 10 marks

Q 3 (a) Communication within Java ME is achieved through URL structures. Provide Java ME code examples of URL structures and their programming set-up for communication. What feature of the language allows this coherent approach to networking? 8 marks

(b) Provide examples of initiating and operating communications in Java ME for two (2) of the following. In your answer include code for both data set-up and data transfer and the closing of communications.

 Bluetooth Data Transfer

 SMS Message Sending

 Zigbee Datagram

(2 x 13 marks)