DBMS — MCQ Practice

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

📚 2982 Questions 🌐 Hindi + English ✅ Free
भाषा / Language:
2982 questions
2416
EN + हिं Easy
GB Students enroll in courses is what cardinality?
IN छात्रों के पाठ्यक्रमों में दाखिला लेना क्या प्रमुखता है?
A
1:1 1:1
B
M:1 एम:1
C
1:N 1:एन
D
M:N एम:एन
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Student-Course: one student enrolls in many courses; one course has many students - M:N.
व्याख्या (हिन्दी) छात्र-पाठ्यक्रम: एक छात्र कई पाठ्यक्रमों में दाखिला लेता है; एक पाठ्यक्रम में कई छात्र हैं - एम:एन।
2417
EN + हिं Easy
GB Employee assigned one parking space is what cardinality?
IN कर्मचारी द्वारा आवंटित एक पार्किंग स्थान क्या प्रमुखता है?
A
M:N एम:एन
B
1:N 1:एन
C
M:1 एम:1
D
1:1 1:1
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Employee-ParkingSpace: one employee gets one space; one space assigned to one employee - 1:1.
व्याख्या (हिन्दी) कर्मचारी-पार्किंग स्थान: एक कर्मचारी को एक स्थान मिलता है; एक कर्मचारी को एक स्थान सौंपा गया - 1:1।
2418
EN + हिं Easy
GB Key attribute in ER is shown with
IN ईआर में मुख्य विशेषता को इसके साथ दिखाया गया है
A
Double ellipse दोहरा दीर्घवृत्त
B
Dashed ellipse धराशायी दीर्घवृत्त
C
Underlined attribute name रेखांकित विशेषता नाम
D
Diamond shape हीरे का आकार
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Key attribute: the attribute name is underlined in Chen's ER notation.
व्याख्या (हिन्दी) मुख्य विशेषता: विशेषता का नाम चेन के ईआर नोटेशन में रेखांकित किया गया है।
2419
EN + हिं Easy
GB An associative entity (junction entity) is used when
IN एक सहयोगी इकाई (जंक्शन इकाई) का उपयोग कब किया जाता है
A
Entity has many attributes इकाई में अनेक गुण होते हैं
B
M:N relationship needs its own attributes एम:एन रिश्ते को अपनी विशेषताओं की आवश्यकता होती है
C
Weak entity needs a key कमजोर इकाई को एक चाबी की जरूरत होती है
D
Two entities share no relationship दो संस्थाएं कोई संबंध साझा नहीं करतीं
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Associative entity resolves M:N relationship and can store attributes of the relationship.
व्याख्या (हिन्दी) सहयोगी इकाई M:N संबंध को हल करती है और संबंध की विशेषताओं को संग्रहीत कर सकती है।
2420
EN + हिं Easy
GB ER diagram to relational schema: each entity becomes
IN संबंधपरक स्कीमा के लिए ईआर आरेख: प्रत्येक इकाई बन जाती है
A
SQL query एसक्यूएल क्वेरी
B
Index अनुक्रमणिका
C
A table (relation) एक टेबल (संबंध)
D
Stored procedure संग्रहित प्रक्रिया
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Each entity type in ER diagram maps to a table (relation) in the relational schema.
व्याख्या (हिन्दी) ईआर आरेख में प्रत्येक इकाई प्रकार संबंधपरक स्कीमा में एक तालिका (संबंध) पर मैप करता है।
2421
EN + हिं Easy
GB M:N relationship requires in relational schema
IN संबंधपरक स्कीमा में M:N संबंध की आवश्यकता होती है
A
One table एक मेज
B
Two tables merged दो टेबलें विलीन हो गईं
C
Junction table with FKs to both entity tables दोनों इकाई तालिकाओं के लिए एफके के साथ जंक्शन तालिका
D
Single foreign key एकल विदेशी कुंजी
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) M:N: requires a separate junction/bridge table with FKs referencing both entity tables.
व्याख्या (हिन्दी) एम:एन: दोनों इकाई तालिकाओं को संदर्भित करने वाले एफके के साथ एक अलग जंक्शन/ब्रिज तालिका की आवश्यकता है।
2422
EN + हिं Medium
GB Relational Algebra is
IN संबंधपरक बीजगणित है
A
Declarative कथात्मक
B
Procedural: specifies what and HOW to get data प्रक्रियात्मक: निर्दिष्ट करता है कि डेटा क्या और कैसे प्राप्त करना है
C
Object-oriented वस्तु के उन्मुख
D
Non-relational गैर संबंधपरक
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Relational Algebra is procedural: queries specify step-by-step procedure for computing the answer.
व्याख्या (हिन्दी) संबंधपरक बीजगणित प्रक्रियात्मक है: प्रश्न उत्तर की गणना के लिए चरण-दर-चरण प्रक्रिया निर्दिष्ट करते हैं।
2423
EN + हिं Medium
GB Selection operator σ selects
IN चयन ऑपरेटर σ चयन करता है
A
Columns from a relation किसी संबंध से कॉलम
B
Rows satisfying a condition from a relation किसी संबंध से किसी शर्त को संतुष्ट करने वाली पंक्तियाँ
C
All rows and columns सभी पंक्तियाँ और स्तंभ
D
Only NULL rows केवल शून्य पंक्तियाँ
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) σ(condition)(R): selects tuples (rows) from R that satisfy the given condition.
व्याख्या (हिन्दी) σ(स्थिति)(आर): आर से टुपल्स (पंक्तियों) का चयन करता है जो दी गई शर्त को पूरा करते हैं।
2424
EN + हिं Medium
GB Projection operator π extracts
IN प्रोजेक्शन ऑपरेटर π अर्क
A
Rows based on condition स्थिति के आधार पर पंक्तियाँ
B
Specific columns (attributes) from a relation किसी संबंध से विशिष्ट कॉलम (विशेषताएँ)।
C
All tuples सभी टुपल्स
D
Only key attributes केवल प्रमुख विशेषताएँ
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) π(A1,A2,...)(R): extracts only specified columns, eliminating duplicates (set semantics).
व्याख्या (हिन्दी) π(A1,A2,...)(R): केवल निर्दिष्ट कॉलम निकालता है, डुप्लिकेट (सेट सिमेंटिक्स) को हटा देता है।
2425
EN + हिं Medium
GB For Union R∪S to be valid R and S must be
IN संघ R∪S के वैध होने के लिए R और S का होना आवश्यक है
A
Same number of tuples टुपल्स की समान संख्या
B
Union-compatible: same degree and compatible domains संघ-संगत: समान डिग्री और संगत डोमेन
C
From the same database उसी डेटाबेस से
D
Related by FK एफके द्वारा संबंधित
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Union requires union-compatibility: same number of attributes with compatible domains.
व्याख्या (हिन्दी) यूनियन को यूनियन-संगतता की आवश्यकता होती है: संगत डोमेन के साथ समान संख्या में विशेषताएँ।
2426
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.
व्याख्या (हिन्दी) इंटरसेक्शन उन सभी टुपल्स को लौटाता है जो संबंध आर और संबंध एस दोनों में दिखाई देते हैं।
2427
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 में नहीं।
2428
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| टुपल्स कुल.
2429
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): नाम बदलने वाला ऑपरेटर किसी संबंध और/या उसकी विशेषताओं का नाम बदलता है।
2430
EN + हिं Medium
GB Theta join R⊲⊳θS equals
IN थीटा जॉइन R⊲⊳θS बराबर है
A
R∪S आर∪एस
B
σθ(R×S) σθ(आर×एस)
C
πθ(R×S) πθ(आर×एस)
D
R∩S आर∩एस
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Theta join = cross product followed by selection: R⊲⊳θS = σθ(R×S).
व्याख्या (हिन्दी) थीटा जॉइन = क्रॉस उत्पाद जिसके बाद चयन होता है: R⊲⊳θS = σθ(R×S)।
2416–2430 of 2982