DBMS — MCQ Practice

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

📚 144 Questions 🌐 Hindi + English ✅ Free
भाषा / Language:
144 questions
61
EN + हिं
GB The following are components of a database except ________
IN ________ को छोड़कर निम्नलिखित डेटाबेस के घटक हैं
A
user data उपयोगकर्ता का डेटा
B
Metadata मेटाडाटा
C
Reports रिपोर्टों
D
Indexes इंडेक्स
✅ Correct Answer:
62
EN + हिं
GB The database schema is written in
IN डेटाबेस स्कीमा में लिखा गया है
A
HLL एचएलएल
B
DML डीएमएल
C
DDL डीडीएल
D
DCL डी.सी.एल
✅ Correct Answer:
63
EN + हिं
GB Who developed QBE?
IN क्यूबीई का विकास किसने किया?
A
C.J. Date सी.जे. दिनांक
B
E.F. Codd ई.एफ. कॉड
C
M.M. Zloof एम.एम. ज़्लोफ़
D
None of the above इनमे से कोई भी नहीं
✅ Correct Answer:
64
EN + हिं
GB View the Exhibit and examine the structure of the EMPLOYEES and DEPARTMENTS tables.
Which SET operator would you use in the blank space in the following SQL statement to list the departments where all the employees have managers?
SELECT department_id FROM departments ____ SELECT department_id FROM employees WHERE manager_id IS NULL;
IN प्रदर्शनी देखें और कर्मचारियों और विभागों की तालिकाओं की संरचना की जांच करें। निम्नलिखित SQL कथन में रिक्त स्थान पर आप उन विभागों को सूचीबद्ध करने के लिए किस सेट ऑपरेटर का उपयोग करेंगे जहां सभी कर्मचारियों के प्रबंधक हैं? विभागों से विभाग_आईडी चुनें ____ कर्मचारियों से विभाग_आईडी चुनें जहां प्रबंधक_आईडी शून्य है;
A
UNION मिलन
B
MINUS ऋण
C
INTERSECT इंटरसेक्ट
D
UNION ALL संघ सब
✅ Correct Answer:
65
EN + हिं
GB In a Hierarchical model records are organized as
IN एक पदानुक्रमित मॉडल में रिकॉर्ड्स को इस प्रकार व्यवस्थित किया जाता है
A
Graph. ग्राफ़.
B
List. सूची।
C
Links. कड़ियाँ.
D
Tree. पेड़।
✅ Correct Answer:
66
EN + हिं
GB Which of the following is a cursor operation?
IN निम्नलिखित में से कौन सा एक कर्सर ऑपरेशन है?
A
DECLARE घोषित
B
OPEN and FETCH खोलें और प्राप्त करें
C
CLOSE बंद करना
D
All of the above ऊपर के सभी
✅ Correct Answer:
67
EN + हिं
GB This statement fails when executed: CREATE OR REPLACE TRI GGER CALC_TEAM_AVG AFTER I NSERT ON PLAYER BEGIN INSERT INTO PLAYER_BATSTAT ( PLAYER_I D, SEASON_YEAR, AT_BATS, HI TS) VALUES ( : NEW. I D, 1 997, 0, 0) ; END; To which type must you convert the trigger to correct the error?
IN निष्पादित होने पर यह कथन विफल हो जाता है: प्लेयर पर डालने के बाद ट्राई GGER CALC_TEAM_AVG बनाएं या बदलें, PLAYER_BATSTAT में डालें ( PLAYER_I D, SEASON_YEAR, AT_BATS, HI TS) मान ( : NEW. I D, 1 997, 0, 0); अंत; त्रुटि को ठीक करने के लिए आपको ट्रिगर को किस प्रकार में परिवर्तित करना होगा?
A
Row पंक्ति
B
Statement कथन
C
ORACLE FORM trigger ओरेकल फॉर्म ट्रिगर
D
Before पहले
✅ Correct Answer:
68
EN + हिं
GB Which datatype is not allowed in the definition of PL/SQL record?
IN PL/SQL रिकॉर्ड की परिभाषा में किस डेटाटाइप की अनुमति नहीं है?
A
A Collection एक संग्रह
B
A Scalar एक अदिश राशि
C
Both A & B ए और बी दोनों
D
None of the above इनमे से कोई भी नहीं
✅ Correct Answer:
69
EN + हिं
GB Given the functional dependencies X →W; X→Y; Y→Z and Z→PQ Which of the following doesn’t hold well?
IN कार्यात्मक निर्भरताएँ X →W दी गई हैं; एक्स→वाई; Y→Z और Z→PQ निम्नलिखित में से कौन सा अच्छा नहीं है?
A
X→Z एक्स→जेड
B
W→Z डब्ल्यू→जेड
C
X→WY एक्स→वाई
D
None of the above इनमे से कोई भी नहीं
✅ Correct Answer:
70
EN + हिं
GB Who developed the BCNF?
IN बीसीएनएफ का विकास किसने किया?
A
Boyd and Cromwell बॉयड और क्रॉमवेल
B
Date and Codd तिथि और कोड
C
Date and White तिथि और सफेद
D
Boyce and Codd बॉयस और कॉड
✅ Correct Answer:
71
EN + हिं
GB What SQL command will allow you to change the table STUDENT to add the constraint named GradeCheck that states that the values of the Grade column must be greater than 0?
IN कौन सा SQL कमांड आपको ग्रेडचेक नामक बाधा को जोड़ने के लिए छात्र तालिका को बदलने की अनुमति देगा जो बताता है कि ग्रेड कॉलम का मान 0 से अधिक होना चाहिए?
A
ALTER TABLE STUDENT ALTER CONSTRAINT GradeCheck (Grade > 0); परिवर्तन तालिका छात्र परिवर्तन बाधा ग्रेडचेक (ग्रेड > 0);
B
ALTER TABLE STUDENT ADD CONSTRAINT GradeCheck (Grade > 0); तालिका में परिवर्तन करें छात्र बाधा जोड़ें ग्रेडचेक (ग्रेड > 0);
C
ALTER TABLE STUDENT ADD CONSTRAINT GradeCheck CHECK (Grade > 0); परिवर्तन तालिका छात्र बाधा ग्रेड चेक चेक जोड़ें (ग्रेड> 0);
D
None of the above is correct. उपरोक्त में से कोई भी सही नहीं है।
✅ Correct Answer:
72
EN + हिं
GB Two or more attributes that can be a key are called :
IN दो या दो से अधिक विशेषताएँ जो एक कुंजी हो सकती हैं, कहलाती हैं:
A
determinants निर्धारकों
B
primary key प्राथमिक कुंजी
C
Composite key समग्र कुंजी
D
foreign key विदेशी कुंजी
✅ Correct Answer:
73
EN + हिं Medium
GB What is the difference between a superkey, candidate key, and primary key?
IN सुपरकी, कैंडिडेट कुंजी और प्राथमिक कुंजी के बीच क्या अंतर है?
A
Superkey: any set of attributes uniquely identifying tuples; Candidate key: a minimal superkey (no subset is also a superkey); Primary key: one chosen candidate key for the table सुपरकी: विशिष्ट रूप से टुपल्स की पहचान करने वाली विशेषताओं का कोई भी सेट; उम्मीदवार कुंजी: एक न्यूनतम सुपरकी (कोई उपसमुच्चय भी सुपरकी नहीं है); प्राथमिक कुंजी: तालिका के लिए एक चयनित उम्मीदवार कुंजी
B
They are all identical concepts वे सभी समान अवधारणाएँ हैं
C
Superkey is a compound key; candidate key is a simple key; primary key is any key सुपरकी एक मिश्रित कुंजी है; उम्मीदवार कुंजी एक साधारण कुंजी है; प्राथमिक कुंजी कोई भी कुंजी है
D
Superkey has no duplicates; candidate key allows duplicates; primary key is unique सुपरकी का कोई डुप्लिकेट नहीं है; उम्मीदवार कुंजी डुप्लिकेट की अनुमति देती है; प्राथमिक कुंजी अद्वितीय है
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Superkey: any attribute set uniquely identifying tuples (may have redundant attributes). Candidate key: minimal superkey (removing any attribute breaks uniqueness). Primary key: one selected candidate key designated as the main identifier.
व्याख्या (हिन्दी) सुपरकी: कोई भी विशेषता सेट विशिष्ट रूप से टुपल्स की पहचान करता है (इसमें अनावश्यक विशेषताएँ हो सकती हैं)। उम्मीदवार कुंजी: न्यूनतम सुपरकी (किसी भी विशेषता को हटाने से विशिष्टता टूट जाती है)। प्राथमिक कुंजी: एक चयनित उम्मीदवार कुंजी को मुख्य पहचानकर्ता के रूप में नामित किया गया है।
74
EN + हिं Easy
GB What is the formal definition of functional dependency?
IN कार्यात्मक निर्भरता की औपचारिक परिभाषा क्या है?
A
A constraint X determines Y where for any two tuples with the same X value they must also have the same Y value (X functionally determines Y) एक बाधा
B
A constraint where a function must exist for every attribute एक बाधा जहां प्रत्येक विशेषता के लिए एक फ़ंक्शन मौजूद होना चाहिए
C
A dependency between stored procedures संग्रहित प्रक्रियाओं के बीच निर्भरता
D
A constraint where one table references another एक बाधा जहां एक तालिका दूसरे को संदर्भित करती है
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Functional Dependency X to Y: in any valid relation instance, for any two tuples t1 and t2, if t1[X] = t2[X] then t1[Y] = t2[Y]. X uniquely determines Y. The value of X attributes determines the value of Y attributes.
व्याख्या (हिन्दी) कार्यात्मक निर्भरता X विशिष्ट रूप से Y को निर्धारित करता है। X विशेषताओं का मान Y विशेषताओं का मान निर्धारित करता है।
75
EN + हिं Easy
GB What is an update anomaly in an unnormalized relation?
IN एक असामान्य संबंध में अद्यतन विसंगति क्या है?
A
Changing a fact stored in multiple redundant rows requiring all rows to be updated simultaneously with inconsistency resulting if any update is missed कई निरर्थक पंक्तियों में संग्रहीत तथ्य को बदलने के लिए सभी पंक्तियों को एक साथ असंगतता के साथ अद्यतन करने की आवश्यकता होती है, जिसके परिणामस्वरूप यदि कोई अद्यतन छूट जाता है
B
A foreign key violation when deleting a record किसी रिकॉर्ड को हटाते समय विदेशी कुंजी का उल्लंघन
C
A query that takes too long to execute एक क्वेरी जिसे निष्पादित होने में बहुत अधिक समय लगता है
D
A constraint violation when inserting new data नया डेटा सम्मिलित करते समय बाधा का उल्लंघन
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Update anomaly: when a fact is stored redundantly in multiple rows, updating it requires changing all rows. Missing even one update creates an inconsistency (different values for the same fact). Normalization eliminates this by storing each fact once.
व्याख्या (हिन्दी) अद्यतन विसंगति: जब किसी तथ्य को कई पंक्तियों में अनावश्यक रूप से संग्रहीत किया जाता है, तो इसे अद्यतन करने के लिए सभी पंक्तियों को बदलने की आवश्यकता होती है। एक भी अपडेट गुम होने से असंगति (एक ही तथ्य के लिए अलग-अलग मान) पैदा होती है। सामान्यीकरण प्रत्येक तथ्य को एक बार संग्रहीत करके इसे समाप्त कर देता है।
61–75 of 144