डाटाबेस र DBMS – Database & DBMS MCQ
डाटाबेस र DBMS – कम्प्युटर र IT
Database & DBMS · Computer & IT (Technical) · ५६३ प्रश्न
५६३ प्रश्न उपलब्ध। मोड छान्नुहोस्:
डाटाबेस र DBMS: प्रश्न र उत्तर
सही लागेको विकल्पमा थिच्नुहोस्। सही भए हरियो, गलत भए रातो देखिन्छ; ३ सेकेन्डपछि सही उत्तर र व्याख्या देखिन्छ।
सही: ० / ०
-
Which pair of lock modes is compatible, so that two transactions can hold them on the same data item at the same time?
सही उत्तर: क) Shared - Shared
Many transactions may read together, but an exclusive lock conflicts with every other lock.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In two-phase locking (2PL), the phase in which a transaction may acquire locks but cannot release any lock is the:
सही उत्तर: ख) Growing phase
During the growing phase, locks are only obtained and never released.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
A dirty read occurs when a transaction:
सही उत्तर: घ) Reads data written by another transaction that has not yet committed
A dirty read is reading uncommitted changes of another transaction.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Which ACID property ensures that concurrently running transactions do not interfere with each other?
सही उत्तर: क) Isolation
Isolation makes concurrent execution behave like some serial execution.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Which ACID property ensures that once a transaction commits, its changes survive a system crash?
सही उत्तर: ग) Durability
Durability guarantees that committed changes are permanent.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
With ON DELETE CASCADE on a foreign key, deleting a row in the parent table:
सही उत्तर: ग) Automatically deletes the matching rows in the child table
CASCADE carries the delete over to the dependent child rows.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Which SQL constraint ensures that values in a column satisfy a given condition, such as age >= 18?
सही उत्तर: ख) CHECK
A CHECK constraint enforces a Boolean condition on column values.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
A view in SQL is best described as a:
सही उत्तर: घ) Virtual table based on the result of a query
A view stores a query definition and presents its result as a table.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In relational algebra, which operator selects specific columns (attributes) of a relation?
सही उत्तर: ग) Projection (π)
Projection picks attributes, while selection picks rows.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
R has 6 tuples and S has 4 tuples. The maximum possible number of tuples in their natural join R ⋈ S is:
सही उत्तर: क) 24
If every tuple pair matches on the common attributes, the join has 6 x 4 = 24.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
यी अभ्यास प्रश्न हुन्, आधिकारिक प्रश्न होइनन्। पाठ्यक्रम, विज्ञापन र नतिजाका लागि सम्बन्धित निकायको आधिकारिक वेबसाइट हेर्नुहोस्। उत्तरमा गल्ती भेटे प्रश्नमुनिको "टिप्पणी / गल्ती रिपोर्ट" मा लेख्नुहोस्।
नमस्ते! पाठ्यक्रम, सामान्य ज्ञान, भाषा परीक्षा वा कुनै प्रश्नको उत्तर बुझ्न सोध्नुहोस्।
AI ले गल्ती गर्न सक्छ। महत्वपूर्ण कुरा आधिकारिक स्रोतमा जाँच्नुहोस्।