DBMS — MCQ Practice

Hindi aur English dono mein practice karo — click karo answer check karne ke liye

📚 136 Questions 🌐 Hindi + English ✅ Free
भाषा / Language:
136 questions
61
EN + हिं
GB Let us consider phone_number ,which can take single or several values . Treating phone_numberasan _________ permits instructors to have several phone numbers (including zero) associated with them.
IN आइए फ़ोन_नंबर पर विचार करें, जो एकल या कई मान ले सकता है। फ़ोन_नंबर_________ का उपयोग करने से प्रशिक्षकों को अपने साथ कई फ़ोन नंबर (शून्य सहित) संबद्ध करने की अनुमति मिलती है।
A
Entity इकाई
B
Attribute गुण
C
Relation रिश्ता
D
Value कीमत
✅ Correct Answer:
62
EN + हिं
GB Which of the following can be used to get those items that fall within a range?
IN निम्नलिखित में से किसका उपयोग उन वस्तुओं को प्राप्त करने के लिए किया जा सकता है जो एक सीमा के भीतर आती हैं?
A
IN में
B
BETWEEN बीच में
C
DISTINCT विशिष्ट
D
LIKE पसंद
✅ Correct Answer:
63
EN + हिं
GB Which of the following is not a data definition language statement?
IN निम्नलिखित में से कौन सा डेटा परिभाषा भाषा कथन नहीं है?
A
CREATE बनाएं
B
ALTER ऑल्टर
C
DROP बूँद
D
SELECT चुनना
✅ Correct Answer:
64
EN + हिं
GB The subset of super key is a candidate key under what condition ?
IN सुपर कुंजी का उपसमुच्चय किस स्थिति में उम्मीदवार कुंजी है?
A
No proper subset is a super key कोई भी उचित उपसमुच्चय सुपर कुंजी नहीं है
B
All subsets are super keys सभी उपसमुच्चय सुपर कुंजियाँ हैं
C
Subset is a super key सबसेट एक सुपर कुंजी है
D
Each subset is a super key प्रत्येक उपसमुच्चय एक सुपर कुंजी है
✅ Correct Answer:
65
EN + हिं
GB Dedicated server configuration is
IN समर्पित सर्वर कॉन्फ़िगरेशन है
A
One server process – Many user processes एक सर्वर प्रक्रिया - कई उपयोगकर्ता प्रक्रियाएँ
B
Many server processes – One user process कई सर्वर प्रक्रियाएँ - एक उपयोगकर्ता प्रक्रिया
C
One server process – One user process एक सर्वर प्रक्रिया - एक उपयोगकर्ता प्रक्रिया
D
Many server processes – Many user processes कई सर्वर प्रक्रियाएँ - कई उपयोगकर्ता प्रक्रियाएँ
✅ Correct Answer:
66
EN + हिं
GB Which of the following trigger is executed once for each row in a transaction?
IN लेनदेन में प्रत्येक पंक्ति के लिए निम्नलिखित में से कौन सा ट्रिगर एक बार निष्पादित किया जाता है?
A
Row-level Triggers पंक्ति-स्तरीय ट्रिगर
B
Statement-level Triggers कथन-स्तरीय ट्रिगर
C
Repetitive Triggers दोहराए जाने वाले ट्रिगर
D
All of the above ऊपर के सभी
✅ Correct Answer:
67
EN + हिं
GB Which type of entity represents a logical generalization whose actual occurrence is represented by a second, associated entity?
IN किस प्रकार की इकाई एक तार्किक सामान्यीकरण का प्रतिनिधित्व करती है जिसकी वास्तविक घटना एक दूसरी, संबद्ध इकाई द्वारा दर्शायी जाती है?
A
Supertype entity सुपरटाइप इकाई
B
Subtype entity उपप्रकार इकाई
C
Archetype entity मूलरूप इकाई
D
Instance entity उदाहरण इकाई
✅ Correct Answer:
68
EN + हिं
GB Which of the following is an aggregate function in SQL?
IN निम्नलिखित में से कौन सा SQL में एक समग्र फ़ंक्शन है?
A
Union मिलन
B
Like पसंद
C
Group By द्वारा समूह बनाएं
D
Max अधिकतम
✅ Correct Answer:
69
EN + हिं
GB The concept of locking can be used to solve the problem of
IN की समस्या को हल करने के लिए लॉकिंग की अवधारणा का उपयोग किया जा सकता है
A
Lost update अपडेट खो गया
B
Uncommitted dependency अप्रतिबद्ध निर्भरता
C
Inconsistent data असंगत डेटा
D
Deadlock गतिरोध
✅ Correct Answer:
70
EN + हिं
GB Given the following relation it is not 3 NF because Student (roll no, name, course no, course max. marks, year of study, address)
IN निम्नलिखित संबंध को देखते हुए यह 3 एनएफ नहीं है क्योंकि छात्र (रोल नंबर, नाम, पाठ्यक्रम संख्या, पाठ्यक्रम अधिकतम अंक, अध्ययन का वर्ष, पता)
A
it is not in 2 NF यह 2 एनएफ में नहीं है
B
it does not have composite key इसमें समग्र कुंजी नहीं है
C
non-key attributes course no and course max. marks are functionally dependent गैर-प्रमुख विशेषताएँ पाठ्यक्रम संख्या और पाठ्यक्रम अधिकतम। अंक कार्यात्मक रूप से निर्भर हैं
D
it has more than 3 non-key attributes इसमें 3 से अधिक गैर-कुंजी विशेषताएँ हैं
✅ Correct Answer:
71
EN + हिं
GB Which of the following is not true about indexes?
IN निम्नलिखित में से कौन सा सूचकांक के बारे में सत्य नहीं है?
A
Indexes are created to enforce uniqueness on columns. स्तंभों पर विशिष्टता लागू करने के लिए अनुक्रमणिकाएँ बनाई जाती हैं।
B
Indexes are created to enable fast retrieval by column values. स्तंभ मानों द्वारा तेजी से पुनर्प्राप्ति को सक्षम करने के लिए अनुक्रमणिकाएँ बनाई जाती हैं।
C
Columns that are frequently used with equal conditions in WHERE clauses are good candidates for indexes. WHERE क्लॉज में समान शर्तों के साथ अक्सर उपयोग किए जाने वाले कॉलम इंडेक्स के लिए अच्छे उम्मीदवार होते हैं।
D
Indexes are created with the ALTER TABLE command. इंडेक्स ALTER TABLE कमांड से बनाए जाते हैं।
✅ Correct Answer:
72
EN + हिं
GB The relational model feature is that there
IN संबंधपरक मॉडल की विशेषता यह है कि वहाँ
A
is no need for primary key data. प्राथमिक कुंजी डेटा की कोई आवश्यकता नहीं है.
B
is much more data independence than some other database models. कुछ अन्य डेटाबेस मॉडलों की तुलना में यह बहुत अधिक डेटा स्वतंत्रता है।
C
are explicit relationships among records. अभिलेखों के बीच स्पष्ट संबंध हैं।
D
are tables with many dimensions. कई आयामों वाली तालिकाएँ हैं।
✅ Correct Answer:
73
EN + हिं Medium
GB What is a covering index and how does it eliminate the need for a table lookup?
IN कवरिंग इंडेक्स क्या है और यह टेबल लुकअप की आवश्यकता को कैसे समाप्त करता है?
A
An index that covers the entire table physically एक सूचकांक जो संपूर्ण तालिका को भौतिक रूप से कवर करता है
B
An index that automatically covers all queries एक सूचकांक जो स्वचालित रूप से सभी प्रश्नों को कवर करता है
C
An index that contains all the columns needed to satisfy a query - when the query engine can find all required data directly in the index leaves without accessing the base table (heap lookup) dramatically improving query performance एक इंडेक्स जिसमें किसी क्वेरी को संतुष्ट करने के लिए आवश्यक सभी कॉलम शामिल होते हैं - जब क्वेरी इंजन बेस टेबल (हीप लुकअप) तक पहुंच के बिना सीधे इंडेक्स लीव्स में सभी आवश्यक डेटा पा सकता है, तो क्वेरी प्रदर्शन में नाटकीय रूप से सुधार होता है
D
An index that covers all tables in a schema एक सूचकांक जो एक स्कीमा में सभी तालिकाओं को कवर करता है
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Covering index: includes all columns referenced by the query (SELECT, WHERE, ORDER BY, GROUP BY). Query can be answered from the index alone - no additional heap/table lookup. Example: INDEX(dept_id, salary, name) covers SELECT name, AVG(salary) WHERE dept_id=5 GROUP BY dept_id - all columns in index.
व्याख्या (हिन्दी) कवरिंग इंडेक्स: क्वेरी द्वारा संदर्भित सभी कॉलम शामिल हैं (SELECT, WHERE, ORDER BY, GROUP BY)। क्वेरी का उत्तर अकेले सूचकांक से दिया जा सकता है - कोई अतिरिक्त ढेर/टेबल लुकअप नहीं। उदाहरण: INDEX(dept_id, वेतन, नाम) SELECT नाम, AVG(वेतन) को कवर करता है जहां dept_id=5 ग्रुप BY dept_id - इंडेक्स में सभी कॉलम।
74
EN + हिं Easy
GB What is a bitmap index and in what scenarios is it more efficient than a B-tree index?
IN बिटमैप इंडेक्स क्या है और किन परिदृश्यों में यह बी-ट्री इंडेक्स से अधिक कुशल है?
A
A type of hash index using bitmap hashing बिटमैप हैशिंग का उपयोग करते हुए एक प्रकार का हैश इंडेक्स
B
An index stored as binary data बाइनरी डेटा के रूप में संग्रहीत एक सूचकांक
C
A compressed B-tree index using bitmaps बिटमैप्स का उपयोग करके एक संपीड़ित बी-ट्री इंडेक्स
D
An index type where each distinct value has a bit vector (one bit per table row) indicating which rows have that value - highly efficient for low-cardinality columns in read-heavy OLAP environments but expensive to maintain in concurrent write environments एक सूचकांक प्रकार जहां प्रत्येक विशिष्ट मान में एक बिट वेक्टर (प्रति तालिका पंक्ति में एक बिट) होता है जो दर्शाता है कि किन पंक्तियों में वह मान है - पढ़ने-भारी ओएलएपी वातावरण में कम-कार्डिनैलिटी कॉलम के लिए अत्यधिक कुशल लेकिन समवर्ती लेखन वातावरण में बनाए रखना महंगा है
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Bitmap index: for gender column (M/F), two bitmaps: M=1010011..., F=0101100... AND/OR bitmaps for complex filters (dept=Sales AND status=active AND region=East). Extremely fast for OLAP. Bad for OLTP: bitmap locking granularity causes lock contention on concurrent updates.
व्याख्या (हिन्दी) बिटमैप इंडेक्स: लिंग कॉलम (एम/एफ) के लिए, दो बिटमैप: एम=1010011..., एफ=0101100... और/या जटिल फिल्टर के लिए बिटमैप (विभाग=बिक्री और स्थिति=सक्रिय और क्षेत्र=पूर्व)। OLAP के लिए अत्यंत तेज़. ओएलटीपी के लिए खराब: बिटमैप लॉकिंग ग्रैन्युलैरिटी समवर्ती अपडेट पर लॉक विवाद का कारण बनती है।
75
EN + हिं Medium
GB What is index selectivity and how does it determine whether an index will be used by the query optimizer?
IN सूचकांक चयनात्मकता क्या है और यह कैसे निर्धारित करती है कि क्वेरी अनुकूलक द्वारा सूचकांक का उपयोग किया जाएगा या नहीं?
A
The percentage of rows that match a given query किसी दी गई क्वेरी से मेल खाने वाली पंक्तियों का प्रतिशत
B
The number of levels in a B-tree index बी-ट्री इंडेक्स में स्तरों की संख्या
C
The speed at which an index returns results वह गति जिस पर कोई सूचकांक परिणाम देता है
D
The ratio of distinct values to total rows (cardinality/total_rows); high selectivity (close to 1 like unique ID) means the index filters effectively; low selectivity (close to 0 like boolean) makes the index inefficient - optimizer may choose full scan over low-selectivity index access कुल पंक्तियों के लिए विशिष्ट मानों का अनुपात (कार्डिनैलिटी/कुल_पंक्तियाँ); उच्च चयनात्मकता (अद्वितीय आईडी की तरह 1 के करीब) का मतलब है कि सूचकांक प्रभावी ढंग से फ़िल्टर होता है; कम चयनात्मकता (बूलियन की तरह 0 के करीब) सूचकांक को अक्षम बनाता है - ऑप्टिमाइज़र कम-चयनात्मकता सूचकांक पहुंच पर पूर्ण स्कैन चुन सकता है
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Selectivity = distinct_values / total_rows. High selectivity (0.9-1.0): index very useful, few rows per key value (like customer_id). Low selectivity (0.001): like is_active (True/False) - index returns 50% of rows, full scan may be faster. Optimizer uses selectivity estimates to decide index usage.
व्याख्या (हिन्दी) चयनात्मकता = विशिष्ट_मूल्य/कुल_पंक्तियाँ। उच्च चयनात्मकता (0.9-1.0): सूचकांक बहुत उपयोगी, प्रति कुंजी मान पर कुछ पंक्तियाँ (जैसे customer_id)। कम चयनात्मकता (0.001): जैसे is_active (सही/गलत) - सूचकांक 50% पंक्तियों को लौटाता है, पूर्ण स्कैन तेज हो सकता है। ऑप्टिमाइज़र सूचकांक उपयोग तय करने के लिए चयनात्मकता अनुमान का उपयोग करता है।
61–75 of 136