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!

In the following snippet of Python code, what does the * signify?

def foo(bar, baz, *bat) :

 # function body

View this question

Which of the following languages does NOT allow the programmer to specify default parameter values?

You may select more than one answer but incorrect answers will reduce the overall score (the result can never be less than 0)

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

Which of the following language only uses pass by value?

0%
0%
0%
0%
View this question

C++ templates are an example of

0%
0%
0%
0%
View this question

Let's say that we design a new Java class called Stuff that has 6 methods in total. Four of these methods will defined as synchronized. Two of the synchronized methods will modify a data structure called foo in the instantiated object. The other two synchronized methods will modify a data structure called bar.

We then create a new Stuff object. It is now concurrently (i.e., at the same time) accessed by 6 different threads. Each of the 6 threads calls a different one of the 6 methods (so all 6 methods are being invoked).

How many of the 6 threads will have to wait/block at this moment?

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

Which of the following would be considered to be a user level thread (or task or process)?

You may select more than one answer but incorrect answers will reduce the overall point value for the question (the final score will never be less than 0)

0%
0%
0%
0%
View this question

Let's say that we are trying to support competition synchronization in a producer-consumer environment, in which we have 6 producers and 9 consumers. Moreover, we have decided to use semaphores.

Given this, how big is the range of values associated with the semaphore counter that ensures this form of synchronization. (For example, if [0, 1, 2, 3, 4] were all possible values for the counter, then the range would be of size 5)

0%
0%
0%
0%
View this question

Let's say that we have a large computing system that has 64 standard compute cores that can process any type of instruction, and 1 TB (TeraByte) of RAM. This is a single computer, not a group of computers. Moreover, this computer is clearly a multi-processor, as it has 64 cores.

We would classify this kind of system as...

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

Which of the following statements is false?

If you believe that all statements are true, then select the "All statements are true" option.

View this question

Which of the following statements is true?

Note that you may select more than one answer but incorrect answers will reduce the overall score for the question (the final score can never be negative)

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