Department of Electronics and Communication Engineering: Question Bank
Department of Electronics and Communication Engineering: Question Bank
Engineering
Question Bank
Year : IV
Semester : VIII
ECE Department
Branch : ECE Subject Code : 191EC721
Year / Sem: IV/VII Subject Name: Embedded and Real Time Systems
Question Bank
CL
S.No Questions CO
Level
Computer has a built-in system clock that emits millions of regularly spaced electric
pulses per called clock cycles.
1 a) second CO1.1 CL1
b) millisecond
c) microsecond
d) minute
The operation that does not involves clock cycles is
a) Installation of a device
2 b) Execute CO1.1 CL1
c) Fetch
d) Decode
The number of clock cycles per second is referred as
a) Clock speed
3 b) Clock frequency CO1.1 CL1
c) Clock rate
d) Clock timing
CISC stands for
a) Complex Information Sensed CPU
4 b) Complex Instruction Set Computer CO1.1 CL1
c) Complex Intelligence Sensed CPU
d) Complex Instruction Set CPU
Which of the following processor has a fixed length of instructions?
a) CISC
5 b) RISC CO1.1 CL1
c) EPIC
d) Multi-core
A circuitry that processes that responds to and processes the basic instructions that
are required to drive a computer system is _____
6 a) Memory CO1.2 CL1
b) ALU
c) CU
d) Processor
What does API stand for?
7 a) address programming interface CO1.2 CL1
b) application programming interface
c) accessing peripheral through interface
d) address programming interface
Which activity is concerned with identifying the task at the final embedded systems?
a) high-level transformation
8 b) compilation CO1.2 CL1
c) scheduling
d) task-level concurrency management
In which design activity, the loops are interchangeable?
a) compilation
9 b) scheduling CO1.2 CL1
c) high-level transformation
d) hardware/software partitioning
Which design activity is in charge of mapping operations to hardware?
a) scheduling
10 b) high-level transformation CO1.2 CL1
c) hardware/software partitioning
d) compilation
UML stands for ___.
a. Unified Manipulation Language
11 b. Unified Modeling Language CO1.3 CL1
c. Universal Manageable Language
d. None of the above
___ are typically found during system integration
a. Bugs
12 b. Defects CO1.3 CL1
c. Insects
d. None of the above
In Embedded System Design Process ___ is used to create a more detailed
description of what we want.
a. System integrating CO1.3
13 CL1
b. Architecture
c. Specification
d. Requirements
In UML events, ___ follows the model of a procedure call in a programming
language.
a. Signal event CO1.3
14 CL1
b. Data event
c. Call event
d. Time out event
___ is used for fetching instructions from the memory.
a. Control unit
15 b. Execution unit CO1.3 CL1
c. Memory unit
d. ALU
Degree to which design specifications arefollowed in manufacturing the product
is called
a. Quality Control
16 CO1.4 CL1
b. Quality of conformance
c. Quality Assurance
d. None of the mentioned
Which of the following is not included infailure costs?
a. rework
17 CO1.4 CL1
b.repair
c. failure mode analysis
d.none of the mentioned
Which requirements are the foundation from which quality is measured?
a) Hardware
18 b) Software CO1.4 CL1
c) Programmers
d) None of the mentioned
Which of the following is not included in External failure costs?
a) testing
19 b) help line support CO1.4 CL1
c) warranty work
d) complaint resolution
Who identifies, documents, and verifies that corrections have been made to the
software?
20 a) Project manager CO1.4 CL1
b) Project team
c) SQA group
d) All of the mentioned
Which of the following is not included in failure costs?
a) rework
21 b) repair CO1.5 CL1
c) failure mode analysis
d) none of the mentioned
A_____ view shows the system hardware and how software components are
distributed across the processors in the system.
22 a) physical CO1.5 CL1
b) logical
c) process
d) all of the mentioned
Which of the following is an architectural conflict?
a) Using large-grain components improves performance but reduces maintainability
b) Introducing redundant data improves availability but makes security more difficult
23 CO1.5 CL1
c) Localizing safety-related features usually means more communication so degraded
performance
d) All of the mentioned
Which of the following designed system factors are optimized or enhanced for an
embedded application?
24 a) Performance CO1.5 CL1
b) Reliability
c) Efficiency
d) All the above
Which of the following is not included in Architectural design decisions?
a) type of application
25 b) distribution of the system CO1.5 CL1
c) architectural styles
d) testing the system
Which of the following allows the reuse of the software and the hardware
components?
26 a) platform based design CO1.6 CL1
b) memory design
c) peripheral design
d) input design
27 Which of the following is the design in which both the hardware and software are CO1.6 CL1
considered during the design?
a) platform based design
b) memory based design
c) software/hardware codesign
d) peripheral design
What does API stand for?
a) address programming interface
28 b) application programming interface CO1.6 CL1
c) accessing peripheral through interface
d) address programming interface
In which design activity, the loops are interchangeable?
a) compilation
29 b) scheduling CO1.6 CL1
c) high-level transformation
d) hardware/software partitioning
Which of the following is a meet-in-the middle approach?
a) peripheral based design
30 b) platform based design CO1.6 CL1
c) memory based design
d) processor design
Which of the following is approximated during hardware/software partitioning,
during task-level concurrency management?
31 a) scheduling CO1.6 CL1
b) compilation
c) task-level concurrency management
d) high-level transformation
Which design activity is in charge of mapping operations to hardware?
a) scheduling
32 b) high-level transformation CO1.6 CL1
c) hardware/software partitioning
d) compilation
]
PART – B [4 Marks]
12 Illustrate system level performance analysis with neat diagram. CO1.6 CL3
PART C
CL
S.No Questions CO
Level
Draw the architecture of ARM processor and explain its functional
1. CO2.1 CL2
units.
[i] Examine the operation of the BL instruction, including the state of
ARM registers before and after its operation. CO2.2 CL2
2.
[ii] Calculate the value to be given in PWMMR0 and PWMMR3 to get a CO2.6 CL2
pulse train of period 5ms and duty cycle of 25% in ARM.
Write a program to find the sum of 4X + 9Y + 4Z, where X = 2, Y = 3 and Z
3. CO 2.2 CL2
= 4 using ARM Processor instruction set.
Generalize the types of stacks and subroutines supported by ARM
4 CO2.3 CL3
processor.
Outline the procedure to generate the square wave from Timer unit in
6 CO 2.4 CL3
LPC214x chip with an example code.
Determine the values to be entered in the PWMPCR register for the
7 following situations? i) Single edge control for PWM3 ii) Double edge CO 2.6 CL3
control for PWM3 iii) Single edge control for PWM1, 2 and 3
With necessary illustrations explain the features of the ARM 9 processor
8 CO 2.7 CL2
Core.
Draw the architecture of ARM Cortex M3 MCU processor and describe
9 CO 2.8 CL2
its functional units.
UNIT III EMBEDDED PROGRAMMING
CO 3.1 CL1
a. Present state
b. Next state
c. State transition
d. Don't care condition
2. Where are signals received from, at the output decoder in generalized form of
Mealy circuit?
A. Input of memory elements
B. Output of memory elements
C. External inputs CL1
CO 3.1
D. External outputs
a. A & D
b. B & C
c. B & D
d. A & C
3. A queue follows __________
a) FIFO (First In First Out) principle
CL1
b) LIFO (Last In First Out) principle CO 3.2
c) Ordered array
d) Linear tree
4. Which of the following model is used to show how data flows through a sequence
of processing steps?
a) Object models CL1
CO 3.2
b) system model
c) semantic data models
d) data flow model
5. Which of the following is also known as loader?
a) locater
CL1
b) linker CO 3.3
c) assembler
d) compiler
6. __________ converts the programs written in assembly language into machine
instructions.
a) Machine compiler CL1
CO 3.3
b) Interpreter
c) Assembler
d) Converter
7. The assembler stores all the names and their corresponding values in ______
CL1
a) Special purpose Register CO 3.3
b) Symbol Table
c) Value map Set
d) None of the mentioned
8. Which of the following gives the final control to the programmer?
a) linker
CL1
b) compiler CO 3.3
c) locater
d) simulator
9. What is the first stage of the compilation process?
a) pre-processing
CL1
b) post-processing CO 3.4
c) compilation
d) linking
10. Which of the following produces an assembler file in the compilation process?
a) pre-processor
CL1
b) assembler CO 3.4
c) compiler
d) post-processing
11. Which file is converted to an object file?
a) hex file
CL1
b) decoded file CO 3.4
c) coded file
d) assembly file
12. Which of the following processes the source code before it goes to the compiler?
a) compiler
CL1
b) simulator CO 3.4
c) pre-processor
d) emulator
13. During the execution of the instructions, a copy of the instructions is placed in
the ______
a) Register CL1
CO 3.5
b) RAM
c) System heap
d) Cache
14. Two processors A and B have clock frequencies of 700 Mhz and 900 Mhz
respectively. Suppose A can execute an instruction with an average of 3 steps and
B can execute with an average of 5 steps. For the execution of the same
instruction which processor is faster? CL1
CO 3.5
a) A
b) B
c) Both take the same time
d) Insufficient information
15. The clock rate of the processor can be improved by _________
a) Improving the IC technology of the logic circuits
CL1
b) Reducing the amount of processing done in one step CO 3.5
c) By using the overclocking method
d) All of the mentioned
16. An optimizing Compiler does _________
a) Better compilation of the given piece of code
CL1
b) Takes advantage of the type of processor and reduces its process time CO 3.5
c) Does better memory management
d) None of the mentioned
17. The ultimate goal of a compiler is to ________
a) Reduce the clock cycles for a programming task
CL1
b) Reduce the size of the object code CO 3.5
c) Be versatile
d) Be able to detect even the smallest of errors
18. HTTP request is between
a) client and host
CL1
b) client and server CO 3.6
c) server and host
d) user and serve
19. Which of the following is not the layer of the OSI Model?
a) Transport Layer
CL1
b) Network Layer CO 3.6
c) Session Layer
d) Atomic Layer
20. Which of the following helps in reducing the energy consumption of the
embedded system?
a) compilers CL1
CO 3.7
b) simulator
c) debugger
d) emulator
21 Which of the following help to meet and prove real-time constraints?
a) simulator
CL1
b) debugger CO 3.7
c) emulator
d) compiler
22 Which of the following is an important ingredient of all power optimization?
a) energy model
CL1
b) power model CO 3.7
c) watt model
d) power compiler
23 Which loop transformation reduces the energy consumption of the memory
systems?
a) loop permutation CL1
CO 3.8
b) loop tiling
c) loop fission
d) loop fusion
24 LSD stands for ________________
a) Lean Software Development
CL1
b) Live Software Development CO 3.8
c) Less Software Data
d) Least Software Dataloss
25 A value ____________ technique is used to identify waste.
a) Mapping
CL1
b) Stream CO 3.9
c) Stream Mapping
d) Flow
26 Which of the following testing is related to the boundary value analysis?
a. White box and black box testing
CL1
b. White-box testing CO 3.9
c. Black box testing
d. None of the above
27 Which testing technique is used for usability testing?
a. White-box testing
CL1
b. Grey box testing CO 3.9
c. Black Box testing
d. Combination of all
28 Which of the following term describes testing?
a) Finding broken code
CL1
b) Evaluating deliverable to find errors CO 3.9
c) A stage of all projects
d) None of the mentioned
29 What is Cyclomatic complexity?
a) Black box testing
CL1
b) White box testing CO 3.9
c) Yellow box testing
d) Green box testing
30 White Box techniques are also classified as
a) Design based testing
CL1
b) Structural testing CO 3.9
c) Error guessing technique
d) None of the mentioned
31 The testing in which code is checked
a) Black box testing
CL1
b) White box testing CO 3.9
c) Red box testing
d) Green box testing
32 Behavioral testing is
a) White box testing
CL1
b) Black box testing CO 3.9
c) Grey box testing
d) None of the mentioned
PART-B
CL
Level
S.No Questions CO
2 Examine the Data flow graph for the expression: x = a*b + 5*(c − d) CO 3.1 CL2
6. Compute the Compilation Process with DFG and its Assembly code CO 3.4 CL3
Illustrate with necessary explanation about the Measurement-driven
7. CO 3.5 CL2
Performance Analysis
8. Encapsulate the Loop Optimizations used in software performance optimization CO 3.6 CL3
Outline the Cache-oriented loop optimizations & Performance optimization
9 CO 3.7 CL2
strategies
10 How program size is optimized and analyzed? CO 3.8 CL3
11 Compare black box and white box testing methods for system design. CO 3.6 CL2
PART - C
CL
S.No Questions CO
Level
Explore the components of embedded program and discuss in detail about each
1 CO 3.1 CL2
component.
[i] Can you apply code motion to the following example? Explain [6]
for(i = 0; i<N;i++)
for(j =0;j,M;j++) CO 3.2 CL1
2
z[i][j] = a[i] * b[i][j]; CO 3.9 CL1
[ii] Discuss in detail about the various techniques used in “black box testing”.[6]
[i]Find the cyclomatic complexity of the CDFG for the code fragment given: [6]
if(a < b) {
if(c < d)
x = 1;
else
x = 2;
}
3 CO 3.4 CL1
else {
if(e < f)
X = 3;
else
X = 4;
}
[ii] With a neat flowchart, explain the steps involved in compiling a program.[7]
4 Outline the Program level energy and power analysis and optimization. CO 3.7 CL4
5 With the help of a flow chart describe the basic compilation process. CO 3.4 CL2
6 Enumerate the different techniques used in software performance optimization. CO 3.6 CL3
Illustrate the Control /Data flow graph for a While loop with necessary diagrams
7 CO 3.4 CL2
and explain.
Compare various program validation and testing methods done for system
8 CO 3.8 CL3
design.
UNIT IV - REAL TIME SYSTEMS
[CO4.1] Structure of a Real Time System –– [CO4.2] Estimating program run times – [CO4.3] Task
Assignment and Scheduling – [CO4.4] Fault Tolerance Techniques – [CO4.5] Reliability, Evaluation
– [CO4.6] Clock Synchronization.
S.No Questions CO CL Level
In real time operating system
a) all processes have the same priority
1 b) a task must be serviced by its deadlineperiod CO4 .1 CL1
c) process scheduling can be done only once
d) kernel is not required
Hard real time operating system has _____ jitter than a soft real time
operating system.
2 a) less
CO4 .1 CL1
b) more
c) equal
d) none of the mentioned
For real time operating systems, interruptlatency should be
a) minimal
3 b) maximum CO4 .1 CL1
c) zero
d) dependent on the scheduling
What is the Real-time systems?
a) Used for monitoring events as they occur
4 b) Primarily used on mainframe computers CO4 .1 CL1
c) Used for real-time interactive users
d) Used for program development
The __________ Operating System pays more attention to the meeting
of the time limits.
5 a) Network CO4 .1 CL1
b) Distributed
c) Online
d) Real-time
When the System processes data instructions without any delay is called
as
6 a) online system CO4 .1 CL1
b) real-time system
c) instruction system
d) offline system
Which of the following is correct in real time?
a) non-preemptive kernels
7 b) preemptive kernels CO4 .2 CL1
c) neither preemptive nor non-preemptive kernels
d) pre-emptive kernels or non pre-emptive kernels
_____ have been developed specifically for pipelined systems.
a) Utility software
8 b) Speed up utilities CO4 .2 CL1
c) Optimizing compilers
d) None of the mentioned
The pipelining process is also called as ______
9 a) Superscalar operation CO4 .2 CL1
b) Assembly line operation
c) Von Neumann cycle
d) None of the mentioned
What does WCTE stand for?
a) wait case execution time
10. b) wait case encoder time CO4 .2 CL1
c) worst case execution time
d) worst code execution time
What is the high speed memory between the main memory and the CPU
called?
a) Register Memory
11. CO4 .2 CL1
b) Cache Memory
c) Storage Memory
d) Virtual Memory
In ____________ mapping, the data can be mapped anywhere in the
Cache Memory.
12. a) Associative
CO4 .2 CL1
b) Direct
c) Set Associative
d) Indirect
Which of the following defines the task which must be executed at every
defined unit of time?
a) aperiodic task
13. CO4 .3 CL1
b) periodic task
c) job
d) process
Which of the following is an aperiodic task requesting the processor at
unpredictable times?
a) job
14. CO4 .3 CL1
b) aperiodic task
c) sporadic
d) periodic task
Which of the following schedulers take decisions at run-time?
a) pre-emptive scheduler
15. b) non pre-emptive scheduler CO4 .3 CL1
c) dynamic scheduler
d) static scheduler
The ____________ scheduling algorithm schedules periodic tasks using
a static priority policy with preemption.
a) earliest deadline first
16. CO4 .3 CL1
b) rate monotonic
c) first cum first served
d) priority
Rate monotonic scheduling assumes that the __________
a) processing time of a periodic process is same for each CPU
burst
17. b) processing time of a periodic process is different for each CPU CO4 .3 CL1
burst
c) periods of all processes is the same
d) none of the mentioned
18. There are two processes P1 and P2, whose periods are 50 and 100
CO4 .3 CL1
respectively. P1 is assigned higher priority than P2. The processing
times are t1 = 20 for P1 and t2 = 35 for P2. Is it possible to schedule
these tasks so that each meets its deadline using Rate monotonic
scheduling?
a) yes
b) no
c) maybe
d) none of the mentioned
A process P1 has a period of 50 and a CPU burst of t1 = 25, P2 has a
period of 80 and a CPU burst of 35. The total CPU utilization is?
a) 0.90
19. CO4 .3 CL1
b) 0.74
c) 0.94
d) 0.80
Earliest deadline first algorithm assigns priorities according to _______
a) periods
20. b) deadlines CO4 .3 CL1
c) burst times
d) none of the mentioned
Using EDF algorithm practically, it is impossible to achieve 100 percent
utilization due to __________
a) the cost of context switching
21. CO4 .3 CL1
b) interrupt handling
c) power consumption
d) all of the mentioned
What type of fault remains in the systemfor some period and then
disappears?
a) Permanent
22. CO4 .4 CL1
b) Transient
c) Intermittent
d) All of the mentioned
Which of the following approaches areused to achieve reliable
systems?
a) Fault prevention
23. CO4 .4 CL1
b) Fault removal
c) Fault tolerance
d) All of the mentioned
Exception handling is a type of
a) forward error recovery mechanism
24. b) backward error recovery mechanism CO4 .4 CL1
c) All of the mentioned
d) None of the mentioned
All fault-tolerant techniques rely on
a) Integrity
25. b) Dependability CO4 .4 CL1
c) Redundancy
d) None of the mentioned
CO4 .1
1 Generalize the performance measures for real time systems? CL2
CO4 .1
2 Outline the structure of a real time systems CL3
CO4 .2
3 How to estimate program run times? CL3
CO4 .2
4 Justify the need for accounting of pipelining CL3
5. How the task is assigned and What are the parameters needed? CO4 .3 CL2
10. Identify the fault types based on temporal behavior classification. CO4 .4 CL2
12. Articulate the synchronization problem and hybrid synchronization. CO4 .6 CL3
PART C (12 marks)
PART B (4 marks)
10. Demonstrate the Portable Operating System Interface (POSIX). CO5.6 CL2
[i] With relevant examples, bring out the difference between clock CO5.1
1 driven scheduling approach and priority driven scheduling approach.[6] CL2
[ii] With neat sketches, explain the working of video accelerator.[6]
Compare the principle, merits and limitations of Inter-process CO5.2
2 CL3
communication mechanism.
Illustrate in detail about CO5.3