Anda di halaman 1dari 7

www.vidyarthiplus.

com
EC2043 Embedded
and RealTime Systems
Sri Venkateswara Institute Of Science & Technology

(Approved by AICTE, New Delhi and Affiliated to Anna University)


Kolundhalur (Village), Thiruvallur(District) 631203.
(Regulation 2008/2010)
DEPARTMENT OF ELECTRONICS & COMMUNICATION ENGINEERING
TWO MARK QUESTION WITH ANSWER
SUBJECT NAME: Embedded and Realtime Systems
SUBJECT CODE: EC2042

YEAR/SEM: IV/VIII
PREPARED BY: C.SRIDHAR B.E. ECE

UNIT 1 : INTRODUCTION TO EMBEDDED COMPUTING


1. Differentiate top-down and bottom-up design. (April 2014)
Top-Down:
 Top down design proceeds from the abstract entity to get to the concrete design.
 It is most often used in designing brand new systems.
Bottom-Up:
Bottom-up design proceeds from the concrete design to get to the abstract entity.
It is sometimes used when one is reverse engineering a design, (i.e) when one is trying to
figure out what somebody else designed in an existing design.
2. List the functions of ARM processor in supervisor mode. (April 2014)
The various functions of ARM processor in supervisor modes are:
 Exception
 Prioritization
 Vectoring
 Traps.
3. Enumerate various issues in real time computing. (Nov/Dec 2013)
The various issues in RT computing is :
 Real -time Response
 Recovering from failures
 Working with distributed architecture
 Asynchronous communication
 Race condition and timing.
4. Write short notes on ARM Processor.(Nov/Dec 2013)
ARM Advanced RISC Machine. (It is an 32-bit Microprocessor)
ARM is actually a family of RISC architectures that have been developed over many years.
The ARM is a 32-bit Reduced Instruction Set Computer (RISC) instruction set
architecture developed by Arm holdings.
ARM processor is mad suitable for Low power application.

www.vidyarthiplus.com

5. What are the Instruction set www.vidyarthiplus.com


features useful for embedded programming? (May/June
2013)
Instruction Sets can have a variety of characteristics/features including:
 Fixed versus variable length
 Addressing modes
 Number of operands
 Types of operations supported.
6. What are the parameters used to evaluate the CPU performance? (May/June 2013)
 Pipelining and
 Caching.
7. What is the function of exception? (Nov/Dec 2012)
The main function of exception is to detect the error internally.
It requires both prioritization and vectoring.
8. How is ARM processor different from other processors? (Nov/Dec 2012)
 ARM is a RISC (Reduced Instruction Set Computing) architecture while other processor
being a CISC (Computer Instruction Set Computing) one.
 In the ARM processor, arithmetic and logical operations cannot be perform directly on
memory locations, while other processors allow such operations to directly reference
main memory.
9. When is application specific system processor (ASSPs) used in a embedded systems?
(May/June 2012)
ASSP is a processing unit for specific task and for specific application. In embedded system for
example image compression and that is integrated through the buses with the main processor in
an embedded system.
10. What are the various in embedded system designs modeling refining (or)
partitioning?(May/June 2012)
i. Structural modeling
ii. Behavior modeling
iii. State machine modeling
iv. Process algebra modeling
v. Logic based modeling
vi. Petri-nets modeling.

UNIT 2 : COMPUTING PLATFORM AND DESIGN ANALYSIS


1. What is the bus protocols especially, the four-cycle handshake? (April 2014)
 Protocols are the set of rules and conditions for the data communication. The basic
building block of most bus protocols is the four-cycle handshake.
 Handshake ensures that when two devices want to communicate. One is ready to
transmit and other is ready to receive.
 The handshake uses a pair of wires dedicated to the handshake; such as enq (meaning
enquiry) and ack (meaning acknowledge). Extra wires are used for the data transmitted
during handshake.
www.vidyarthiplus.com

www.vidyarthiplus.com

2. What is a data flow graph? (April 2014)


A data flow graph is a model of a program with no conditions. In a high level
programming language, a code segment with no conditions and one entry point and exit
point.
3. What are CPU buses? (Nov/Dec 2013) , (May/June 2013)
 Data bus
 Address bus
 Control bus
 System bus.
4. List out the various compilation techniques. (Nov/Dec 2013)
There are three types of compilation techniques :
 Analysis and optimization of execution time.
 Power energy and program size
 Program validation and testing.
5. State the basic principles of basic compilation techniques. (May/June 2013)
Compilation combines translation and optimization.
The high level language program is translated in to lower level form of instructions,
optimizations try to generate better instruction sequences.
Compilation = Translation + optimization
6. Name any two techniques used to optimize execution time of program.(Nov/Dec 2012)
 Instruction level optimization
 Machine independent optimization.
7. What does a linker do? (Nov/Dec 2012)
 A linker allows a program to be stitched together out of several smaller pieces.
 The linker operates on the object files created by the assembler and modifies the
assemble code to make the necessary links between files.
8. What are the four types of data transfer in USB? (May/June 2012)
 Control transfer
 Interrupt transfer
 Bulk transfer
 Isochronous transfer (sequence of data)
9. Give the limitation of polling techniques. (May/June 2012)
 It is wasteful of the processors time, as it needlessly checks the status of all devices all
the time.
 It is inherently slow, as it checks the status of all input/output devices before it comes
back to check any given one again.
 Priority of the device cannot be determined frequently.

www.vidyarthiplus.com

www.vidyarthiplus.com

UNIT 3 : PROCESS AND OPERATING SYSTEMS


1. What are the major inter process communication mechanism? (April 2014)
 Shared memory communication
 Message passing.
2. Define context switching. (April 2014) , (Nov/Dec 2013) , (Nov/Dec 2012)
A context switch is the computing process of storing and restoring of a CPU so that
execution can be resumed from the same point at a later time.
The context switching is an essential feature of multitasking operation system.
3. Define : processes. (Nov/Dec 2013)
A process is a single execution of a program.
If we run the same program two different times, we have created two different processes.
Each process has its own state that includes not only its register but also all of its
memory.
4. List the process of scheduling policies. (May/June 2013)
 Cyclostatic scheduling
 Time division multiple access scheduling
 Round robin scheduling.
5. What are the power optimization strategies used for processes? (May/June 2013)
6. What does a scheduler do in a operating system environment? (Nov/Dec 2012)
7. What is the use of interrupts service routines?(May/June 2012)
 Input/output data transfer for peripheral devices.
 Input signals to be used for timing purpose.
 Real time executives/multitasking
 Event driven program.
8. What are the three conditions that must be satisfied by the re-entrant function?
(May/June 2012)
A function is called re-entrant function when the following three conditions are satisfied
 All the arguments pass the values and some of the argument is a pointer whenever
a calling function calls it.
 When an operation is not atomic, the function should not operate on any variable,
which is declared but passed by reference not passed by arguments in to the
function.
 That function does not call any other function that is not itself re-entrant.

www.vidyarthiplus.com

www.vidyarthiplus.com

UNIT 4 : HARDWARE ACCELERATES AND NETWORKS


1. List the OSI layers from lowest to highest level of abstraction. (April 2014)
The OSI layers from lowest to highest level of abstraction are described below:
i. Physical layer
ii. Data link layer
iii. Network layer
iv. Transport layer
v. Session layer
vi. Presentation layer
vii. Application layer.
2. What is a distributed embedded architecture? (April 2014)
In a distributed embedded system several processing elements are connected by a network
that allows them to communicate.
More than one computer or group of computer and PEs are connected via network that
forms distributed embedded systems.
3. What do you meant by accelerator/hardware accelerator? (Nov/Dec 2013)
An accelerator is one important category of processing element for embedded
multiprocessor.
It is attached to CPU buses to quickly execute certain key function.
It provides large performance for many applications with computational kernels. It
provides critical speedups for low-battery I/O functions.
4. State the advantages of network based design. (Nov/Dec 2013)
5. What is the use of attached accelerator to CPU? (May/June 2013)
The CPU accelerator is attached to the CPU bus. The CPU is also called the host. The
CPU talks to the accelerator through the data and control registers in the accelerator.
Control register allow the CPU to monitor the accelerators operation and to give the
accelerator commands.
The CPU and accelerator will communicate via shared memory. The accelerator perform
read and write operation directly.
An accelerator interface is functionally equal to an I/O device but it does not perform input
or output. CPUs and accelerators perform computations for specification.
6. What are the merits of embedded distributed architecture? (Nov/Dec 2012)
 Error identification is more easy.
 It has more cost effective performance.
 Deadliness for processing the data are short.
7. What is the role played by the accelerator in the design of embedded system? (Nov/Dec
2012)
One important category of PE for embedded multiprocessor is the accelerator.
An accelerator is attached to CPU buses to quickly execute certain key functions. It can
www.vidyarthiplus.com
provide large performance increase, for many applications with computational kernels.

It can also provide criticalwww.vidyarthiplus.com


speedups for low latency I/O functions.
8. Differentiate counter semaphore and binary semaphores. (May/June 2012)
Counter semaphores
Binary semaphores
(i) Which allows an arbitrary resource
(1) Which are restricted to values of 0 and
count called counting.
1 are called binary.
(ii) Synchronization of object that can
(2) Synchronization by two states
have arbitrarily large number of
(a) Not taken
states.
(b) Taken.
9. What is priority inheritance? (May/June 2012)
Priority inheritance is a method of eliminating priority inversion, using this a process
scheduling algorithm will increase the priority of a process to the maximum priority of
any process waiting for any resource on which the process has a resource lock.
UNIT 5 : CASE STUDY
1. What is a PDA? (April 2014)
PDA (Personal Digital Assistant) is a device that can be used to receive, display and transcribe
information. PDA can run a wide variety of applications.
2. What is a set-top box or STB or STU? (April 2014)
A set top box (STB) or set top unit (STU) is an information appliance device that generally
contains a tuner and connects to a television set and an external source of signal, turning the
source signal into content in a form that can then be displayed on the television screen or other
display device.
USES :
a) Cable television and satellite television system.
3. Write short notes on H/W and S/W co-design. (Nov/Dec 2013)
Embedded systems architecture design is the task of selecting and programming a suitable
configuration of components for a required system application. Building an embedded
system is not an easy task. Every embedded system consist of an embedded hardware
and embedded software.
So software and hardware plays a main role in design of embedded system architecture.
Need For Co-Design :
 Co-design refers to parallel or concurrent development of hardware and software
for an embedded system.
 Co-design reduces the overall design and development cycle of the embedded
system.
 It helps the designer to find the bugs at early stage.
 It also reduces the number of errors, particularly at the hardware-software
interface level.
4. What are FOSS tools for embedded systems? (Nov/Dec 2013) , (May/June 2013)
GNU Compiler Collection (gcc) and GNU debugger (gdb) are the most popular FOSS (Free and
open source) tools used in embedded systems.
www.vidyarthiplus.com

www.vidyarthiplus.com

5. List the major components in the Personal Digital Assistant System? (May/June 2013)
 Process or memory
 Connectivity
 Power management unit
 User interface.
6. Differentiate between hardware and software co-design. (Nov/Dec 2012)
7. Why most designers use FOSS tools in embedded system development? (Nov/Dec 2012)
Because,
 It makes software portable.
 It speeds up the development process
 It provides good foundation for system development activities.
8. What is signal servicing function? (May/June 2012)
The signal service is a bureau of the government organized to collect from the whole
country simultaneously report to local metrological condition upon comparison of which
at certain office, predictions concerning the weather are telegraphed to various sections
also known as signal publicity display.
9. Give the steps to destroy a message queue. (May/June 2012)
(i)
First delete all the element in a message queue.
(ii) Check if Front = rear = -1, then queue is empty.
(iii) Otherwise, now call a delete routine to destroy a message queue.
---------------------------------------All The Best Guys------------------------------------------

www.vidyarthiplus.com

Anda mungkin juga menyukai