Ec8791 Embedded and Real Time Systems
Ec8791 Embedded and Real Time Systems
in
MCQ for Regulations 2017
Answer: a
Explanation: It takes exactly one clock cycle
EC8791 to perform a basic operation, such as moving
a byte of memory from a location to another
EMBEDDED AND location in the computer.
Answer: c
Explanation: CISC stands for complex TOPIC 1.2 EMBEDDED SYSTEM
instruction set computer. It is mostly used in DESIGN PROCESS
personal computers. It has a large instruction
set and a variable length of instructions. 1. Which of the following allows the reuse of
the software and the hardware components?
8. The architecture that uses a tighter a) platform based design
coupling between the compiler and the b) memory design
processor is ____________ c) peripheral design
a) EPIC d) input design
b) Multi-core
c) RISC Answer: a
d) CISC Explanation: The platform design allows the
reuse of the software and the hardware
Answer: a components in order to cope with the
Explanation: EPIC stands for Explicitly increasing complexity in the design of
parallel instruction computing. It has a tighter embedded systems.
coupling between the compiler and the
processor. It enables the compiler to extract 2. Which of the following is the design in
maximum parallelism in the original code. which both the hardware and software are
considered during the design?
9. MAR stands for ___________ a) platform based design
a) Memory address register b) memory based design
b) Main address register c) software/hardware codesign
c) Main accessible register d) peripheral design
d) Memory accessible register
Answer: c
Answer: a Explanation: The software/hardware
Explanation: The MAR stands for memory codesign is the one which having both
hardware and software design concerns. This
will help in the right combination of the 6. Which design activity helps in the
hardware and the software for the efficient transformation of the floating point arithmetic
product. to fixed point arithmetic?
a) high-level transformation
3. What does API stand for? b) scheduling
a) address programming interface c) compilation
b) application programming interface d) task-level concurrency management
c) accessing peripheral through interface
d) address programming interface Answer: a
Explanation: The high-level transformation
Answer: b are responsible for the high optimizing
Explanation: The platform-based design transformations, that is, for the loop
helps in the reuse of both the hardware and interchanging and the transformation of the
the software components. The application floating point arithmetic to the fixed point
programming interface helps in extending the arithmetic can be done by the high-level
platform towards software applications. transformation.
b) scheduling Answer: a
c) high-level transformation Explanation: The scheduling is performed in
d) hardware/software partitioning several contexts. It should be approximated
with the other design activities like the
Answer: c compilation, hardware/software partitioning,
Explanation: The high-level transformation and task-level concurrency management. The
is responsible for the high optimizing scheduling should be precise for the final
transformations, that is, the loops can be code.
interchanged so that the accesses to array
components become more local. 9. Which of the following is a process of
analyzing the set of possible designs?
6. Which design activity helps in the a) design space exploration
transformation of the floating point arithmetic b) scheduling
to fixed point arithmetic? c) compilation
a) high-level transformation d) hardware/software partitioning
b) scheduling
c) compilation Answer: a
d) task-level concurrency management Explanation: The design space exploration is
the process of analyzing the set of designs
Answer: a and the design which meet the specification is
Explanation: The high-level transformation selected.
are responsible for the high optimizing
transformations, that is, for the loop 10. Which of the following is a meet-in-the-
interchanging and the transformation of the middle approach?
floating point arithmetic to the fixed point a) peripheral based design
arithmetic can be done by the high-level b) platform based design
transformation. c) memory based design
d) processor design
7. Which design activity is in charge of
mapping operations to hardware? Answer: b
a) scheduling Explanation: The platform is an abstraction
b) high-level transformation layer which covers many possible
c) hardware/software partitioning refinements to a lower level and is mainly
d) compilation follows a meet-in-the-middle approach.
Answer: c
Explanation: The hardware/software TOPIC 1.4 SPECIFICATIONS-
partitioning is the activity which is in charge SYSTEM ANALYSIS AND
of mapping operations to the software or to ARCHITECTURE DESIGN
the hardware.
1. Architectural design is a creative process
8. Which of the following is approximated
satisfying only functional-requirements of a
during hardware/software partitioning, during
system.
task-level concurrency management?
a) True
a) scheduling
b) False
b) compilation
c) task-level concurrency management Answer: b
d) high-level transformation Explanation: In architectural design you
3. The UML was designed for describing 6. Which of the following is not included in
_________ Architectural design decisions?
a) object-oriented systems a) type of application
b) architectural design b) distribution of the system
c) SRS c) architectural styles
d) Both object-oriented systems and d) testing the system
Architectural design
Answer: d
Answer: d Explanation: Architectural design decisions
Explanation: The UML was designed for include decisions on the type of application,
describing object-oriented systems and, at the the distribution of the system, the
architectural design stage, you often want to architectural styles to be used, and the ways
describe systems at a higher level of in which the architecture should be
abstraction. documented and evaluated.
4. Which of the following view shows that 7. Architecture once established can be
the system is composed of interacting applied to other products as well.
processes at run time? a) True
a) physical b) False
b) development
c) logical Answer: b
d) process Explanation: Systems in the same domain
often have similar architectures that reflect
Answer: d domain concepts.
Explanation: This view is useful for making
judgments about non-functional system 8. Which of the following pattern is the basis
characteristics such as performance and of interaction management in many web-
availability. based systems?
a) architecture
b) repository pattern
Answer: c Answer: c
Explanation: This is a system architecture, in Explanation: The data is encrypted to make
which the performance of the system is them secure.
improved by reducing the size of the
instruction set. 13. All instructions in ARM are conditionally
executed.
9. In the ARM, PC is implemented using a) True
___________ b) False
a) Caches
b) Heaps Answer: a
c) General purpose register Explanation: None.
d) Stack
14. The addressing mode where the EA of the
Answer: c operand is the contents of Rn is ______
Explanation: PC is the place where the next a) Pre-indexed mode
instruction about to be executed is stored. b) Pre-indexed with write back mode
Answer: b
TOPIC 2.2 FEATURES OF THE Explanation: The UART boot loader
LPC 214X FAMILY eliminates the need of an additional
PERIPHERALS programmer and allows you to program using
serial port.
1. LPC 2148 pro development board has
5. Which LCD display is present in LPC 2148
_________ on chip memory.
Development Board?
a) 500k
a) 8*8 LED
b) 625k
b) 2*32 LCD
c) 512k
c) 2*16 LCD connected peripherally
d) 425k
d) 2*16 LCD on-chip
Answer: c
Answer: d
Explanation: LPC 2148 Pro Development
Explanation: On-board two line LCD
Board is a powerful development platform
Display (2*16) with jumper selection option
based on LPC2148 ARM7TDMI micro
to disable LCD when not required.
controller with 512k on-chip memory.
6. Does it have in system programming or in
2. The USB controller provides high speed
application programming?
interface to laptop/PC with a speed of
a) True
________
b) False
a) On-chip USB with 12Mb/s
b) On-chip USB with 15Mb/s Answer: a
c) Peripheral USB with 12Mb/s Explanation: In system programming is
d) Peripheral USB with 15Mb/s generally what we do, i.e., using Jtag the
program is dumped in to the board.
Answer: a
In application programming means without
Explanation: The on-chip USB controller
any external devices the program can be
M
7. Which company developed 16450? d) RCLK
a) Philips
b) Intel Answer: b
O
c) National semiconductor Explanation: DDIS signal goes low when the
d) IBM CPU is reading data from the UART and it
C
also controls the bus arbitration logic.
Answer: c
T.
Explanation: The Intel 8250 is replaced by
the 16450 and 16550 which are developed by TOPIC 2.4 BLOCK DIAGRAM
the National Semiconductors. 16450 is a chip OF ARM9 AND ARM CORTEX
which can combine all the PC’s input output M3 MCU.
O
devices into a single piece of silicon.
1. What is the processor used by ARM7?
SP
8. What does ADS indicate in 8250 UART?
a) 8-bit CISC
a) address signal
b) 8-bit RISC
b) address terminal signal
c) 32-bit CISC
c) address strobe signal
d) 32-bit RISC
G
d) address generating signal
Answer: d
Answer: c
LO
Answer: c c) ARM71a0
Explanation: ARM7TDMI has 37 d) ARMv4T
registers(31 GPR and 6 SPR). All these
designs use a Von Neumann architecture, thus Answer: b
the few versions comprising a cache do not Explanation: The original ARM7 was based
separate data and instruction caches. on the earlier ARM6 design and used the
same ARM3 instruction set.
4. ARM7 has an in-built debugging device?
a) True 8. What are t, d, m, I stands for in
b) False ARM7TDMI?
a) Timer, Debug, Multiplex, ICE
Answer: a b) Thumb, Debug, Multiplier, ICE
Explanation: Some ARM7 cores are c) Timer, Debug, Modulation, IS
obsolete. It had a JTAG based on-chip d) Thumb, Debug, Multiplier, ICE
debugging; the preceding ARM6 cores did
not support it. The “D” represented a JTAG Answer: b
TAP for debugging. Explanation: The ARM7TDMI(ARM7 + 16
bit Thumb + JTAG Debug + fast Multiplier +
5. What is the capability of ARM7 f enhanced ICE) processor implements the
instruction for a second? ARM4 instruction set.
a) 110 MIPS
b) 150 MIPS 9. ARM stands for _________
c) 125 MIPS a) Advanced RISC Machine
d) 130 MIPS b) Advanced RISC Methadology
c) Advanced Reduced Machine
Answer: d d) Advanced Reduced Methadology
Explanation: It is a versatile device for
mobile devices and other low power Answer: a
electronics. This processor architecture is Explanation: ARM, originally Acorn RISC
capable of up to 130MIPS on a typical 0.13 Machine, later Advanced RISC Machine, is a
um process. family of reduced instruction set computing
(RISC) architectures for computing
6. We have no use of having silicon processors.
customization?
a) True 10. What are the profiles for ARM
b) False architecture?
a) A,R
Answer: b b) A,M
Explanation: It achieve custom design goals, c) A,R,M
such as higher clock speed, very low power d) R,M
consumption, instruction set extension,
optimization for size, debug support, etc. Answer: c
Explanation: ARMv7 defines 3 architecture
7. Which of the following has the same “profiles”:
instruction set as ARM7? A-profile, Application profile
a) ARM6 R-profile, Real-time profile
b) ARMv3 M-profile, Microcontroller profile.
Answer: d b) text
Explanation: The linker is also known as a c) video
loader. It can take the object file and searches d) audio
the library files to find the routine it calls. The
linker can give the final control to the Answer: a
M
programmer concerning how unresolved Explanation: 64% of any website’s page is
references are reconciled, where the sections made up of images. The loading speed of the
websites also slows down due to this much
O
are located in the memory, which routines are
used, and so on. contribution of images in a web page. To
reduce this loading time we use web
C
9. Which assembler option is used to turn off performance optimization.
long or short address optimization?
T.
a) -n 2. For image compression which tool is
b) -V helpful?
c) -m a) WordPress cache enable a plugin
d) -o b) Optimus wordpress plugin
O
c) Glup-uglify
Answer: a d) Speed test tool
SP
Explanation: The option -o puts the
assembler into the file obj file, -V can write Answer: b
the assembler’s version number on the Explanation: Optimus WordPress plugin is
standard error output, -m runs the macro used for lossless as well as lossy image
G
preprocessor on the source file and -n turns compression. It automatically reduces the size
off the long or short address optimization. of the file. Reduction in size is possible up to
70%. There are three versions of Optimus i.e.
LO
10. Which assembler option runs the m4 Optimus HQ, Optimus, Optimus HQ PRO.
macro preprocessor on the source file? Speed test tools are used to measure/note
a) -n down your pages speed performance.
b) -m WordPress cache enable a plugin used to
.B
c) -V enable caching.
d) -o
3. HTTP request is between
Answer: b _______________
17
12. What is not the work of database 15. Which browser gives maximum parallel
optimization? connections per host?
a) cleaning out old tables a) Opera 10
b) creating indexes b) Chrome 1 and 2
c) optimize datatype c) Safari 3 and 4
d) delete database d) Firefox 3
Answer: d Answer: a
Explanation: We store various information in Explanation: Parallel downloading is very
the database. A database is a collection of beneficial to performance. Opera 10 provides
tables that contain information. Database the maximum parallel connections per host
delay takes a long waiting time, so there are i.e. 8, Chrome 1 and 2, Chrome 4 to 23 gives
various techniques for database optimization. 6 maximum parallel connections per host,
Database optimization basically optimizes Safari 3 and 4 gives 4 maximum parallel
data types, tables, data size. connections per host, Firefox 3, Firefox 4 to
17 gives 6 maximum parallel connections per
13. Which of the following is the Waterfall host.
tool?
a) WebPageTest.org
b) dotcom-monitor TOPIC 3.3 PROGRAM LEVEL
c) Pingdom Speed Test ENERGY AND POWER
d) GTmetrix ANALYSIS AND OPTIMIZATION
Answer: a
1. Which of the following helps in reducing
Explanation: Waterfall views are useful for
the energy consumption of the embedded
system? Answer: c
a) compilers Explanation: Tiwari proposed the first power
b) simulator model in the year 1974. The model includes
c) debugger the so-called bases and the inter-instruction
d) emulator instructions. Base costs of the instruction
correspond to the energy consumed per
Answer: a instruction execution when an infinite
Explanation: The compilers can reduce the sequence of that instruction is executed. Inter
energy consumption of the embedded system instruction costs model the additional energy
and the compilers performing the energy consumed by the processor if instructions
optimizations are available. change.
2. Which of the following help to meet and 5. Who proposed the third power model?
prove real-time constraints? a) Tiwari
a) simulator b) Russell
b) debugger c) Jacome
c) emulator d) Russell and Jacome
d) compiler
Answer: d
Answer: d Explanation: The third model was proposed
Explanation: There are several reasons for by Russell and Jacome in the year 1998.
designing the optimization and compilers and
one such is that it could help to meet and 6. Which compiler is based on the precise
prove the real-time constraints. measurements of two fixed configurations?
a) first power model
3. Which of the following is an important b) second power model
ingredient of all power optimization? c) third power model
a) energy model d) fourth power model
b) power model
c) watt model Answer: c
d) power compiler Explanation: The third model was proposed
by Russell and Jacome in the year 1998 and is
Answer: b based on the precise measurements of the two
Explanation: Saving energy can be done at fixed configurations.
any stage of the embedded system
development. The high-level optimization 7. What does SPM stand for?
techniques can reduce power consumption a) scratch pad memories
and similarly compiler optimization also can b) sensor parity machine
reduce the power consumption and the most c) scratch pad machine
important thing in power optimization are the d) sensor parity memories
power model.
Answer: a
4. Who proposed the first power model? Explanation: The smaller memories provide
a) Jacome faster access and consume less energy per
b) Russell access and SPM or scratch pad memories is a
c) Tiwari kind of small memory which access fastly
d) Russell and Jacome and consume less energy per access and it can
be exploited by the compiler.
8. Which model is based on precise 1. Which of the following allows the reuse of
measurements using real hardware? the software and the hardware components?
a) encc energy-aware compiler a) platform based design
b) first power model b) memory design
c) third power model c) peripheral design
d) second power model d) input design
Answer: a Answer: a
Explanation: The encc-energy aware Explanation: The platform design allows the
compiler uses the energy model by Steinke et reuse of the software and the hardware
al. it is based on the precise measurements of components in order to cope with the
the real hardware. The power consumption of increasing complexity in the design of
the memory, as well as the processor, is embedded systems.
included in this model.
2. Which of the following is the design in
9. What is the solution to the knapsack which both the hardware and software are
problem? considered during the design?
a) many-to-many mapping a) platform based design
b) one-to-many mapping b) memory based design
c) many-to-one mapping c) software/hardware codesign
d) one-to-one mapping d) peripheral design
Answer: d Answer: c
Explanation: The knapsack problem is Explanation: The software/hardware
associated with the size constraints, that is the codesign is the one which having both
size of the scratch pad memories. This hardware and software design concerns. This
problem can be solved by one-to-one will help in the right combination of the
mapping which was presented in an integer hardware and the software for the efficient
programming model by Steinke et al. product.
10. How can one compute the power 3. What does API stand for?
consumption of the cache? a) address programming interface
a) Lee power model b) application programming interface
b) First power model c) accessing peripheral through interface
c) Third power model d) address programming interface
d) CACTI
Answer: b
Answer: d Explanation: The platform-based design
Explanation: The CACTI can compute the helps in the reuse of both the hardware and
power consumption of the cache which is the software components. The application
proposed by Wilton and Jouppi in the year programming interface helps in extending the
1996. platform towards software applications.
c) scheduling Answer: c
d) task-level concurrency management Explanation: The hardware/software
partitioning is the activity which is in charge
Answer: d of mapping operations to the software or to
Explanation: There are many design the hardware.
activities associated with the platforms in the
embedded system and one such is the task- 8. Which of the following is approximated
level concurrency management which helps during hardware/software partitioning, during
in identifying the task that needed to be task-level concurrency management?
present in the final embedded systems. a) scheduling
b) compilation
5. In which design activity, the loops are c) task-level concurrency management
interchangeable? d) high-level transformation
a) compilation
b) scheduling Answer: a
c) high-level transformation Explanation: The scheduling is performed in
d) hardware/software partitioning several contexts. It should be approximated
with the other design activities like the
Answer: c compilation, hardware/software partitioning,
Explanation: The high-level transformation and task-level concurrency management. The
is responsible for the high optimizing scheduling should be precise for the final
transformations, that is, the loops can be code.
interchanged so that the accesses to array
components become more local. 9. Which of the following is a process of
analyzing the set of possible designs?
6. Which design activity helps in the a) design space exploration
transformation of the floating point arithmetic b) scheduling
to fixed point arithmetic? c) compilation
a) high-level transformation d) hardware/software partitioning
b) scheduling
c) compilation Answer: a
d) task-level concurrency management Explanation: The design space exploration is
the process of analyzing the set of designs
Answer: a and the design which meet the specification is
Explanation: The high-level transformation selected.
are responsible for the high optimizing
transformations, that is, for the loop 10. Which of the following is a meet-in-the-
interchanging and the transformation of the middle approach?
floating point arithmetic to the fixed point a) peripheral based design
arithmetic can be done by the high-level b) platform based design
transformation. c) memory based design
d) processor design
7. Which design activity is in charge of
mapping operations to hardware? Answer: b
a) scheduling Explanation: The platform is an abstraction
b) high-level transformation layer which covers many possible
c) hardware/software partitioning refinements to a lower level and is mainly
d) compilation follows a meet-in-the-middle approach.
Answer: c Answer: c
Explanation: None. Explanation: The WCTE is the worst case
execution time which is an upper bound on
9. Which one of the following is a real time the execution times of task. It can be
operating system? computed for certain programs like while
a) RTLinux loops, programs without recursion, iteration
b) VxWorks count etc.
c) Windows CE
d) All of the mentioned 3. For which of the following WCET can be
computed?
Answer: d a) C program
Explanation: None. b) assembly language
c) VHDL
10. VxWorks is centered around d) program without recursion
____________
a) wind microkernel Answer: d
b) linux kernel Explanation: The WCET computing is a
c) unix kernel difficult task for assembly language and for
d) none of the mentioned computing WCTE for any high-level
language without the knowledge of the
Answer: a generated assembly code is impossible.
Explanation: None.
4. The WCET of which component can be
TOPIC 4.2 ESTIMATING computed if the task is mapped to hardware?
a) hardware
PROGRAM RUN TIMES b) task
c) both task and hardware
1. Identify the standard software components d) application manager
that can be reused?
a) application manager Answer: a
b) operating system Explanation: The worst case execution time
c) application software of the hardware can be computed if the task is
d) memory mapped to the hardware which in turn
requires the synthesis of the hardware.
Answer: b
Explanation: There are certain software 5. Which estimation approach is used by Jha
components that can be reused in an and Dutt for hardware?
embedded system design. These are the a) accurate cost and performance value
operating systems, real-time databases and b) estimated cost and performance value
some other forms of middleware. c) performance value
d) accurate cost
2. What does WCTE stand for?
a) wait case execution time Answer: b
b) wait case encoder time Explanation: There are different estimation
c) worst case execution time techniques used. One such is the estimated
d) worst code execution time cost and performance value which is
proposed by Jha and Dutt for hardware. The
10. It is imperative for a communicating 4. A process can enter into its critical section
processes to reach consistent recovery points ____________
to avoid the _________ effect, with backward a) anytime
error recovery mechanism. b) when it receives a reply message from its
a) Static parent process
b) Dynamic c) when it receives a reply message from all
c) Domino other processes in the system
d) Whirlpool d) none of the mentioned
Answer: c Answer: c
Explanation: None. Explanation: None.
Answer: c
Explanation: The multitasking operating
systems are associated with the multitasking
UNIT V PROCESSES AND kernel which controls the time slicing
OPERATING SYSTEMS mechanism.
5. Which of the following can periodically performed, the current program or task is
trigger the context switch? interrupted, so the processor’s registers are
a) software interrupt saved in a special table which is known as
b) hardware interrupt task control block.
c) peripheral
d) memory 8. Which of the following stores all the task
information that the system requires?
Answer: b a) task access block
Explanation: The multitasking operating b) register
systems are associated with the multitasking c) accumulator
kernel which controls the time slicing d) task control block
mechanism. The time period required for
each task for execution before it is stopped Answer: d
and replaced during a context switch is Explanation: The task control block stores all
known as the time slice. These are the task information that the system requires
periodically triggered by a hardware interrupt and this is done when the context switch is
from the system timer. performed so that the currently running
program is interrupted.
6. Which interrupt provides system clock in
the context switching? 9. Which of the following contains all the
a) software interrupt task and their status?
b) hardware interrupt a) register
c) peripheral b) ready list
d) memory c) access list
d) task list
Answer: b
Explanation: The multitasking operating Answer: b
systems deals with the multitasking kernel Explanation: The ‘ready’ list possesses all
which controls the time slicing mechanism the information regarding a task, that is, all
and the time period required for each task for the task and its corresponding status which is
execution before it is stopped and replaced used by the scheduler to decide which task
during a context switch is known as the time should execute in the next time slice.
slice which are periodically triggered by a
hardware interrupt from the system timer. 10. Which determines the sequence and the
This hardware interrupt provides the system associated task’s priority?
clock in which several interrupts are executed a) scheduling algorithm
and counted before a context switch is b) ready list
performed. c) task control block
d) application register
7. The special tale in the multitasking
operating system is also known as Answer: a
a) task control block Explanation: The scheduling algorithm
b) task access block determines the sequence and an associated
c) task address block task’s priority. It also determines the present
d) task allocating block status of the task.
M
Explanation: The kernel can control the d) address message
memory usage and it can also prevent the
tasks from corrupting each other. Answer: b
O
Explanation: The messages can carry
12. Which can control the memory sharing information and it can also control the task
C
between the tasks? regarding the real-time operating systems.
a) kernel These are also known as events.
T.
b) application
c) software
d) OS TOPIC 5.2 MULTIRATE
SYSTEMS- PREEMPTIVE
O
Answer: a REALTIME OPERATING
Explanation: The kernel can control memory SYSTEMS- PRIORITY BASED
SP
sharing between tasks which allow sharing
common program modules. SCHEDULING
13. Which of the following can implement the 1. In real time operating system
message passing and control?
G
____________
a) application software a) all processes have the same priority
b) operating system b) a task must be serviced by its deadline
LO
c) software period
d) kernel c) process scheduling can be done only once
d) kernel is not required
Answer: d
Explanation: The kernel can implement the
.B
Answer: b
message passing and control which acts as a Explanation: None.
message passer and controller between the
tasks. 2. Hard real time operating system has
17
a) 2 c) equal
b) 3 d) none of the mentioned
c) 4
d) 5 Answer: a
SE
c) zero Answer: b
d) dependent on the scheduling Explanation: None.
their actions without communication 6. Which of the following are TRUE for
d) none of the mentioned direct communication?
a) A communication link can be associated
Answer: b with N number of process(N = max. number
Explanation: None. of processes supported by system)
b) A communication link can be associated
2. Message passing system allows processes with exactly two processes
to __________ c) Exactly N/2 links exist between each pair
a) communicate with one another without of processes(N = max. number of processes
resorting to shared data supported by system)
b) communicate with one another by resorting d) Exactly two link exists between each pair
to shared data of processes
c) share data
d) name the recipient or sender of the Answer: b
message Explanation: None.
Answer: a
TOPIC 5.5 EXAMPLE REAL Explanation: None.
TIME OPERATING SYSTEMS-
POSIX-WINDOWS CE 5. In which scheduling certain amount of
CPU time is allocated to each process?
a) earliest deadline first scheduling
1. In real time operating system
b) proportional share scheduling
____________
hardware and software design concerns. This 6. Which design activity helps in the
will help in the right combination of the transformation of the floating point arithmetic
hardware and the software for the efficient to fixed point arithmetic?
product. a) high-level transformation
b) scheduling
3. What does API stand for? c) compilation
a) address programming interface d) task-level concurrency management
b) application programming interface
c) accessing peripheral through interface Answer: a
d) address programming interface Explanation: The high-level transformation
are responsible for the high optimizing
Answer: b transformations, that is, for the loop
Explanation: The platform-based design interchanging and the transformation of the
helps in the reuse of both the hardware and floating point arithmetic to the fixed point
the software components. The application arithmetic can be done by the high-level
programming interface helps in extending the transformation.
platform towards software applications.
7. Which design activity is in charge of
4. Which activity is concerned with mapping operations to hardware?
identifying the task at the final embedded a) scheduling
systems? b) high-level transformation
a) high-level transformation c) hardware/software partitioning
b) compilation d) compilation
c) scheduling
d) task-level concurrency management Answer: c
Explanation: The hardware/software
Answer: d partitioning is the activity which is in charge
Explanation: There are many design of mapping operations to the software or to
activities associated with the platforms in the the hardware.
embedded system and one such is the task-
level concurrency management which helps 8. Which of the following is approximated
in identifying the task that needed to be during hardware/software partitioning, during
present in the final embedded systems. task-level concurrency management?
a) scheduling
5. In which design activity, the loops are b) compilation
interchangeable? c) task-level concurrency management
a) compilation d) high-level transformation
b) scheduling
c) high-level transformation Answer: a
d) hardware/software partitioning Explanation: The scheduling is performed in
several contexts. It should be approximated
Answer: c with the other design activities like the
Explanation: The high-level transformation compilation, hardware/software partitioning,
is responsible for the high optimizing and task-level concurrency management. The
transformations, that is, the loops can be scheduling should be precise for the final
interchanged so that the accesses to array code.
components become more local.
Answer: a Answer: b
Explanation: The design space exploration is Explanation: The platform is an abstraction
the process of analyzing the set of designs layer which covers many possible
and the design which meet the specification is refinements to a lower level and is mainly
selected. follows a meet-in-the-middle approach.