Stucor Qp-Ec8791
Stucor Qp-Ec8791
Stucor Qp-Ec8791
Reg. No. :
PART B — (5 × 13 = 65 marks)
11. (a) Assuming the design of model train controller, draw a state diagram for a
behavior that sends the command bits on the track. The machine should
generate the address, generate the correct message type, include the
parameters and generate the error correcting code (ECC). (13)
Or
(b) Elaborate in detail about the various Quality Assurance techniques used
for evaluating the embedded systems. (13)
12. (a) Draw the architecture of ARM 9 processor and explain its functional
units. (13)
Or
(b) (i) Explain the operation of the BL instruction, including the state of
ARM registers before and after its operation. (6)
(ii) Calculate the value to be given in PWMMR0 and PWMMR3 to get a
pulse train of period 5ms and duty cycle of 25% in ARM. (7)
13. (a) (i) Can you apply code motion to the following example? Explain
for (i = 0; i <N; i++)
for(j =0;j <M;j++)
z[i][j] = a[i] * b[i][j]; (6)
(ii) Discuss in detail about the various techniques used in “black box
testing”. (7)
Or
(b) (i) Find the cyclomatic complexity of the CDFG for the code fragment
given:
if(a<b) {
if(c<d)
x= 1;
else
x=2;
}else{
if(e< f)
x= 3:
else
x= 4;
} (6)
(ii) With a neat flowchart, explain the steps involved in compiling a
program. (7)
14. (a) (i) Discuss briefly about the performance degradation of a fault
tolerant system. (6)
(ii) Discuss in detail about the timing requirements with respect to
release time and deadline for different types of processes. (7)
Or
(b) Mention the classification of faults according to their temporal behavior
and output behavior. (13)
2 40458
15. (a) (i) With relevant examples, bring out the difference between clock
driven scheduling approach and priority driven scheduling
approach. (6)
(ii) With neat sketches, explain the working of video accelerator. (7)
Or
(b) With neat sketches, explain briefly about the various types of
interprocess communication. (13)
PART C — (1 × 15 = 15 marks)
16. (a) Investigate and justify the statement with relevant example – “The
timing requirements on a set of process can strongly influence the type of
appropriate scheduling. (15)
Or
(b) (i) Find all the def-use pairs for the code fragment given below: (7)
x=a-b;
y=c-d;
z=e-f;
if (x<10){
q=y+e;
z=e+f;
}
if (z<y) proc1 () ;
(ii) Show the contents of the assembler’s symbol table at the end of code
generation for each line of the following program: (8)
ORG 200
p1 ADRr4,a
LDR r0,[r4]
ADR r4,e
LDR r1, [r4]
ADD r0,r0,r1
CMP r0,r1
BNE q1
p2 ADR r4,e
——–––––––––
3 40458
Reg. No.
(Regulations 2017)
Time: 3 Hours Answer ALL Questions Max. Marks: 100
PART- A (10 x 2 = 20 Marks)
PART- B (5 x 13 = 65 Marks)
11. a) Design a model train controller with suitable diagram and explain. (13)
OR
12. a) Classify the ARM instruction set and explain any one type of instruction set
with example. (13)
OR
b) Discuss about the types of stacks and subroutines supported by ARM processor. (13)
13. a) With the help of a flow chart describe the basic compilation process. (13)
OR
b) Outline the Program level energy and power analysis and optimization. (13)
OR
OR
PART- C (1 x 15 = 15 Marks)
OR
b) Illustrate video accelerator using UML methodology, from design flow analysis
to architectural design. (15)
___________________