The number of modes in which a transaction may request a Lock in multiple-granularity Locking is : 

This question was previously asked in
NIELIT Scientific Assistant IT 5 Dec 2021 Official Paper
View all NIELIT Scientific Assistant Papers >
  1. Two 
  2. Five 
  3. Three 
  4. Six

Answer (Detailed Solution Below)

Option 4 : Six
Free
NIELIT Scientific Assistant Quantitative Aptitude Mock Test
0.9 K Users
20 Questions 20 Marks 30 Mins

Detailed Solution

Download Solution PDF

The correct answer is: option 4: Six

Concept:

In **multiple-granularity locking**, a transaction can request locks at different levels of a hierarchy (e.g., database, table, page, record), and **six types of lock modes** are defined to support both shared and exclusive access while maintaining concurrency control.

The six lock modes are:

  1. IS (Intent Shared) – Indicates intention to acquire shared locks at a lower level.
  2. IX (Intent Exclusive) – Indicates intention to acquire exclusive locks at a lower level.
  3. S (Shared) – Allows shared access to a data item.
  4. SIX (Shared Intent Exclusive) – A combination of S and IX. Shared lock on current level and intent exclusive on lower levels.
  5. X (Exclusive) – Allows read and write access to a data item.
  6. NULL – No lock held (may be considered in lock compatibility matrices).

Explanation of options:

  • Option 1 – Two: ❌ Only covers S and X, not sufficient for multigranularity.
  • Option 2 – Five: ❌ Missing one of the standard modes.
  • Option 3 – Three: ❌ Too few; excludes intent modes.
  • Option 4 – Six: ✅ Correct. Standard multigranularity locking defines six modes.

Hence, the correct answer is: option 4: Six

Latest NIELIT Scientific Assistant Updates

Last updated on Jul 3, 2025

-> NIELIT Scientific Assistant answer key 2025 has been released at the official website. 

-> NIELIT Scientific Assistant admit card 2025 has been released. 

-> NIELIT Scientific Assistant city intimation slip 2025 has been released at the official website.

-> NIELIT Scientific Assistant exam 2025 is scheduled to be conducted on June 28. 

-> A total number of 113 revised vacancies have been announced for the post of Scientific Assistant in Computer Science (CS), Information Technology (IT), and Electronics & Communication (EC) streams.

-> Online application form, last date has been extended up to from 17th April 2025.

->The NIELT has revised the Essential Qualifications for the post of Scientific Assistant. Candidates must possess (M.Sc.)/ (MS)/ (MCA) / (B.E.)/ (B.Tech) in relevant disciplines.

 

-> The NIELIT Scientific Assistant 2025 Notification has been released by the National Institute of Electronics and Information Technology (NIELIT).

More Concurrency Control Questions

Get Free Access Now
Hot Links: teen patti comfun card online teen patti win teen patti wala game