CST 8244 Final Exam | Questions And Answers
| 2026/2027 Update | 100% Correct - Algonquin
College With Complete Solution 100% Pass.
skip to main content
Question 1
Which of the following forms of IPC are found only on QNX?
Question options:
Pipes (named and unnamed)
Message queues
Signals
Shared memory
Pulses
Question 2
Suppose you create a named semaphore by calling the
sem_open() function. Which function should you call to destroy
the semaphore?
Question options:
sem_close()
sem_join()
sem_remove()
sem_unlink()
sem_destroy()
Question 3
CTRL-C results in which signal being sent?
Question options:
SIGCTR
, SIGKILL
SIGUSR1
SIGINT
SIGTERM
Question 4
Recall Lab3 – Processes and Signals. In part A of the lab, you
registered a user-defined function, named handler(), to be the
interrupt service routine (ISR) when the process receives a
SIGUSR1 signal. The handler() function is defined as:
void handler() {
usr1Happened = 1;
}
What is the correct declaration of the usr1Happened variable in
the 'C' programming language?
Question options:
sig_atomic_t user1Happened;
volatile bool usr1Happened;
volatile sig_action_t usr1Happened;
volatile sig_atomic_t usr1Happened;
int usr1Happened;
Question 5
Bad news… man pages are not available from the Neutrino
command line. Which command should you use instead?
Question options:
use
, apropos
The man command works, provided you use the -t[erminal]
option
wget
explain
Question 6
What is the shortest interval available for a tick in QNX?
Question options:
Femtoseconds
Picoseconds
Nanoseconds
Milliseconds
Microseconds
Question 7
How does a server process receive messages and pulses?
Question options:
In priority order for messages, FIFO for pulses
First-in, first-out (FIFO)
In FIFO order for messages, priority order for pulses
Last-in, first-out (LIFO)
In priority order
Question 8
Whenever a client opens a new connection to a resource manager
(resmgr), a unique structure is created. This unique structure can
be used to track the interactions between that specific client and
the resource manager. What is the name of this unique structure?
Question options:
Message Control Block (mcb)
ResMgr Control Block (rcb)
Open Control Block (ocb)
| 2026/2027 Update | 100% Correct - Algonquin
College With Complete Solution 100% Pass.
skip to main content
Question 1
Which of the following forms of IPC are found only on QNX?
Question options:
Pipes (named and unnamed)
Message queues
Signals
Shared memory
Pulses
Question 2
Suppose you create a named semaphore by calling the
sem_open() function. Which function should you call to destroy
the semaphore?
Question options:
sem_close()
sem_join()
sem_remove()
sem_unlink()
sem_destroy()
Question 3
CTRL-C results in which signal being sent?
Question options:
SIGCTR
, SIGKILL
SIGUSR1
SIGINT
SIGTERM
Question 4
Recall Lab3 – Processes and Signals. In part A of the lab, you
registered a user-defined function, named handler(), to be the
interrupt service routine (ISR) when the process receives a
SIGUSR1 signal. The handler() function is defined as:
void handler() {
usr1Happened = 1;
}
What is the correct declaration of the usr1Happened variable in
the 'C' programming language?
Question options:
sig_atomic_t user1Happened;
volatile bool usr1Happened;
volatile sig_action_t usr1Happened;
volatile sig_atomic_t usr1Happened;
int usr1Happened;
Question 5
Bad news… man pages are not available from the Neutrino
command line. Which command should you use instead?
Question options:
use
, apropos
The man command works, provided you use the -t[erminal]
option
wget
explain
Question 6
What is the shortest interval available for a tick in QNX?
Question options:
Femtoseconds
Picoseconds
Nanoseconds
Milliseconds
Microseconds
Question 7
How does a server process receive messages and pulses?
Question options:
In priority order for messages, FIFO for pulses
First-in, first-out (FIFO)
In FIFO order for messages, priority order for pulses
Last-in, first-out (LIFO)
In priority order
Question 8
Whenever a client opens a new connection to a resource manager
(resmgr), a unique structure is created. This unique structure can
be used to track the interactions between that specific client and
the resource manager. What is the name of this unique structure?
Question options:
Message Control Block (mcb)
ResMgr Control Block (rcb)
Open Control Block (ocb)