Professional Documents
Culture Documents
RcoemalTime
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
T WO MARK QUE STION W IT H AN SWE R
SUBJECT NAME: Embedded and Realtime Systems
SUBJECT CODE: EC2042
YEAR/SEM: IV/VIII
PREPARED BY: C.SRIDHAR B.E. ECE
www.vidyarthiplus.com
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
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
Physical layer
Data link layer
Network layer
Transport layer
Session layer
vi.
vii.
Presentation layer
Application layer.
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