DBMS — MCQ Practice

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

📚 639 Questions 🌐 Hindi + English ✅ Free
भाषा / Language:
639 questions
211
EN + हिं Medium
GB R∩S returns
IN R∩S लौटता है
A
All tuples from R or S R या S से सभी टुपल्स
B
Only tuples in R not in S केवल R में टुपल्स हैं, S में नहीं
C
Tuples present in BOTH R and S टुपल्स आर और एस दोनों में मौजूद हैं
D
Tuples in S only केवल एस में टुपल्स
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Intersection returns all tuples that appear in BOTH relation R AND relation S.
व्याख्या (हिन्दी) इंटरसेक्शन उन सभी टुपल्स को लौटाता है जो संबंध आर और संबंध एस दोनों में दिखाई देते हैं।
212
EN + हिं Medium
GB R−S returns
IN R−S लौटता है
A
All tuples from both दोनों से सभी टुपल्स
B
Tuples in R that also exist in S आर में टुपल्स जो एस में भी मौजूद हैं
C
Tuples in R that do NOT exist in S R में टुपल्स जो S में मौजूद नहीं हैं
D
Tuples in S not in R एस में टुपल्स आर में नहीं
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Set-difference R−S: tuples that occur in R but NOT in S.
व्याख्या (हिन्दी) सेट-अंतर R−S: टुपल्स जो R में होते हैं लेकिन S में नहीं।
213
EN + हिं Medium
GB Cartesian product R×S produces
IN कार्तीय उत्पाद R×S उत्पन्न करता है
A
Only matching tuples केवल मिलान करने वाले टुपल्स
B
All possible combinations of tuples from R and S आर और एस से टुपल्स के सभी संभावित संयोजन
C
Only distinct tuples केवल विशिष्ट टुपल्स
D
Tuples satisfying a condition टुपल्स एक शर्त को संतुष्ट करते हैं
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Cartesian product: all possible pair combinations from R and S: |R|×|S| tuples total.
व्याख्या (हिन्दी) कार्तीय गुणनफल: R और S से सभी संभावित युग्म संयोजन: |R|×|S| टुपल्स कुल.
214
EN + हिं Medium
GB Renaming operator in relational algebra is
IN संबंधपरक बीजगणित में नाम बदलने वाला ऑपरेटर है
A
σ σ
B
π π
C
ρ ρ
D
÷ ÷
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) ρ (rho): the renaming operator renames a relation and/or its attributes.
व्याख्या (हिन्दी) ρ (rho): नाम बदलने वाला ऑपरेटर किसी संबंध और/या उसकी विशेषताओं का नाम बदलता है।
215
EN + हिं Medium
GB Division R÷S is useful for
IN डिवीजन R÷S के लिए उपयोगी है
A
Finding maximum values अधिकतम मान ढूँढना
B
Universal quantification queries (for all/every conditions) सार्वभौमिक परिमाणीकरण प्रश्न (सभी/प्रत्येक स्थितियों के लिए)
C
Aggregation एकत्रीकरण
D
Sorting छंटाई
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Division R÷S: finds all x values paired with ALL y values in S.
व्याख्या (हिन्दी) प्रभाग R÷S: S में सभी y मानों के साथ युग्मित सभी x मान ढूँढ़ता है।
216
EN + हिं Medium
GB Five basic RA operators are
IN पांच बुनियादी आरए ऑपरेटर हैं
A
σ,π,⊲⊳ only केवल σ,π,⊲⊳
B
σ,π,∪,−,× (selection,projection,union,difference,cross-product) σ,π,∪,−,× (चयन, प्रक्षेपण, संघ, अंतर, क्रॉस-उत्पाद)
C
∩,−,÷ only केवल ∩,−,÷
D
σ,∪,÷ σ,∪,÷
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Five basic operators: Selection(σ), Projection(π), Union(∪), Difference(−), Cross-product(×).
व्याख्या (हिन्दी) पाँच बुनियादी संचालक: चयन(σ), प्रक्षेपण(π), संघ(∪), अंतर(−), क्रॉस-उत्पाद(×)।
217
EN + हिं Medium
GB If |R|=5 rows and |S|=4 rows, R×S has
IN यदि |R|=5 पंक्तियाँ और |S|=4 पंक्तियाँ, R×S है
A
9 rows 9 पंक्तियाँ
B
1 row 1 पंक्ति
C
20 rows 20 पंक्तियाँ
D
5 rows 5 पंक्तियाँ
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Cross product: |R|×|S| = 5×4 = 20 rows.
व्याख्या (हिन्दी) क्रॉस उत्पाद: |R|×|S| = 5×4 = 20 पंक्तियाँ।
218
EN + हिं Medium
GB R∩S expressed using basic operators equals
IN R∩S को मूल ऑपरेटर बराबर का उपयोग करके व्यक्त किया जाता है
A
R∪S आर∪एस
B
R−(R−S) आर−(आर−एस)
C
R×S आर×एस
D
(R∪S)−S (R∪S)−S
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) R∩S = R−(R−S): remove from R everything not in S.
व्याख्या (हिन्दी) R∩S = R−(R−S): R से वह सब कुछ हटा दें जो S में नहीं है।
219
EN + हिं Medium
GB SQL stands for
IN SQL का मतलब है
A
Sequential Query Language अनुक्रमिक क्वेरी भाषा
B
Structured Query Language स्ट्रक्चर्ड क्वेरी लैंग्वेज
C
Simple Query Language सरल क्वेरी भाषा
D
Standard Query Logic मानक क्वेरी तर्क
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) SQL: Structured Query Language - standard language for relational database management.
व्याख्या (हिन्दी) एसक्यूएल: संरचित क्वेरी भाषा - संबंधपरक डेटाबेस प्रबंधन के लिए मानक भाषा।
220
EN + हिं Medium
GB SELECT retrieves
IN चयन पुनर्प्राप्ति
A
Only first row केवल पहली पंक्ति
B
Data from one or more tables एक या अधिक तालिकाओं से डेटा
C
Only distinct rows केवल अलग-अलग पंक्तियाँ
D
Only numeric data केवल संख्यात्मक डेटा
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) SELECT: DML command used to retrieve (query) data from one or more tables.
व्याख्या (हिन्दी) चयन करें: डीएमएल कमांड का उपयोग एक या अधिक तालिकाओं से डेटा पुनर्प्राप्त (क्वेरी) करने के लिए किया जाता है।
221
EN + हिं Medium
GB SELECT DISTINCT removes
IN SELECT DISTINCT हटाता है
A
NULL rows शून्य पंक्तियाँ
B
Duplicate rows from result set परिणाम सेट से डुप्लिकेट पंक्तियाँ
C
Grouped rows समूहीकृत पंक्तियाँ
D
Ordered rows क्रमबद्ध पंक्तियाँ
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) DISTINCT: eliminates duplicate rows from the result set.
व्याख्या (हिन्दी) DISTINCT: परिणाम सेट से डुप्लिकेट पंक्तियों को हटा देता है।
222
EN + हिं Medium
GB COUNT(*) counts
IN COUNT(*) मायने रखता है
A
Only non-NULL rows केवल गैर-शून्य पंक्तियाँ
B
All columns सभी कॉलम
C
ALL rows including those with NULLs NULL सहित सभी पंक्तियाँ
D
Only distinct rows केवल अलग-अलग पंक्तियाँ
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) COUNT(*): counts ALL rows in a group or table including rows with NULL values.
व्याख्या (हिन्दी) COUNT(*): किसी समूह या तालिका में NULL मान वाली पंक्तियों सहित सभी पंक्तियों की गणना करता है।
223
EN + हिं Medium
GB EXISTS subquery returns TRUE when
IN EXISTS सबक्वेरी TRUE लौटाती है जब
A
Subquery returns exactly one row सबक्वेरी बिल्कुल एक पंक्ति लौटाती है
B
Subquery returns at least one row सबक्वेरी कम से कम एक पंक्ति लौटाती है
C
Subquery returns NULL सबक्वेरी शून्य लौटाती है
D
Subquery returns zero rows सबक्वेरी शून्य पंक्तियाँ लौटाती है
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) EXISTS: returns TRUE if subquery returns ONE OR MORE rows; FALSE if no rows.
व्याख्या (हिन्दी) अस्तित्व: यदि सबक्वेरी एक या अधिक पंक्तियाँ लौटाती है तो सत्य लौटाता है; यदि कोई पंक्तियाँ नहीं हैं तो असत्य।
224
EN + हिं Medium
GB UNION combines results and by default
IN UNION परिणामों को जोड़ता है और डिफ़ॉल्ट रूप से
A
Keeps all duplicates सभी डुप्लिकेट रखता है
B
Removes duplicate rows डुप्लिकेट पंक्तियाँ हटाता है
C
Returns only common rows केवल सामान्य पंक्तियाँ लौटाता है
D
Returns only different rows केवल भिन्न पंक्तियाँ लौटाता है
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) UNION: combines result sets and removes duplicate rows by default.
व्याख्या (हिन्दी) यूनियन: परिणाम सेट को जोड़ता है और डिफ़ॉल्ट रूप से डुप्लिकेट पंक्तियों को हटा देता है।
225
EN + हिं Medium
GB UNION ALL keeps
IN यूनियन सब रखता है
A
No duplicates कोई डुप्लिकेट नहीं
B
Only common rows केवल सामान्य पंक्तियाँ
C
ALL rows including duplicates डुप्लिकेट सहित सभी पंक्तियाँ
D
Only first result rows केवल प्रथम परिणाम पंक्तियाँ
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) UNION ALL: combines result sets retaining ALL rows including duplicates - faster than UNION.
व्याख्या (हिन्दी) यूनियन ऑल: डुप्लिकेट सहित सभी पंक्तियों को बनाए रखते हुए परिणाम सेट को संयोजित करता है - यूनियन की तुलना में तेज़।
211–225 of 639