Top 80+ Solved Multi-core processors MCQ Questions Answer

From 16 to 30 of 61

Q. processes to solve the critical section problem.

a. . one

b. . two

c. . three

d. . four

  • b. . two

Q. Spinlocks are intended to provide                   only.

a. . mutual exclusion

b. . bounded waiting

c. . aging

d. . progress

  • b. . bounded waiting

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

  • d. . lower resource consumption

Q. How many times will process P0 print '0'?

a. . at least twice

b. . one

c. . three

d. . none of the above

  • c. . three

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

a. . better system utilization

b. . deadlock can never occur

c. . responsiveness

d. . faster execution

  • c. . responsiveness

Q. code, resources or data in such a way that only one process has access to shared object at a time.

a. . readers_writer locks

b. . barriers

c. . semaphores

d. . mutual exclusion

  • c. . semaphores

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

a. . mutual exclusion

b. . progress

c. . bounded waiting

d. . all of the mentioned

  • d. . all of the mentioned

Q. 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. processes to solve the critical section problem.

a. . one

b. . two

c. . three

d. . four

  • b. . two

Q. What are Spinlocks?

a. cpu cycles wasting locks over critical sections of programs

b. locks that avoid time wastage in context switches

c. locks that work better on multiprocessor systems

d. all of the mentioned

  • d. all of the mentioned
Subscribe Now

Get All Updates & News