📞 0339-0387701 (WhatsApp)
Contact
☰
🔍
Home
Important MCQs
Computer
Current Affairs
Data Science & AI (NCCIA)
Database & Data Handling (NCCIA)
English
Everyday Science
General Knowledge
General Science
Information & Networking (NCCIA)
Islamic Studies MCQs
Maths MCQs
Pak Study
Pedagogy
Software Engineering (NCCIA)
Telecom / Electrical Fundamentals (NCCIA)
Urdu MCQs
Past Papers
ASF Past Papers
FIA Past Papers
FPSC Past Papers
NCCIA Past Papers
NTS Past Papers
PPSC Past Papers
Latest Jobs
Army Jobs
Education Department
Federal Govt Jobs
Health Department
Police Jobs
Sindh Govt Jobs
Resources
About Us
Contact
🔍
Home
» Which lock type allows reading but blocks writing by others?
« Back to Database & Data Handling (NCCIA)
Which lock type allows reading but blocks writing by others?
A. Exclusive lock
B. Shared lock ✅
C. No lock
D. Deadlock
Correct Answer:
B. Shared lock
Explanation
A shared lock allows multiple transactions to read but blocks exclusive writes.
An exclusive lock blocks both reads and writes by others in most systems.
« What is meant by serializability?
What is an exclusive lock? »
Related MCQs
Which of the following is an example of a partial key?
A weak entity set is converted to a table whose primary key is:
What is meant by serializability?
Which pair is a many-to-many relationship?
The relational algebra operation PROJECT (pi) is used to:
When choosing a primary key, which property is most important?
How many rows are in a junction table if 4 Students each enrol in 3 Courses?
Which data type would store both date and time, such as 2026-11-27 10:30:00?