Top 150+ Solved Muli-core Architectures and Programming MCQ Questions Answer

From 31 to 45 of 120

Q. Spinlocks are intended to provide __________ only.

a. Mutual Exclusion

b. Bounded Waiting

c. Aging

d. Progress

  • b. Bounded Waiting

Q. If a process is executing in its critical section, then no other processes canbe executing in their critical section. This condition is called ___________.

a. Out-of-order execution

b. Hardware prefetching

c. Software prefetching

d. mutual exclusion

  • d. mutual exclusion

Q. A semaphore is a shared integer variable ____________.

a. lightweight process

b. that cannot drop below zero

c. program counter

d. stack space

  • b. that cannot drop below zero

Q. A critical section is a program segment ______________.

a. where shared resources are accessed

b. single thread of execution

c. improves concurrency in multi-core system

d. Lower resource consumption

  • a. where shared resources are accessed

Q. A system has 3 processes sharing 4 resources. If each process needs amaximum of 2 units, then _____________

a. Better system utilization

b. deadlock can never occur

c. Responsiveness

d. Faster execution

  • b. deadlock can never occur

Q. ____________ is the ability of multiple processes to co-ordinate their activitiesby exchange of information.

a. Deadlock

b. Synchronization

c. Mutual Exclusion

d. Cache

  • b. Synchronization

Q. Which of the following conditions must be satisfied to solve the criticalsection problem?

a. Mutual Exclusion

b. Progress

c. Bounded Waiting

d. All of the mentioned

  • d. All of the mentioned

Q. Mutual exclusion implies that ____________.

a. if a process is executing in its critical section, then no other process must be executing in their critical sections

b. if a process is executing in its critical section, then other processes must be executing in their critical sections

c. if a process is executing in its critical section, then all the resources of the system must be blocked until it finishes execution

d. none of the mentioned

  • a. if a process is executing in its critical section, then no other process must be executing in their critical sections

Q. Bounded waiting implies that there exists a bound on the number of times a process is allowed to enter its critical section ____________.

a. after a process has made a request to enter its critical section and before the request is granted

b. when another process is in its critical section

c. before a process has made a request to enter its critical section

d. none of the mentioned

  • a. after a process has made a request to enter its critical section and before the request is granted

Q. What are the two atomic operations permissible on semaphores?

a. Wait

b. Stop

c. Hold

d. none of the mentioned

  • a. Wait
Subscribe Now

Get All Updates & News