You are on page 1of 1

Arrival

Task T(Pi)
Time
1 80 0
2 20 10
VI SEM /AI&DS/21.03.2024 /56 Students
3 10 10
CS3691 – EMBEDDED SYSTEMS AND IoT 4 20 40
Max Marks: 50 Duration: 1 Hr and 30minutes 5 50 45
CONTINUOUS INTERNAL ASSESSMENT TEST – II
PART – A ( 5 x 2=10 ) i. Draw Gantt Chart, using RR scheduling with a quantum of 15
ii. Calculate average turn around time, average waiting time and also
1. Define context switching. Context switching time.
2. Why do we need RTOS?
3. Write the embedded C code for blinking and LED for every OR
5000 milliseconds
4. State the difference between non pre emptive and pre emptive b. Assume that the following tasks are to be executed with one
scheduling processor, with the following tasks arriving and deadline in the
5. State the types of memories in 8051 and also State it's sizes order listed below

PART – B( 2 ×13=26 )

6. a. Write an embedded C program for 4 cross 3 keyboard Execution Deadline Time


Task
interface Time(Ci) (Di) Period(Ti)
OR 1 1 4 4
b. Write an embedded code for interfacing 7 segment display 2 2 6 6
7. a. Elucidate how agriculture is automated using IoT 3 3 8 8
OR
b. Describe Home Automation using IoT
. i. Draw Gantt chart using EDF scheduling
ii. Find average turn around time, average waiting time and also CPU
PART – C( 1 ×14=14 ) Utilization Time.
8. a. Assume that the following tasks are to be executed with one
processor, with the following tasks arriving in the order listed
below

You might also like