Quiz Space

Embedded C Programming End Term: 13 April 2025, Set QEF1 (January 2025 term)

Question 1

+4 marksOne correct option
  1. A

    The sender task will be blocked permanently

  2. B

    The queue will eventually be full, and the sender task will be blocked until space is available

  3. C

    The queue will clear automatically, allowing the sender to continue

  4. D

    The system will crash due to queue overflow

Question 2

+4 marksOne correct option

Consider a finite state machine (FSM) controlling a motor speed system with a single button. The states and events are defined as follows:
States:
1. STATE_STOPPED – Motor is off.
2. STATE_SLOW – Motor runs at slow speed.
3. STATE_FAST – Motor runs at fast speed.
4. STATE_OVERSPEED – Motor runs at an unsafe speed.
Events:
1. EVENT_BUTTON_PRESS – Button is pressed.
2. EVENT_SENSOR_ALERT – A sensor detects overspeed.

If the initial state is STATE_SLOW, what will be the next state after one EVENT_BUTTON_PRESS and one EVENT_SENSOR_ALERT event?

  1. A

    STATE_STOPPED

  2. B

    STATE_FAST

  3. C

    STATE_OVERSPEED

  4. D

    STATE_SLOW

Question 3

+2 marksOne correct option

What is the main issue caused by priority inversion in an RTOS?

  1. A

    High-priority tasks being blocked by low-priority tasks holding a shared resource

  2. B

    Low-priority tasks consuming all CPU time

  3. C

    Tasks executing in an unpredictable order

  4. D

    RTOS scheduler failing to schedule tasks correctly

Also asked in End Term 13 Apr 2025

18 more questions in this paper

Sign in with Google — it is free — to see every question with its answer and explanation, practise it in learning mode, or take it as a timed mock test.

More on the Embedded C Programming End Term 13 Apr 2025 Set QEF1 paper

The IIT Madras BS Embedded C Programming (Embedded C Programming) End Term paper sat on 13 Apr 2025, in the January 2025 term, set QEF1: 21 questions for 52 marks in 180 minutes. The first 3 questions are below. Sign in with Google — it is free — to see the whole paper with its answers and explanations, in learning mode or as a timed mock test.

FeatureEmbedded C Programming End Term 13 Apr 2025 Set QEF1 at a glance
TermJanuary 2025 term
SubjectEmbedded C Programming
Course codeCS2101
Questions21
Marks52
Duration180 min
MCQ20
Numerical1
Official paperIIT M ES FOUNDATION AN EXAM QEF3 13 Apr 2025
Negative markingNo negative marking.
Updated

Other sets that day

Same End Term, other subjects

More Embedded C Programming