logo

Crowdly

Browser

Add to Chrome

COMP 6411 AA 2251 (Summer 2025)

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?

0%
0%
0%
0%
View this question

If the compiler partitions the iterations of a loop across processors in a multi-processor computing system, we refer to this as

0%
0%
0%
0%
View this question

How many semaphores do we need to support Cooperation synchronization?

0%
0%
0%
0%
View this question

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;

0%
0%
0%
0%
0%
View this question

Which data type is used by Clojure's STM?

0%
0%
0%
0%
0%
View this question

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 waitegg 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 waitegg

thread2 calls waitegg

thread3 calls waitegg

thread4 now changes some shared variable, and needs to inform the others about the change. So thread4 invokes the following

notifyegg

Which of the threads will be notified, given the order in which they called waitegg?

0%
0%
0%
0%
View this question

pthreads are built-in to the syntax of which language?

0%
0%
0%
0%
0%
View this question

In Ada, entry points are defined in...

View this question

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)

0%
0%
0%
0%
0%
View this question

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))

0%
0%
0%
0%
0%
View this question

Want instant access to all verified answers on moodle.concordia.ca?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome