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
2731
EN + हिं Hard
GB Vertical fragmentation in distributed DB divides relation by
IN वितरित डीबी में लंबवत विखंडन संबंध को विभाजित करता है
A
Rows based on condition स्थिति के आधार पर पंक्तियाँ
B
Random assignment यादृच्छिक असाइनमेंट
C
Hash function हैश फ़ंक्शन
D
Columns (attributes) keeping PK in each fragment प्रत्येक टुकड़े में पीके रखते हुए कॉलम (विशेषताएं)।
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Vertical fragmentation: divides relation by projecting onto subsets of attributes, keeping PK in each.
व्याख्या (हिन्दी) लंबवत विखंडन: प्रत्येक में पीके रखते हुए, विशेषताओं के सबसेट पर प्रक्षेपित करके संबंध को विभाजित करता है।
2732
EN + हिं Hard
GB Horizontal fragmentation in distributed DB divides relation by
IN वितरित डीबी में क्षैतिज विखंडन संबंध को विभाजित करता है
A
Columns कॉलम
B
Random assignment यादृच्छिक असाइनमेंट
C
Hash function only केवल हैश फ़ंक्शन
D
Rows (subsets of tuples) based on selection predicates चयन विधेय के आधार पर पंक्तियाँ (टुपल्स के उपसमूह)।
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Horizontal fragmentation: puts rows into fragments at different sites based on selection conditions.
व्याख्या (हिन्दी) क्षैतिज विखंडन: चयन स्थितियों के आधार पर पंक्तियों को विभिन्न स्थानों पर टुकड़ों में रखता है।
2733
EN + हिं Hard
GB Location transparency in distributed DB means
IN वितरित डीबी में स्थान पारदर्शिता का अर्थ है
A
User must know where data is stored उपयोगकर्ता को पता होना चाहिए कि डेटा कहाँ संग्रहीत है
B
Data is at one location always डेटा हमेशा एक ही स्थान पर होता है
C
Location is always logged स्थान हमेशा लॉग किया जाता है
D
User can query data without knowing its physical location उपयोगकर्ता अपने भौतिक स्थान को जाने बिना डेटा की क्वेरी कर सकता है
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Location transparency: users don't need to know which site stores which data.
व्याख्या (हिन्दी) स्थान पारदर्शिता: उपयोगकर्ताओं को यह जानने की आवश्यकता नहीं है कि कौन सी साइट कौन सा डेटा संग्रहीत करती है।
2734
EN + हिं Hard
GB Semi-join optimization in distributed queries sends
IN वितरित क्वेरीज़ में सेमी-जॉइन ऑप्टिमाइज़ेशन भेजता है
A
Full relation पूर्ण संबंध
B
Result back only परिणाम केवल वापस
C
Random data यादृच्छिक डेटा
D
Only join-attribute projection to remote site to reduce data transfer डेटा स्थानांतरण को कम करने के लिए केवल दूरस्थ साइट पर जॉइन-एट्रिब्यूट प्रक्षेपण
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Semi-join: send πA(R) to site of S, compute S⊲⊳πA(R), send result back - reduces data transfer.
व्याख्या (हिन्दी) सेमी-जॉइन: S की साइट पर πA(R) भेजें, S⊲⊳πA(R) की गणना करें, परिणाम वापस भेजें - डेटा ट्रांसफर कम करता है।
2735
EN + हिं Hard
GB Impedance mismatch in databases refers to
IN डेटाबेस में प्रतिबाधा बेमेल को संदर्भित करता है
A
Performance issues with large tables बड़ी तालिकाओं के साथ प्रदर्शन संबंधी समस्याएं
B
Network latency issues नेटवर्क विलंबता समस्याएँ
C
CPU-memory bottleneck सीपीयू-मेमोरी बाधा
D
Mismatch between OO programming model and relational data model OO प्रोग्रामिंग मॉडल और रिलेशनल डेटा मॉडल के बीच बेमेल
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Impedance mismatch: difficulty mapping between OO application objects and relational database tables/rows.
व्याख्या (हिन्दी) प्रतिबाधा बेमेल: OO एप्लिकेशन ऑब्जेक्ट और रिलेशनल डेटाबेस तालिकाओं/पंक्तियों के बीच मैपिंग में कठिनाई।
2736
EN + हिं Hard
GB ORM (Object-Relational Mapper) bridges
IN ORM (ऑब्जेक्ट-रिलेशनल मैपर) ब्रिज
A
SQL and NoSQL databases SQL और NoSQL डेटाबेस
B
Two relational databases दो संबंधपरक डेटाबेस
C
Client and server क्लाइंट और सर्वर
D
Object-oriented programming model and relational database (impedance mismatch) ऑब्जेक्ट-ओरिएंटेड प्रोग्रामिंग मॉडल और रिलेशनल डेटाबेस (प्रतिबाधा बेमेल)
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) ORM: automatically maps between application objects (classes) and database tables reducing boilerplate SQL.
व्याख्या (हिन्दी) ओआरएम: बॉयलरप्लेट एसक्यूएल को कम करने वाले एप्लिकेशन ऑब्जेक्ट्स (क्लासेस) और डेटाबेस टेबल के बीच स्वचालित रूप से मैप करता है।
2737
EN + हिं Hard
GB Laravel's Eloquent uses which ORM pattern?
IN लारवेल का एलोक्वेंट किस ORM पैटर्न का उपयोग करता है?
A
Repository pattern रिपॉजिटरी पैटर्न
B
Data Mapper pattern डेटा मैपर पैटर्न
C
Observer pattern प्रेक्षक पैटर्न
D
Active Record pattern सक्रिय रिकॉर्ड पैटर्न
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Eloquent uses Active Record: model class represents table, instance represents row, methods on model for CRUD.
व्याख्या (हिन्दी) एलोक्वेंट सक्रिय रिकॉर्ड का उपयोग करता है: मॉडल वर्ग तालिका का प्रतिनिधित्व करता है, उदाहरण पंक्ति का प्रतिनिधित्व करता है, सीआरयूडी के लिए मॉडल पर विधियां।
2738
EN + हिं Medium
GB Which SQL function returns current date only (no time)?
IN कौन सा SQL फ़ंक्शन केवल वर्तमान दिनांक लौटाता है (समय नहीं)?
A
NOW() अब()
B
GETDATE() तारीख लें()
C
CURDATE() or CURRENT_DATE CURDATE() या CURRENT_DATE
D
SYSDATE() सिस्डेट()
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) CURDATE()/CURRENT_DATE returns only the date portion without time.
व्याख्या (हिन्दी) CURDATE()/CURRENT_DATE बिना समय के केवल दिनांक भाग लौटाता है।
2739
EN + हिं Medium
GB FLOOR(4.9) returns
IN मंजिल(4.9) रिटर्न
A
5 5
B
4 4
C
4.9 4.9
D
Error गलती
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) FLOOR(4.9)=4: largest integer less than or equal to 4.9.
व्याख्या (हिन्दी) FLOOR(4.9)=4: सबसे बड़ा पूर्णांक 4.9 से कम या उसके बराबर।
2740
EN + हिं Medium
GB CEIL(4.1) returns
IN सीईआईएल(4.1) रिटर्न
A
4 4
B
4.1 4.1
C
Error गलती
D
5 5
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) CEIL(4.1)=5: smallest integer greater than or equal to 4.1.
व्याख्या (हिन्दी) CEIL(4.1)=5: 4.1 से बड़ा या उसके बराबर सबसे छोटा पूर्णांक।
2741
EN + हिं Medium
GB ROUND(4.567,2) returns
IN ROUND(4.567,2) रिटर्न
A
4.5 4.5
B
4.56 4.56
C
4.57 4.57
D
5.0 5.0
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) ROUND(4.567,2): rounds to 2 decimal places → 4.57.
व्याख्या (हिन्दी) राउंड(4.567,2): 2 दशमलव स्थानों तक राउंड → 4.57।
2742
EN + हिं Medium
GB ABS(-15) returns
IN एबीएस(-15) रिटर्न
A
-15 -15
B
15 15
D
Error गलती
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) ABS(-15)=15: returns absolute (positive) value.
व्याख्या (हिन्दी) ABS(-15)=15: पूर्ण (सकारात्मक) मान लौटाता है।
2743
EN + हिं Medium
GB MOD(17,5) returns
IN एमओडी(17,5) रिटर्न
A
3 3
B
17 17
D
2 2
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) MOD(17,5)=2: remainder of 17÷5=3r2.
व्याख्या (हिन्दी) MOD(17,5)=2: 17÷5=3r2 का शेषफल।
2744
EN + हिं Medium
GB UPPER('dbms') returns
IN अपर('डीबीएमएस') रिटर्न
A
dbms डीबीएमएस
B
Dbms डीबीएमएस
C
dBMS डीबीएमएस
D
DBMS डीबीएमएस
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) UPPER() converts all characters to uppercase.
व्याख्या (हिन्दी) UPPER() सभी वर्णों को अपरकेस में परिवर्तित करता है।
2745
EN + हिं Medium
GB LOWER('DBMS') returns
IN निचला('डीबीएमएस') रिटर्न
A
DBMS डीबीएमएस
B
Dbms डीबीएमएस
C
dBmS डीबीएमएस
D
dbms डीबीएमएस
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) LOWER() converts all characters to lowercase.
व्याख्या (हिन्दी) LOWER() सभी वर्णों को लोअरकेस में परिवर्तित करता है।
2731–2745 of 2982