DBMS — MCQ Practice

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

📚 146 Questions 🌐 Hindi + English ✅ Free
भाषा / Language:
146 questions
61
EN + हिं
GB Helping people keep track of things is the purpose of a(n) ________ .
IN लोगों को चीज़ों पर नज़र रखने में मदद करना a(n) ________ का उद्देश्य है।
A
Database डेटाबेस
B
Table मेज़
C
Instance उदाहरण
D
Relationship संबंध
✅ Correct Answer:
62
EN + हिं
GB Which of the following clause specifies the table or tables from where the data has to be retrieved?
IN निम्नलिखित में से कौन सा खंड उस तालिका या तालिकाओं को निर्दिष्ट करता है जहां से डेटा पुनर्प्राप्त किया जाना है?
A
Where कहाँ
B
Table मेज़
C
From से
D
None of these इनमें से कोई नहीं
✅ Correct Answer:
63
EN + हिं
GB What is the process that is done to SQL before execution, to check for proper syntax and to optimize the request called?
IN उचित सिंटैक्स की जांच करने और अनुरोध को अनुकूलित करने के लिए निष्पादन से पहले SQL में की जाने वाली प्रक्रिया क्या है?
A
Syntax checking सिंटैक्स जाँच
B
Performance tuning प्रदर्शन ट्यूनिंग
C
Parsing पदच्छेद
D
Optimizing अनुकूलन
✅ Correct Answer:
64
EN + हिं
GB In a one-to-many relationship, the entity that is on the one side of the relationship is called a(n) ________ entity.
IN एक-से-अनेक संबंध में, जो इकाई रिश्ते के एक तरफ होती है उसे (n) ________ इकाई कहा जाता है।
A
Parent माता-पिता
B
Child बच्चा
C
Instance उदाहरण
D
Subtype उप-प्रकार
✅ Correct Answer:
65
EN + हिं
GB Transaction ends
IN लेन-देन समाप्त
A
Only when it is Committed केवल तभी जब यह प्रतिबद्ध हो
B
Only when it is Rolledback केवल तभी जब यह रोलबैक हो
C
When it is Committed or Rolledback जब यह प्रतिबद्ध या रोलबैक हो
D
None of the above इनमे से कोई भी नहीं
✅ Correct Answer:
66
EN + हिं
GB Which of the following can initiate a trigger?
IN निम्नलिखित में से कौन ट्रिगर आरंभ कर सकता है?
A
INSERT डालना
B
UPDATE अद्यतन
C
DELETE मिटाना
D
All of the above ऊपर के सभी
✅ Correct Answer:
67
EN + हिं
GB Which of the following is true concerning triggers?
IN ट्रिगर्स के संबंध में निम्नलिखित में से कौन सा सत्य है?
A
We do not create them with SQL. हम उन्हें SQL के साथ नहीं बनाते हैं.
B
They execute against only some applications that access a database. वे केवल कुछ अनुप्रयोगों के विरुद्ध निष्पादित होते हैं जो डेटाबेस तक पहुंचते हैं।
C
They have an event, condition, and action. उनके पास एक घटना, स्थिति और कार्रवाई है।
D
They cannot cascade (cause another trigger to fire). वे कैस्केड नहीं कर सकते (दूसरे ट्रिगर को फायर करने का कारण)।
✅ Correct Answer:
68
EN + हिं
GB Which is a procedural extension of Oracle- SQL that offers language constructs similar tothose in imperative programming languages?
IN ओरेकल-एसक्यूएल का एक प्रक्रियात्मक विस्तार कौन सा है जो अनिवार्य प्रोग्रामिंग भाषाओं के समान भाषा निर्माण प्रदान करता है?
A
PQL पीक्यूएल
B
Advanced SQL उन्नत एसक्यूएल
C
PL/SQL पीएल/एसक्यूएल
D
SQL एसक्यूएल
✅ Correct Answer:
69
EN + हिं
GB The airline reservation system, the enables are date, flight number, place of departure, destination, type of plane & seats available. The primary key is
IN एयरलाइन आरक्षण प्रणाली में दिनांक, उड़ान संख्या, प्रस्थान स्थान, गंतव्य, विमान का प्रकार और उपलब्ध सीटें शामिल हैं। प्राथमिक कुंजी है
A
Flight number विमान संख्या
B
Flight number + place of departure उड़ान संख्या + प्रस्थान स्थान
C
Flight number+ date उड़ान संख्या+तिथि
D
Flight number + destination उड़ान संख्या + गंतव्य
✅ Correct Answer:
70
EN + हिं
GB A table that contains one or more repeating groups is in which normal form?
IN एक तालिका जिसमें एक या अधिक दोहराए जाने वाले समूह होते हैं वह किस सामान्य रूप में होती है?
A
1NF 1NF
B
2NF 2NF
C
3NF 3NF
D
Unnormalized Form असामान्य रूप
✅ Correct Answer:
71
EN + हिं
GB For every relationship, how many possible types of actions are there when enforcing minimum cardinalities?
IN प्रत्येक रिश्ते के लिए, न्यूनतम कार्डिनैलिटी लागू करते समय कितने संभावित प्रकार की कार्रवाइयां होती हैं?
A
Two दो
B
Three तीन
C
Four चार
D
Six छह
✅ Correct Answer:
72
EN + हिं
GB 4NF is designed to cope with:
IN 4NF को इनसे निपटने के लिए डिज़ाइन किया गया है:
A
Transitive dependency सकर्मक निर्भरता
B
Join dependency निर्भरता से जुड़ें
C
Multi valued dependency बहुमूल्यवान निर्भरता
D
None of these इनमें से कोई नहीं
✅ Correct Answer:
73
EN + हिं Medium
GB What is the performance difference between NESTED LOOP JOIN HASH JOIN and SORT-MERGE JOIN?
IN नेस्टेड लूप जॉइन हैश जॉइन और सॉर्ट-मर्ज जॉइन के बीच प्रदर्शन में क्या अंतर है?
A
Nested Loop: O(n*m) good for small tables/indexed access; Hash Join: O(n+m) good for large unindexed tables (requires memory for hash table); Sort-Merge: O(n log n + m log m) good when inputs are already sorted नेस्टेड लूप: O(n*m) छोटी तालिकाओं/अनुक्रमित पहुंच के लिए अच्छा है; हैश जॉइन: O(n+m) बड़ी अनइंडेक्स्ड तालिकाओं के लिए अच्छा है (हैश तालिका के लिए मेमोरी की आवश्यकता होती है); सॉर्ट-मर्ज: O(n log n + m log m) अच्छा है जब इनपुट पहले से ही सॉर्ट किए गए हों
B
They are equally performant in all scenarios वे सभी परिदृश्यों में समान रूप से प्रदर्शन करते हैं
C
Nested Loop is always fastest नेस्टेड लूप हमेशा सबसे तेज़ होता है
D
Hash Join is always fastest हैश जॉइन हमेशा सबसे तेज़ होता है
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Nested Loop: for each outer row, scan inner (use index). Best: small inner or indexed. Hash Join: build hash table on smaller table, probe with larger. Best: large unindexed tables. Sort-Merge: sort both, merge. Best: already-sorted inputs or when sort is needed anyway.
व्याख्या (हिन्दी) नेस्टेड लूप: प्रत्येक बाहरी पंक्ति के लिए, आंतरिक को स्कैन करें (इंडेक्स का उपयोग करें)। Best: small inner or indexed. हैश जॉइन: छोटी टेबल पर हैश टेबल बनाएं, बड़ी टेबल के साथ जांच करें। Best: large unindexed tables. Sort-Merge: sort both, merge. Best: already-sorted inputs or when sort is needed anyway.
74
EN + हिं Easy
GB In SQL what does a FULL OUTER JOIN return?
IN एसक्यूएल में फुल आउटर जॉइन क्या लौटाता है?
A
Only matching rows from both tables दोनों तालिकाओं से केवल मेल खाने वाली पंक्तियाँ
B
All rows from BOTH tables with NULLs for non-matching sides: rows matched on both sides (complete data) unmatched rows from left table (right side NULL) and unmatched rows from right table (left side NULL) गैर-मिलान पक्षों के लिए NULL के साथ दोनों तालिकाओं की सभी पंक्तियाँ: दोनों तरफ मिलान वाली पंक्तियाँ (पूर्ण डेटा), बाईं तालिका से बेजोड़ पंक्तियाँ (दाईं ओर NULL) और दाईं तालिका से बेजोड़ पंक्तियाँ (बाईं ओर NULL)
C
All rows from the left table only सभी पंक्तियाँ केवल बाईं तालिका से
D
All rows from neither table (only NULLs) किसी भी तालिका से सभी पंक्तियाँ (केवल शून्य)
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) FULL OUTER JOIN = LEFT OUTER JOIN UNION RIGHT OUTER JOIN. Result: (1) Rows matching join condition from both tables, (2) Left-only rows with NULL right columns, (3) Right-only rows with NULL left columns. Useful for: finding unmatched records in either table.
व्याख्या (हिन्दी) पूर्ण बाहरी जोड़ = बायां बाहरी जोड़ दायां बाहरी जोड़। परिणाम: (1) दोनों तालिकाओं से जुड़ने की स्थिति से मेल खाने वाली पंक्तियाँ, (2) केवल बाएँ पंक्तियाँ शून्य दाएँ स्तंभों के साथ, (3) केवल दाएँ पंक्तियाँ शून्य बाएँ स्तंभों के साथ। इसके लिए उपयोगी: किसी भी तालिका में बेजोड़ रिकॉर्ड ढूंढना।
75
EN + हिं Medium
GB What is the anti-join pattern and how is it implemented in SQL?
IN एंटी-जॉइन पैटर्न क्या है और इसे SQL में कैसे लागू किया जाता है?
A
A query pattern that returns rows from the left table that have NO matching rows in the right table implemented as: LEFT JOIN WHERE right.key IS NULL or NOT EXISTS (subquery) or NOT IN (subquery) एक क्वेरी पैटर्न जो बाईं तालिका से पंक्तियाँ लौटाता है, जिसमें दाहिनी तालिका में कोई मेल खाने वाली पंक्तियाँ नहीं हैं, इस प्रकार कार्यान्वित किया गया है: बाएँ शामिल हों जहाँ दाएँ.कुंजी शून्य है या मौजूद नहीं है (सबक्वेरी) या अंदर नहीं है (सबक्वेरी)
B
An outer join applied to all tables simultaneously एक बाहरी जोड़ सभी तालिकाओं पर एक साथ लागू होता है
C
A join that uses NOT EQUAL as the join condition एक जुड़ाव जो जुड़ने की शर्त के रूप में NOT EQUAL का उपयोग करता है
D
A join that reverses the join condition एक जुड़ाव जो जुड़ने की स्थिति को उलट देता है
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Anti-join: find customers with NO orders. Method 1: SELECT c.* FROM customer c LEFT JOIN order o ON c.id=o.cust_id WHERE o.cust_id IS NULL. Method 2: NOT EXISTS subquery. Method 3: NOT IN (subquery). Performance: LEFT JOIN+NULL check or NOT EXISTS usually preferred over NOT IN when NULLs may exist.
व्याख्या (हिन्दी) एंटी-जॉइन: बिना ऑर्डर वाले ग्राहक ढूंढें। विधि 1: ग्राहक से c.* चुनें c.id=o.cust_id पर शामिल होने का आदेश छोड़ दें जहां o.cust_id शून्य है। विधि 2: सबक्वेरी मौजूद नहीं है। विधि 3: नॉट इन (सबक्वेरी)। प्रदर्शन: लेफ्ट जॉइन+न्यूल चेक या NOT EXISTS को आम तौर पर NOT IN की तुलना में प्राथमिकता दी जाती है जब NULL मौजूद हो।
61–75 of 146