embedded question paper

6
w jPage 1 of 2) TE 62 a JU Vi rf B . E. Degree (Autono mous) Fifth Semest er End Examinati on (SEE) , JUNE 2013 EMBEDDED SYSTEM DE SIGN (Model Question Paper-2) Time: 3 Hours ] 1 . [ Maximum Marks: 100 Instructions to students: 1 . Answer FIVE FULL questions. 2 . Answer ANY ONE from Question No. 4 and 5 3 . Question No. 1 , 2,3 are COMPULSORY 4 . Answer ANY ONE from Question No. 6 and 7 What is the ' Market Window ' and why is it so im portant for products to reach the a) market early in this window? |6 marks] List and define the 3 main processor technologies. What are the benefits of using each of [6 marks| b) the 3 different processor technologies? c) Explain how the top-down design process improves the productivity. [8 Marks] 2 . a) Develop an efficient algorithm for GCD, convert it to FSMD and show the [10 Marks] optimized FSMD. b) What is a single - purpose processor? What are the benefits of choosing a single purpose processor over a general purpose processor? ] 10 Marks] 3 . a) Compute the hexadecimal value that need to be loaded onto duty cyc le register of 8-bit PWM module in order to run the motor at a speed of 8050rpm,which needs 4.375 volts. Marks] b) Describe the working of PWM unit with timing diagrams. How can it be used for speed control of DC motor? Marks] c) Briefly explain OTPROM,EEPROM, RDRAM,and FPM DRAM. ]8 Marks| Dr. Ambedkar Institute of Technology, Bengaluru - 560 056 (An Autonomous Institution Affiliated to Visvesvaraya Technologica l University, Belgaum

description

Dr.Ait

Transcript of embedded question paper

Page 1: embedded question paper

w

jPage 1 of 2)

TE 62a JU Virf

B. E. Degree (Autonomous) Fifth Semester End Examination (SEE), JUNE 2013

EMBEDDED SYSTEM DESIGN

(Model Question Paper-2)Time: 3 Hours ]

1.

[ Maximum Marks: 100

Instructions to students:1

. Answer FIVE FULL questions.

2. Answer ANY ONE from Question No. 4 and 5

3. Question No. 1, 2,3 are COMPULSORY

4. Answer ANY ONE from Question No. 6 and 7

What is the ' Market Window ' and why is it so important for products to reach thea) market early in this window? |6 marks]

List and define the 3 main processor technologies. What are the benefits of using each of [6 marks|b) the 3 different processor technologies?

c) Explain how the top-down design process improves the productivity. [8 Marks]

2. a) Develop an efficient algorithm for GCD, convert it to FSMD and show the [10 Marks]

optimized FSMD.

b) What is a single - purpose processor? What are the benefits of choosing asingle purpose processor over a general purpose processor? ]10 Marks]

3. a) Compute the hexadecimal value that need to be loaded onto duty cycle register

of 8-bit PWM module in order to run the motor at a speed of 8050rpm,whichneeds 4.375 volts. Marks]

b) Describe the working of PWM unit with timing diagrams. How can it be usedfor speed control of DC motor? Marks]

c) Briefly explain OTPROM,EEPROM, RDRAM,and FPM DRAM. ]8 Marks|

Dr. Ambedkar Institute of Technology, Bengaluru - 560056

(An Autonomous Institution Affiliated to Visvesvaraya Technological University, Belgaum

Page 2: embedded question paper

4. a) Explain with the help of codes. Round Robin interrupt architecture._

(Page 2 i

{10 Marks|

b) What are RTOS queues? Explain the use of queue, with sample codes.[10 Marks|

5. a)

b)

OR

Discuss the methods of protecting shared data. Write a short note on

mailboxes.

Explain I2C and CAN protocol.

[10 Marks|

[10 Marks|

6. a) What is meant by encapsulating the semaphores?Bring out the need for it

b) Explain the software design tools that are used to design.test and debugthe embedded software

.

[lOMarks]

[lOMarks]

OR

7. a) Explain the methods to solve memory space and methods to save power.

b) Discuss the advantages and disadvantages of using large number of tasks.

[10 Marks]

[10 Marks]

Dr. Ambedkar Institute of Technology, Bengaluru - 560056(An Autonomous Institution Affiliated to Visvesvaraya Technological University, Belgaum)

Page 3: embedded question paper

(Page 1 of 2)

USN TE 62

B. E. Degree (Autonomous) Sixth Semester End Examination (SEE), June 2013

EMBEDDED SYSTEM DESIGN

(Model Question Paper-3)

Time: 3 Hours ]

Instructions to students;

1. Answer FIVE FULL questions.

2. Answer ANY ONE from Question No. 4 and 5

3. Question No. 1,2,3 are COMPULSORY

4. Answer ANY ONE from Question No. 6 and 7

[ Maximum Marks: 100

Explain the main characteristics of embedded systems, with examples.

Derive an equation for percentage revenue loss for any rise angle rather than just for rrfrkS]

45 degrees. [8 marks]

Using the Revenue Model compute the percentage revenue loss if D=5 and W=10.Ifc) the company whose product entered the market on time earned a total revenue of $ , ,

25 million, how much revenue did the company that entered the market 5 weeks latelose.

a) Design a combinational logic for 'y' and 'z' where 'y' is l,if 'a' is l,or 'b' and 'c

,

[10 Marks]are 1 and 'z 'is 1 if 'b, or 'c, is l,but not both( or a,b and c are all 1).

b) Design a single purpose processor that outputs FIBONACCI numbers upto 'n'places. Start a function computing the desired result. Translate it into a statediagram and sketch a probable datapath.

[10 Marks]

a) Explain the features of flash memory,SRAM,OTP ROM. ]viarlvsj

Dr. Ambedkar Institute of Technology, Bengaluru - 560056

(An Autonomous Institution Affiliated to Visvesvaraya Technological University, Belgaum)

Page 4: embedded question paper

iI

c)

1 xplain mrmon hierarthv and cache operatKwt

1\ plain the different cache napping techniques with suitable diagram*|6 M.rltej

|S Mark*|

4. a) Explain the need for interrupts in proces.sors and mention briefly the various event®

thai take place when a processor is interrupted|l» Mark*)

b) Explain the problems of shared-data interrupts and suggest the solution to *ol\e theptoWerm fl# Martial

5. a)

h)

*. .)

b)

7. a>

OR

Mention the two rules of interrupt routines m an RTOS environmentWith an example, hoeflv explain. what happen* when each rule isviolated

Describe the use of

semaphore*

queues, Explain any six problems of

Explain how memory spate can he saved in hard real time schedulingwith an example

List the character!suet of four software architectures available forbuilding embedded software

OR

Whai Is meant b> encapsulating the semaphore*' Bring out the need torit

Explain the hardware and software vi>-dr»ign a»pciL» u> an embedded*ysae*n dcMgn

|IO\|*rk<|

110 Marks|

|ll) Vtarks|

110 Marks |

110 Vlark*)

110 Mark. |

Or.

(An

Page 5: embedded question paper

(Page 1 of 2)

USN TE 62

B. E. Degree (Autonomous) Sixth Semester End Examination (SEE), June 2013

EMBEDDED SYSTEM DESIGN

Time: 3 Hours ](Model Question Paper - 1)

Instructions to students:

1. Answer FIVE FULL questions.

2. Answer ANY ONE from Question No. 4 and 5

3. Question No. 1, 2,3 are COMPULSORY

4. Answer ANY ONE from Question No. 6 and 7

[ Maximum Marks: 100

a)b)

c)

What is a design metric? Mention the design metric and explain them.

Prove that for any rise angle the percentage revenue loss is{ D(3W-D)/2W2} X100%

Determine the percentage of revenue loss if the products lifetime is 86 weeks andthe delay in the market is 8 weeks. Derive the formula used for this calculation.

[6 marks]

[6 marks]

[8 Marks]

2. a)

Design a single purpose processor that outputs FIBONACCI numbers upto 'n,

places. Start a function computing the desired result. Translate it into a state jjq jyjar sjdiagram and sketch a probable datapath.

b) Design a combinational logic for 'y, and 'z' where 'y' is l,if 'a, is l,or 'b, and 'c, [10 Marks]are 1 and 'z 'is 1 if 'b, or 'c, is l,but not both( or a,b and c are all 1).

3. a) The analog input range for a 8-bit ADC is from -2.5V to 8.5V.Determine theresolution of ADC and digital output in hexadecimal, when the input voltage is1

.2V.Trace successive approximation steps and show the binary output of the [6 Marks]ADC.

b) Explain how UART is used for communication .List its advantage. [6 Marks]

c) What is memory hierarchy? How does the cache operate? Discuss the cache [8 Marks]

Dr. Ambedkar Institute of Technology, Bengaluru - 560056

(An Autonomous Institution Affiliated to Visvesvaraya Technological University, Belgaum)

Page 6: embedded question paper

mapping techniques. List their merits and demerits.

4. a) Explain shared data problem with an example, show how interrupt facility can beused for solving the problems. (10 Marks]

b) Explain interrupt handling procedure, context switching and critical section. Marks]

OR

5. a) Briefly compare the methods for intertask communication. [10 Marks]

b) Explain interrupt routines in RTOS environment. [10 Marks]

6. a) What is meant by encapsulating the semaphores? Bring out the need for it[6 Marks]

b) Give drawbacks of 'malloc' and 'free' library functions of C in real time [6 Marks]systems. Explain getbuf and regbuf using program code.

c) Explain how memory space can be saved in hard real time scheduling with anexample.

OR

[8 Marks]

7. a) What are RTOS queues? Explain the use of queue, with sample codes.

b) Explain the techniques to save code space

c) Explain the methods to save memory power.

[8 Marks]

[6 Marks]

[6 Marks ]

Dr. Ambedkar Institute of Technology, Bengaluru - 560056

(An Autonomous Institution Affiliated to Visvesvaraya Technological University, Belgaum)