Blog Archive

Friday, March 16, 2012

ERTS Practise Questions : Units 5 & 6


Embedded and Real Time Operating Systems.

Questions from unit V and VI (partial)
Please use the following questions s study aids. You can easily answer them while browsing through the chapter sequentially.
Chapter 7 : Embedded and Real Time Operating Systems : Dr KVKK Prasad

------------------------------------------------------------------------------------------------------------------------------
1.       The embedded software consists of the _____     _____ and  the _______   _______.
2.       Explain the main difference between a soft real-time system and a hard real-time system.
3.       How are the services provided by the OS accessed by an application ?
4.       What is an API ?
5.       List the kernel objects.
6.       How are kernel objects managed ?
7.       What are the services provided by the kernel ?
8.       Define a task. What does it contain ? How is it implemented ?
9.       What are system tasks ?
10.    How should the tasks share a single CPU ?How is this achieved ?
11.    What is a scheduler ?
12.    What are the important issues that must be considered while scheduling the tasks ?
13.    What is a reentrant function ? What is a non-reentrant function ?
14.    How can you check whether a function is re-entrant or non re-entrant ?
15.    What is the critical section of a code ?
16.    Which kernel objects are used to share resources ?
17.    How is inter task communication achieved ?
18.    How many states may a task have ? Define each one of them.
19.    How or when does a task move from one state to another ?
20.    What is stored in a task stack ?
21.    What is preempting ? What is a context ?
22.    What is  context switching ?
23.    How does the kernel decide which task has to run ?
24.    List the various scheduling algorithms that are used to control tasks.
25.    Why is the FIFO algorithm not suited for many applications ? When is it most suited ?
26.    What is round-robin algorithm ? What is a quantum ? When will the kernel give control to the next task ? What are the limitations of this algorithm ? When is it useful ?
27.    What is round-robin with priority ?
28.    What is the advantage of shortest-job first algorithm ? Does it have some kind of priority build-in ? Explain.
29.    Why are the above scheduling algorithms not suitable for hard real-time systems ?
30.    What are the two multi-tasking algorithms ?
31.    Is non-preemptive multitasking different from cooperative multitasking ? Explain the basis  for your answer.
32.    Why is non-preemptive multitasking not suitable for embedded real-time systems ?
33.    Explain the mechanism of preemptive multi-tasking.
34.    Why is preemptive multi-tasking attractive ? Explain.
35.    Why do most real time embedded systems use preemptive multi-tasking ?
36.    What is a dispatcher ? Where is it ?
37.    In how many ways can priority be assigned to a task ?
38.    What is RMA ? Why and how is it useful in priority allocations ? What are its assumptions ?
39.    What is schedulability test  ? What does it indicate ?
40.    Write the equation for utilization factor. What is the thumb rule ?
41.    What is the basis for assigning priorities ?
42.    Does the API provide a function  to change the priority of a task ?
43.    Define interrupt. What happens when an interrupt occurs ?
44.    Define interrupt latency, interrupt response time, interrupt recovery time.
45.    Compare interrupt recovery times in preemptive and non preemptive kernels.
46.    “Semaphore is a kernel object that is used for both resource synchronization and task synchronization”. Explain.
47.    When two tasks (task 1 and task2 ) are sharing a resource, with task 1 currently using the resource and task2 waiting, who informs  task2 when task1 has completed using the resource and task2 can now use it ? What is this called ?
48.    When many tasks share  a resource, they are kept in a _____ and the allocation may be based on the _______ or _____.
49.    What is a binary semaphore ?  What is a counting semaphore ?
50.    A counting semaphore is like having multiple keys to a house. Justify.
51.    Define Mutex. Why is it required ?
52.    Why is disabling the scheduler to achieve mutual exclusion an excellent idea but a very dangerous idea ?
53.    Why should disabling the interrupts  to achieve mutual exclusion be used with caution ?
54.    Explain the steps in test-and-set operation to achieve mutual exclusion.
55.    Why should the mutex be regarded as a special binary semaphore ? Explain the features that make it so.
56.    Which of the two, semaphore or mutex, supports  priority inheritance ?
57.    When two or more resources are waiting for a very long time for a resource held by another task , a ________ occurs.
58.    Watchdog timers are used to avoid __________.
59.    How are mailboxes and message queue related ?
60.    Can an ISR deposit a message into a mailbox ?
61.    What happens at the time of queue creation ?
62.    Show how message queues help in one-way, two-way and broadcast communication.
63.    A bit in the event register can be used to represent the ________ of an event.
64.    The meaning of a 1 or a 0  in an event register is decided by a protocol.
65.    Task-to-task or ISR-to-task data transfer can take place using ___________.
66.    What is a signal ? Why is its use discouraged ?
67.    What is the use of a timer ? Explain.
68.    __________    ____________ problem arises  when a high priority task has to wait while a low priority task executes. How is it overcome ?
69.    What is priority inheritance ? Explain through an example.

--oOo--

Sunday, June 5, 2011

Tips for mini-projects

Dear Students,

Here are some tips on how to effectively begin and complete your mini-project.

A. Embedded System domain.

STEP 1:
Select a sensor group and an actuator group. Give the title for the mini-project  as 'A comparative study of applications with xxx-sensors using yyyy-microcontroller and zzzz-actuator'. Later of course you can change the title to a more appropriate and specific one.
STEP 2:
Identify the companies and sensor/actuator variants and collect all the specifications required to understand and interface the devices to your microcontroller.
STEP 3:
Begine designing very simple interfaces using your sensor and actuator to your microcontroller. After a few trials you will begin to understand and get a grip on the functioning of these devices. Then, you will be able to finalise the circuit required to interface the sensor/actuator to the microcontroller.
STEP 4:
Begin taking a closer look at the sensor. Understand its behaviour in greater detail and how the physical parameter can be converted to binary data that is readable by the microcontroller. Here, you will have to shift from using an interface that gives only a HIGH or LOW signal to an interface that gives a 4-, 8-, 16- or 32-bit output. Of course you must then know how to use an ADC of the required resolution. Hopefully, another group mut be ready with this expertise to help you !
STEP 5:
Once you are clear about the smaller details of interfacing, your next task will be to make the microcontroller DO SOMETHING to the actuator based on the input data given by the sensor. Here is where your programming skills will help. Also, having the source code for some standard operations will help immensely as C-Progamming is all about reusability of the code !
STEP 6:
You either create a useful application with this OR can go further by taking another sensor of the same group, repeat the above steps and then compare your results. That becomes a comparative study.

Please note : Such studies involving hardware, software, sensors and actuators will be hihly appreciated by academicians as it will help you to project your command and understanding of the work you have done. 

Tomorrow, I will give some tips on Communication systems.

Hope this is of some help !

Good Day

Tuesday, May 31, 2011

Embedded Systems Domain

SWAMI VIVEKANANDA INSTITUTE OF TECHNOLOGY
Mahbub College Campus, Patny Center, Secunderabad - 500 003
Department of Electronics and Communication Engineering
Embedded System Design
1
07P71A0475
UBIDI RAMAKRISHNA
2
08P71A0401
ABHINAV SUSHANTH G
3
08P71A0405
AKHILA GANGAVARAPU
4
08P71A0406
AKSHAY NEELAKANTAM
5
08P71A0408
ARAVIND KOTHWAL
6
08P71A0410
ASHWINI M
7
08P71A0412
BHARAT KUMAR REDDY SANTAM
8
08P71A0414
BHAVYA KALLAM
9
08P71A0418
GANESH AVULA
10
08P71A0419
GAUTAM PREM J.
11
08P71A0420
GAYATHRI RADHA KRISHNA
12
08P71A0423
HASMI BHUKYA
13
08P71A0424
HONILA VIJAY KUMAR
14
08P71A0425
KIRAN KUMAR JWALA
15
08P71A0426
KALPAVALLI VADLAKONDA
16
08P71A0429
KRANTHI KUMAR G.
17
08P71A0430
KRISHNA GOVIND PRATURI
18
08P71A0432
KUSHAL KUMAR PONUGONTI
19
08P71A0433
LALITHA RAVALI CHINTALURI
20
08P71A0435
MADAVI SATYHYADEEPA
21
08P71A0442
MANI KUMAR DOTHULA
22
08P71A0443
MANISHA THAKUR
23
08P71A0444
MANOHAR BAVANDLAPALLI
24
08P71A0450
MOUNIKA GOUD P
25
08P71A0451
MOURYA NARAPUREDDY
26
08P71A0453
NARESH KUMAR BANDIRALA
27
08P71A0456
NIKHILA KARLAPALEM
28
08P71A0462
PRANAYA KANDAY
29
08P71A0470
PURNA CHANDRA GORENTLA
30
08P71A0473
RAKHEE BADAM
31
08P71A0475
RASHIMI ARIMILLI
32
08P71A0477
ROHIT CELUR
33
08P71A0479
SADHANA YERRAVALLY
34
08P71A0482
SAI SRI SINDHUJA PRAGADARAJU
35
08P71A0483
SAI SRIRAM MUTNURI
36
08P71A0484
SAI SUMANA CHAVALLA
37
08P71A0487
SANDEEP DASAKA
38
08P71A0488
SANTOSH KUMAR CHALLA
39
08P71A0493
SHANTHI KAMMARI
40
08P71A0495
SHILPA CHINTALA
41
08P71A04A4
SRI LATHA ERRA
42
08P71A04A5
SRIKANTH DYAVANAPELLI
43
08P71A04A7
SRINIVASULU M.
44
08P71A04A8
SRINIVASULU K.
45
08P71A04A9
SRUJAN KUMAR VUPPALA
46
08P71A04B0
SUPRAJA KOMMU
47
08P71A04B1
SURENDER REDDY SANGEPALLY
48
08P71A04B3
SWATHI PALANKTODU
49
08P71A04B4
TAHNIYAT SUBHAN
50
08P71A04B7
VANDANA ADHAIKUNTA
51
08P71A04B9
VARSHA S.
52
08P71A04C2
VIJAY KUMAR ARROLLA
53
08P71A04C3
VIJAY KUMAR KODAM
54
09P75A0403
BRIJ MOHAN AYINDALA
55
09P75A0404
DEEPIKA PUPPALA
56
09P75A0405
DHANRAJ NAIK P
57
09P75A0409
G. SARITHA