CST8244 Midterm Exam CST 8244 Midterm Exam | Questions and
Answers | 2026 Update | 100% Correct - Algonquin College.
(username: dage0104)
Attempt 1
Written: Feb 21, 2026 8:25 AM - Feb 21, 2026 9:15 AM
Submission View
Your quiz has been submitted successfully.
Question 1 point
Which of the following is not a valid scheduling algorithm in QNX?
Sporadic
Other
FIFO
Round Robin
LIFO
Question 2 point
Recall in "Lab 2 – Hello World" you created your first QNX Neutrino program. Assuming you run
Hello World from the IDE, the call to getppid() will return the process ID of which process?
… 1/18
, Momentics IDE
qconn
procnto
ksh
VMware
Question 3 point
QNX's Neutrino provides a scheduling algorithm named 'other'. Which scheduling algorithm
listed below is the same as 'other'?
FIFO
Sporadic
LIFO
Round Robin
… 2/18
, Shortest Job First
Question 4 point
Recall in Lab4 – Thread Synchronization, you created a named semaphore by calling the
sem_open() function. Which function should you call to destroy the named semaphore?
sem_join()
sem_unlink()
sem_destroy()
sem_close()
sem_remove()
Question 5 point
Which form of IPC provided by the QNX Neutrino kernel usually results in the termination of a
process?
Message Passing
Pulses
Semaphores
Signals
Shared Memory
Question 6 point
Suppose one thread owns a mutex associated with a particular resource and two other threads
are waiting for the same resource. Next, the thread which owns the mutex gives it up when
finished with the resource. Which thread should get the mutex? Neutrino uses two criteria to
decide. What are the two criteria, in-order of precedence?
priority level and size of process
length of wait and priority level
priority level and number of time-slices
priority level and budget-time
priority level and length of wait
… 3/18
Answers | 2026 Update | 100% Correct - Algonquin College.
(username: dage0104)
Attempt 1
Written: Feb 21, 2026 8:25 AM - Feb 21, 2026 9:15 AM
Submission View
Your quiz has been submitted successfully.
Question 1 point
Which of the following is not a valid scheduling algorithm in QNX?
Sporadic
Other
FIFO
Round Robin
LIFO
Question 2 point
Recall in "Lab 2 – Hello World" you created your first QNX Neutrino program. Assuming you run
Hello World from the IDE, the call to getppid() will return the process ID of which process?
… 1/18
, Momentics IDE
qconn
procnto
ksh
VMware
Question 3 point
QNX's Neutrino provides a scheduling algorithm named 'other'. Which scheduling algorithm
listed below is the same as 'other'?
FIFO
Sporadic
LIFO
Round Robin
… 2/18
, Shortest Job First
Question 4 point
Recall in Lab4 – Thread Synchronization, you created a named semaphore by calling the
sem_open() function. Which function should you call to destroy the named semaphore?
sem_join()
sem_unlink()
sem_destroy()
sem_close()
sem_remove()
Question 5 point
Which form of IPC provided by the QNX Neutrino kernel usually results in the termination of a
process?
Message Passing
Pulses
Semaphores
Signals
Shared Memory
Question 6 point
Suppose one thread owns a mutex associated with a particular resource and two other threads
are waiting for the same resource. Next, the thread which owns the mutex gives it up when
finished with the resource. Which thread should get the mutex? Neutrino uses two criteria to
decide. What are the two criteria, in-order of precedence?
priority level and size of process
length of wait and priority level
priority level and number of time-slices
priority level and budget-time
priority level and length of wait
… 3/18