wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

RTOS Week 6

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

A message queue is a buffer-like object through which tasks send and receive messages to communicate and synchronize with data

a)

True

b)

False

2.

Message queue permanently holds messages from a sender until the intended receiver is ready to read them.

a)

True

b)

False

3.

When a message queue is first created, the FSM is in the full state

a)

True

b)

False

4.

Message queue usually either a FIFO or priority-based order

a)

True

b)

False

5.

Message queue state only consist of two states : empty and not empty

a)

True

b)

False

6.

If the number of messages in the queue is equal to the queue's length, it means the message queue's state becomes full

a)

True

b)

False

7.

Message queue need one copy mechanism when deliver message from sender task to receiver task

a)

True

b)

False

8.

Message queue can be used to send temperature value from a sensor

a)

True

b)

False

9.

System pool requires enough reserved memory area for the full capacity of every message queue that will be created.

a)

True

b)

False

10.

In a destructive read, when a task successfully receives a message from a queue, the task permanently removes the message from the message queue’s storage buffer

a)

True

b)

False