Looking for COMP 6411 AA 2251 (Summer 2025) test answers and solutions? Browse our comprehensive collection of verified answers for COMP 6411 AA 2251 (Summer 2025) at moodle.concordia.ca.
Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!
The logic employed in multi-user database management systems was the inspiration for which type of concurrency?
If the compiler partitions the iterations of a loop across processors in a multi-processor computing system, we refer to this as
How many semaphores do we need to support Cooperation synchronization?
We have the following piece of Ada code. Let us assume that two Bar messages have arrived before we get to the accept clause. During the processing of the accept clause a third Bar message arrives.
How many Bar messages will this task process in total?
task body Foo is begin -- do some non-message Foo processing here accept Bar (parameters) do -- do Bar processing here end Bar; -- do some non-message Foo processing here end Foo;
Which data type is used by Clojure's STM?
Let's say that we are writing a concurrent Java program.
A group of threads are waiting for a certain condition to become true, and each calls wait so that they can be informed about changes that will occur at some future point. The wait calls occur in the following order:
thread1 calls wait
thread2 calls wait
thread3 calls wait
thread4 now changes some shared variable, and needs to inform the others about the change. So thread4 invokes the following
notify
Which of the threads will be notified, given the order in which they called wait?
pthreads are built-in to the syntax of which language?
In Ada, entry points are defined in...
Assume that we have the Clojure code below (the syntax is valid, the @foo notation represents the value of foo ). Given this code, which of the following observations is true?
(def foo (future (Thread/sleep 2000) 4000 ))
(println
@foo)
Assume that we have the Clojure code below. What would the println statement display?
(def foo (atom 10))(future (swap! foo + 15))(future (swap! foo - 5))(Thread/sleep 2000)(println (deref foo))