Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 11

SRM VALLIAMMAI ENGINEERINGCOLLEGE

(An Autonomous Institution)


SRM Nagar, Kattankulathur–603203

DEPARTMENTOF
ELECTRONICSAND COMMUNICATIONENGINEERING
QUESTIONBANK

VII SEMESTER
EC8791 - EMBEDDED AND REAL TIME SYSTEMS

Regulation–2017

Academic Year 2021–2022 ( ODD Semester)

Preparedby
Mr. A. Pandian, Assistant Professor
Ms. K.Arthi, Assistant Professor
Dr. N. Usha Bhanu, Professor
SRM VALLIAMMAI ENGINEERINGCOLLEGE
(AnAutonomous Institution)
SRMNagar, Kattankulathur–603203.

DEPARTMENTOF ECE

Question Bank
SUBJECT : EC8791–EMBEDDEDANDREAL TIME SYSTEMS
SYSTEMS. SEM/YEAR :VII / IV-Year B.E.
UNIT I - INTRODUCTION TO EMBEDDEDSYSTEM DESIGN

Complex systems and microprocessors– Embedded system design process –Design example: Model train
controller- Design methodologies- Design flows - Requirement Analysis – Specifications-System analysis and
architecture design – Quality Assurance techniques - Designing with computing platforms – consumer
electronics architecture – platform-level performance analysis.
Q.No Questions BTL level Domain
1. Define an Embedded Real Time system? BTL 1 Remembering
2. Mention the challenges in design of embedded computing BTL 1
Remembering
system.
3. List the non-functional requirements of an Embedded BTL 1
Remembering
Architecture.
4. Sketch the major levels of abstraction in the Embedded BTL 1
Remembering
system design.
5. What are the services to be provided by consumer electronics? BTL 1 Remembering
6. What you mean by real time computing? BTL 1 Remembering
7. Describe the steps in embedded system design process. BTL 2 Understanding
8. Identify the various issues in real time computing. BTL 2 Understanding
9. Summarize the challenges in embedded computing system
BTL 2 Understanding
design.
10. Mention the observations of quality management of ISO
BTL 2 Understanding
9000?
11. Draw the functional architecture diagram of multimedia
BTL 3 Applying
player.
12. Interpret the importance of DCC in train controller. BTL 3 Applying
13. Illustrate the need of flash file systems in consumer
BTL 3 Applying
electronics.
14. Assess the characteristics of embedded computing. BTL 4 Analyzing
15. Categories the steps involved in system analysis using CRC
BTL 4 Analyzing
card.
16. Explain the requirements chart for GPS moving map system. BTL 4 Analyzing
17. Justify the need of UML language for Embedded system
BTL5 Evaluating
design.
18. Depict the UML notation for display class. BTL5 Evaluating
19. Summarize the five levels of maturity in CMM model. BTL 6 Creating
20. Illustrate the block diagram of moving map GPS system with
BTL 6 Creating
neat sketch.
PART-B
1. (i) What are the factors to be considered while designing an (5)
Embedded System Process?
BTL 1 Remembering
(ii) State the importance of Structural and Behavioral (8)
description in detail.
2. (i)Mention the requirements for designing a GPS moving (8) BTL 1 Remembering
map in embedded system design process.
(ii)Write down the major operations and data flows of a GPS (5)
moving map and draw its architecture

3. (i) Define acronym of CRC. (3)


(ii) Explain the system analysis and architecture design using (10) BTL 1 Remembering
CRC card Layout.
4. Write short note on the following in terms of consumer
electronics system architecture.
(6) BTL 1 Remembering
i. Use cases and requirements.
(7)
ii. Platforms and Operating Systems
5. Explain the following:
(i) Control-Oriented Specification Languages. (7) BTL 2 Understanding
(ii) Quality Assurance Techniques. (6)
6. Describe the goal of design methodology in detail. (13) BTL 2 Understanding
7. Summarize the performance of embedded computing systems. (13) BTL 2 Understanding
8. Illustrate with diagrams the system design methods using (13)
BTL 3 Applying
water fall, spiral and successive refinement model.
9. Sketch and explain a hierarchical design flow model using (13)
BTL 3 Applying
hardware software design system methodology.
10. (i) Write in detail about the challenges in embedded (5)
computing system design.
BTL 4 Analyzing
(ii) Explain in detail about behavioral description of (8)
Embedded System design.
11. (i) Examine in detail the characteristics of embedded (5)
computing applications.
BTL 4 Analyzing
(ii)Explain about successive design methodology with (8)
necessary diagrams.
12. Compare the hierarchical and successive refinement model (13)
BTL 4 Analyzing
design for an embedded system with suitable diagrams.
13. With necessary diagram explain the need of platform level (13)
BT 5 Evaluating
performance analysis.
14. i. Explain a Model Train Controller with suitable diagrams. (5)
ii. Outline the design steps of Model Train Controller in (8)
BTL 6 Creating
detail.

PART -C
1. Summarizethe different factors involved in embedded system (15)
design process of GPS moving map with necessary BTL5 Evaluating
illustrations.
2. Justify the need of Quality Assurance techniques in (15)
BTL5 Evaluating
Embedded design and explain.
3. Develop the requirement, specification and state diagram of a (15) BTL 6 Creating
model train controller with necessary illustrations.
4. Elaborate following in detail as per system level design
analysis.
(i) Consumer electronics architecture. (5) BTL 6 Creating
(ii) Platforms and operating systems. (5)
(iii)Flash file systems, (5)

UNIT II ARM PROCESSOR AND PERIPHERALS


ARM Architecture Versions – ARM Architecture – Instruction Set – Stacks and Subroutines – Features of
the LPC 214X Family – Peripherals – The Timer Unit – Pulse Width Modulation Unit – UART – Block
Diagram of ARM9 and ARM Cortex M3 MCU.
PART A
Q. No Questions BT Level Competence

1 List the functions of ARM processor in Supervisory mode. BTL 1 Remembering


2 Name the registers set of ARM processor BTL 1 Remembering
3 Write down the significance of TST instruction BTL 1 Remembering
4 State the usage of EQU directive in programming. BTL 1 Remembering
5 Draw the sequence of actions needed for a nested procedure BTL 1 Remembering
6 What is meant by idle mode in processors? BTL 1 Remembering
7 Illustrate the three different profiles of ARM cortex Processor BTL 2 Understanding
8 Mention the features of LPC214x. BTL 2 Understanding
9 Summarize any five peripherals in the LPC 2148 MCU. BTL 2 Understanding
10 Outline the significance of SWI instruction. BTL 2 Understanding
11 Compare the differences between MULS and MULSEQ BTL 3 Applying
12 Find the methods to terminate the power down mode. BTL 3 Applying
Examine the maximum size of the constant that can be used in BTL 3 Applying
13
the immediate mode?
14 Distinguish between PCLK and CCLK BTL 4 Analyzing
For a GPIO pin to be made to act as an ON/OFF switch, what BTL 4 Analyzing
15
are the registers to be used?
16 Write the difference between single and double edged PWM. BTL 4 Analyzing
Mention the important features that make ARM ideal for BTL 5 Evaluating
17
embedded applications.
18 Explain how the literal pool is accessed? BTL 5 Evaluating
19 What will be the output of the instruction MOV R11, R2 BTL 6 Creating
20 How does the prescalar in a timer unit function?. BTL 6 Creating
PART – B
1 With necessary illustrations explain the features of the ARM 9 (13) BTL 2 Understanding
processor Core.
2 From the fundamentals, draw the architecture of ARM processor (13) BTL4 Analyzing
with relevant explanation.
3 (i) Outline the operating modes of ARM (7)
BTL 1 Remembering
(ii) Briefly explain the Register set of ARM (6)
Examine the interrupt vector table by providing the vector (13)
4 BTL 4 Analyzing
address of each interrupt supported by ARM.
(i) Classify the ARM instruction set (3)
5 BTL 1 Remembering
(ii) Explain any one type of instruction set with example (10)
6 The content of registers is given as below BTL 3 Applying
R1 = 0xEF00DE12,
R2 = 0x0456123F,
R5 = 4, R6 = 28.
What are the output result in the destination register when the
following instructions are executed (5)
i) LSL R1, #8 (5)
ii) ASR R1,R5 (3)
iii) ROR R2,R6
7 Write the general structure of an Assembly language line and (13) BTL 2 Understanding
provide examples for each directive.
8 Explain the following indexed addressing mode with a sample
instruction
BTL 4 Analyzing
i) Pre indexed Addressing mode (7)
ii) Post indexed Addressing mode (6)
9 What are the types of stacks and subroutines supported by ARM (13) BTL 1 Remembering
processor with the instruction sets and explain.
10 Illustrate with diagrams the GPIO peripheral used in LPC214x (13) BTL 3 Applying
family.
11 Outline the working of a UART in LPC214x in detail. (13) BTL 6 Creating
12 Describe the concepts behind single edge controlled PWM (13) BTL 2 Understanding
13 (i) Calculate the value of the clock to be given in PWMMR0 (7) BTL 5 Evaluating
andPWMMR3 to get a pulse train of period 5 ms and duty
cycle of 25%.
(ii) List the features of LPC 214x processor (6)
14 Draw the architecture of ARM Cortex M3 MCU processor and (13) BTL 1 Remembering
describe its functional units.
PART – C
1 Write a program to find the sum of 3X + 4Y + 9Z, where X = 2, (15) BTL6 Creating
Y = 3 and Z = 4 using ARM Processor instruction set.
2 Identify the output of the program using ARM instructions and (15) BTL 5 Evaluating
calculate 3X2 + 5Y2, where X = 8 and Y = 5
3 Summarize the procedure to generate the square wave from (15)
BTL 6 Creating
Timer unit in LPC214x chip with an example code.
4 Determine the values to be entered in the PWMPCR register for (15) BTL 5 Evaluating
the following situations?
i) Single edge control for PWM3
ii) Double edge control for PWM3
iii) Single edge control for PWM1, 2 and 3

UNIT III EMBEDDED PROGRAMMING


Components for embedded programs- Models of programs- Assembly, linking and loading – compilation
techniques- Program level performance analysis – Software performance optimization – Program level
energy and power analysis and optimization – Analysis and optimization of program size- Program
validation and testing.
PART A
Q. No Questions BT Competence
Level
1 Mention the different components for embedded programs. BTL 1 Remembering
2 State the basic principle of compilation technique. BTL 1 Remembering
Name any two techniques used to optimize execution time of BTL 1 Remembering
3 program
4 Mention the various compilation techniques. BTL 1 Remembering
5 What does a linker do? BTL 1 Remembering
State the difference between program location counter and program BTL 1 Remembering
6 counter.
7 Illustrate the need of symbol table in Assemblers. BTL 2 Understanding
8 Outline the significance of CDFG. BTL 2 Understanding
Summarize the two ways used for performing input and output BTL 2 Understanding
9 operations
10 Describe about the elements of program performance. BTL 2 Understanding
Draw a Data Flow Graph and Control/ Data Flow Graph (CDFG) BTL 3 Applying
11 with an example.
12 Interpret the differences between loop fusion and loop tiling BTL 3 Applying
13 Find the limitation of polling techniques. BTL 3 Applying
14 Compare enqueueing and dequeueing BTL 4 Analyzing
15 State the importance of Boot-block flash. BTL 4 Analyzing
16 Differentiate compiler and cross compiler. BTL 4 Analyzing
17 Justify the importance of circular buffer. BTL 5 Evaluating
18 Sketch the diagram of software state machine. BTL 5 Applying
Sketch a Data Flow Graph for the block shown below: BTL 6 Creating
19
r = a+b-c; s = a*r ; t = b-d; r = d+e;
20 Explain how power can be optimized at the program level? BTL 5 Evaluating
PART – B
1 Summarize the components of embedded program and discuss (13) BTL 2 Understanding
in detail about each component.
2 Describe about stream-oriented programming and circular (13) BTL4 Analyzing
buffer with example.
3 (i) List the different models of Program
(3)
(ii) Briefly explain with neat diagrams on various models of BTL 1 Remembering
(10)
program
4 Examine the Data flow graph with the help of an example. (13) BTL 2 Understanding
Illustrate the Control /Data flow graph for a While loop with (13)
5 BTL 1 Remembering
necessary diagrams and explain.
6 In compilation process, explain the role of BTL 2 Understanding
i) Assemblers (7)
ii) Linkers (6)
7 With the help of a flow chart describe the basic compilation (13) BTL 3 Applying
process and explain.
8 Determine the code generated for the given conditional code (13)
snippet, explain with necessary CDFG.
if (a + b > 0)
BTL 4 Analyzing
x = 5;
else
x = 7;
9 Outline about the Procedure and Data structure with respect to (13) BTL 1 Remembering
compilers
10 Interpret the need of dead code elimination to optimize the (13) BTL 3 Applying
program with a code snippet.
11 Explain about the Loop transformation techniques for (13) BTL 6 Creating
optimization of code.
12 Outline the Program level energy and power analysis and (13)
BTL 4 Analyzing
optimization
13 Write about BTL 1 Remembering
i) Black box Testing (7)
ii) White box Testing (6)
14 (i) Illustrate with necessary diagrams about the program level (7) BTL 5 Evaluating
performance analysis.
(ii) Mention the key features of cache optimizations. (6)
PART – C
1 Create a symbol table for the following code snippet (15) BTL6 Creating
ORG 100
label1 ADR r4,c
LDR r0,[r4]
label2 ADR r4,d
LDR r1,[r4]
label3 SUB r0,r0,r1
2 Generate the statement translation into ARM instruction for the (15) BTL 5 Evaluating
expression a*b + 5*(c-d) with necessary illustrations.
3 Explain the various methods for Program optimization with (15)
BTL 6 Creating
necessary examples.
4 Summarize the different techniques used in software (15) BTL 5 Evaluating
performance optimization.
UNIT IV REAL TIME SYSTEMS
Structure of a Real Time System –– Estimating program run times – Task Assignment and Scheduling – Fault
Tolerance Techniques – Reliability, Evaluation – Clock Synchronisation.
PART – A
Q.No Questions BT Competence
Level
1 List out the two Rate Monotonic scheduling conditions. BTL 1 Remembering
2 Outline the uniprocessor scheduling algorithms. BTL 1 Remembering
3 Define Performance measures for real time systems.. BTL 1 Remembering
4 What is mean by hardware and software fault? BTL 1 Remembering
5 State the limitation of Rate Monotonic algorithm. BTL 1 Remembering
6 Define hardware redundancy. BTL 1 Remembering
7 Summarize the two steps of tasks for developing a multiprocessor BTL 2 Understanding
schedule.
8 Draw the performance degradation of a fault tolerant system BTL 2 Understanding
9 Explain the forward and backward error recovery. BTL 2 Understanding
10 Classify the partitioning of the intervote interval. BTL 2 Understanding
11 Illustrate the role of static priority algorithm. BTL 3 Applying
12 Sketch the frequency response of an ideal VCO. BTL 3 Applying
13 How will you distinguish static priority algorithm & dynamic priority BTL 3 Applying
algorithm?
14 Outline the features of preemptive and non-preemptive schedule. BTL 4 Analyzing
15 Compare the difference between between release time and deadline. BTL 4 Analyzing
16 Identify the fault types based on temporal behavior BTL 4 Analyzing
classification.
17 Briefly explain the ways of assigning priorities in scheduling . BTL 5 Evaluating
18 What are the features of offline and online scheduling? BTL 5 Evaluating
19 Describe about malicious or byzantine failures. BTL 6 Creating
20 Distinguish between periodic, sporadic and aperiodic tasks. BTL 6 Creating

PART – B
1 Write short notes on BTL 1 Remembering
a) Introduction of transient faults. (7)
b) Use of State aggregation (6)
2 i) List out the sequence of events resulting in triad failure. (6) BTL 1 Remembering
ii) E
xplain the methodology to choose the best distribution for
obtaining parameter values in model. (7)

3 Describe the typical designs for voter reliability with the example of BTL 1 Remembering
Poisson failures. (13)
4 Mention the classification of faults according to their temporal BTL 1 Remembering
behavior and output behavior and explain. (13)
5 Write a detailed note on mathematical understanding of the priority BTL 2 Understanding
ceiling algorithm using a series of results. (13)
6 Summarize the important features on : BTL 2 Understanding
a) Software Redundancy in Fault tolerance techniques.
(6)
b) Measuring error propagation times in Fault tolerance
synchronization .
(7)
7 Describe about Rate Monotonic Scheduling Algorithm with BTL 2 Understanding
examples. (13)

8 i) Explain the permanent faults in series parallel systems. (7) BTL 3 Applying
ii) Summarize the performance measures for real time systems? (6)
9 Outline the features of information redundancy and its principle to BTL 3 Applying
obtain a code that will correct multiple bit errors . (13)
10 i) Write about the limited usefulness of software error models? (5) BTL 4 Analyzing

ii) Explain how the clocks are synchronized if the times are close to
each other. (8)
11 i) Compare independent failure and correlated failure. (3) BTL 4 Analyzing
ii) Examine the process of completely connected zero propagation
system. (10)
12 Summarize the concepts of impact of faults and Loss of synchrony in BTL 4 Analyzing
fault tolerant systems. (13)
13 Illustrate with diagrams about reliability models for hardware BTL 5 Creating
redundancy. (13)
14 Determine the More general model assuming that the failure process BTL 6 Evaluating
and fault latency are exponential and Poisson distributed. (13)
PART – C
1 BTL 6 Creating
From the mathematical concepts explain Identical Linear Reward
functions in Uniprocessor scheduling. (15)
2 Describe the completely connected zero propagation time system in BTL 6 Creating
hardware fault tolerant synchronization. (15)
3 Determine the utilization bound for the RM algorithm and explain it BTL 5 Evaluating
in detail. (15)
4 With necessary illustrations explain the following redundancy in fault BTL 5 Evaluating
tolerant systems.
(i) Hardware Redundancy (5)
(ii) Software Redundancy (5)
(iii) Information Redundancy (5)
UNITV PROCESSES AND OPERATINGSYSTEMS
Introduction – Multiple tasks and multiple processes – Multirate systems- Preemptive real-time
operating systems- Priority based scheduling- Interprocess communication mechanisms – Evaluating
operating system performance- power optimization strategies for processes – Example Real time
operating systems-POSIX- Windows CE. - Distributed embedded systems – MPSoCs and shared
memory multiprocessors. – DesignExample - Audio player, Engine control unit – Video accelerator.
PART – A
Q.N BT Competence
o Questions Level

1. Mention the networks for distributed embedded systems. BTL1 Remembering


2. Define the term time quantum? BTL1 Remembering
3. List the major function of POSIX RTOS? BTL1 Remembering
4. What is Semaphore? BTL1 Remembering
5. State the needs of accelerator. BTL1 Remembering
6. Outline the advantages and limitations of Priority based process BTL1 Remembering
scheduling.
7. Summarize the essential criteria’s of rate monolithic scheduling. BTL2 Understanding
8. Explain priority inversion briefly. BTL2 Understanding
9. Enumerate the various scheduling states of a process. BTL2 Understanding
10. Write examples of blocking and Non-blocking inter process
Communication BTL2 Understanding
11. Draw the block diagram of Distributed embedded systems BTL3 Applying
12. Identify the principle of multi rate embedded system by quoting three
Examples BTL3 Applying
13. Mention the two different styles used for inter process BTL3 Applying
communication.
14. Compare between a process and thread. BTL4 Analyzing
15. Differentiate between initiation time and completion time BTL4 Analyzing
16. Explain the multi-processing systems. BTL4 Analyzing
17. Determine the communication among processes which runs at
different BTL5 Evaluating
rates.
18. Summarize the important characteristics of Multitasking. BTL5 Evaluating
19. Write about hard-real-time operating system with an example. BTL6 Creating
20. Compile the organization of scheduling policy. BTL6 Creating
PART – B
1. i) Enumerate the context switch mechanism for moving the CPU BTL Remembering
from one executing process to another. 1
(7)
ii) State how the Kernel determines the order of the processes which
has to be executed.
(6)
2. i) Enumerate why an automobile engine requires multi rate control. BTL Remembering
(4) 1
ii) Describe the performance of the Earliest – Deadline – First
scheduling with other scheduling algorithms with suitable example.
(9)
3. (i) Describe the real time operating system called POSIX in detail. (6) BTL Remembering
(ii)Write short notes on power optimization strategies in embedded 1
system. (7)
4. i) Mention in detail about Shared Resources. (7) BTL Remembering
ii) Explain about Windows CE with a neat diagram. 1
(6)
5. i) Write in detail about multitasking and multiprocessing. BTL Understanding
(9) 2
ii)
Illustrate process state and scheduling.
(4)
6. i) Infer in detail about the Characteristics of distributed embedded BTL Understanding
System. 2
(7)
ii) Explain the architecture of Distributed Embedded System with
neat sketch.
(6)
7. (i) Outline the services of operating system in handling multiple BTL Understanding
tasks and multiple processes. 2
(7)
ii) Identify the features of preemptive execution with the help of a
Sequence diagram.
(6)
8. i) Explain in detail about power optimization strategies for CPU BT3 Applying
operation.
(7)
ii) Identify how the Predictive shut down technique proved itself as
more sophisticated.
(6)
9. With necessary diagrams explain about Audio Player design. BTL Applying
(13) 3
10. i) Outline about priority-based scheduling in detail. BTL Analyzing
(7) 4
ii) With the help of an example, explain that the knowledge of data
dependencies can help to use the CPU more efficiently.
(6)
11. i) Summarize the preemptive real time operating systems in detail. BTL Analyzing
(7) 4
ii)
Analyze the special characteristics of Processes and Internet with
the help of a suitable diagram. (6)
12. Explain the concepts of Multiprocessor System-On-Chip (MPSoC) BTL Analyzing
and Shared memory multiprocessor are used in embedded 4
applications. (13)
13. i) Write about operating system performance. BTL Evaluating
(5) 5
ii) Compare the principle, merits and limitations of inter-process
communication mechanisms.
(8)
14. i) Justify this statement with the help of an example. The timing BTL Creating
requirements on a set of process can strongly influence the type of 6
appropriate scheduling.
(7)
ii) Write about a critical section using semaphores in operating
system.

(6)
PART C
1 From design flow analysis to architectural design, illustrate video BTL Creating
Accelerator using UML methodology. 6
(15)
2 Explain the working of Engine control unit in detail. BTL Evaluating
i). Theory of operations and requirements 5
(4)
ii). Specification
(4)
iii). SystemArchitecture
(3)
iv). Component designing and testing
(2)
v). System integration and testing.
(2)
3 Outline in detail how shared memory and message passing BTL Evaluating
mechanisms are used for inter process communication. 5
(15)
4 With necessary illustrations explain about EDF algorithm for BTL Creating
scheduling three process with hyperperiod 60 . 6
(15)

You might also like