DBMS — MCQ Practice

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

📚 130 Questions 🌐 Hindi + English ✅ Free
भाषा / Language:
130 questions
61
EN + हिं
GB The following are functions of a DBMS except ________ .
IN ________ को छोड़कर निम्नलिखित DBMS के कार्य हैं।
A
creating and processing forms फॉर्म बनाना और संसाधित करना
B
creating databases डेटाबेस बनाना
C
processing data डेटा प्रोसेसिंग
D
administrating databases डेटाबेस का प्रशासन करना
✅ Correct Answer:
62
EN + हिं
GB Which of the following is the result of a select statement?
IN निम्नलिखित में से कौन सा चयन कथन का परिणाम है?
A
Trigger चालू कर देना
B
Index अनुक्रमणिका
C
Table मेज़
D
None of these इनमें से कोई नहीं
✅ Correct Answer:
63
EN + हिं
GB Which of the following company now known as the Oracle Corporation?
IN निम्नलिखित में से कौन सी कंपनी अब Oracle Corporation के नाम से जानी जाती है?
A
Stepware Inc. स्टेपवेयर इंक.
B
Relational Software Inc. रिलेशनल सॉफ्टवेयर इंक.
C
Rational Inc. तर्कसंगत इंक.
D
Oracle Software Inc. ओरेकल सॉफ्टवेयर इंक.
✅ Correct Answer:
64
EN + हिं
GB If an entity appears in only one relationship then it is
IN यदि कोई इकाई केवल एक ही रिश्ते में दिखाई देती है तो वह है
A
a 1:1 relationship 1:1 संबंध
B
a 1:N relationship ए 1:एन संबंध
C
a N:1 relationship एक N:1 संबंध
D
a N:M relationship एक एन:एम संबंध
✅ Correct Answer:
65
EN + हिं
GB The language which has recently become the defacto standard for interfacing application programs with relational database system is
IN वह भाषा जो हाल ही में एप्लिकेशन प्रोग्राम को रिलेशनल डेटाबेस सिस्टम के साथ इंटरफेस करने के लिए वास्तविक मानक बन गई है
A
Oracle. आकाशवाणी.
B
SQL. एसक्यूएल.
C
DBase. डीबेस।
D
4GL. 4जीएल.
✅ Correct Answer:
66
EN + हिं
GB Which of the following can be used to supplement declarative referential integrity, to enforce complex business rules or to audit changes to data?
IN निम्नलिखित में से किसका उपयोग घोषणात्मक संदर्भात्मक अखंडता को पूरक करने, जटिल व्यावसायिक नियमों को लागू करने या डेटा में परिवर्तनों का ऑडिट करने के लिए किया जा सकता है?
A
Synonyms समानार्थी शब्द
B
Tables टेबल
C
Triggers चलाता है
D
None of the above इनमे से कोई भी नहीं
✅ Correct Answer:
67
EN + हिं
GB Which of the following is NOT an Oracle-supported trigger?
IN निम्नलिखित में से कौन सा Oracle-समर्थित ट्रिगर नहीं है?
A
BEFORE पहले
B
DURING दौरान
C
AFTER बाद
D
INSTEAD OF के बजाय
✅ Correct Answer:
68
EN + हिं
GB Assigning a value to a collection element can cause exceptions, such as
IN किसी संग्रह तत्व को मान निर्दिष्ट करने से अपवाद हो सकते हैं, जैसे
A
If the subscript is NULL or is not convertible to the right datatype, PL/SQL raises the predefined exception VALUE_ERROR. Usually, the subscript must be an integer. Associative arrays can also be declared to have VARCHAR2 subscripts. यदि सबस्क्रिप्ट शून्य है या सही डेटाटाइप में परिवर्तनीय नहीं है, तो पीएल/एसक्यूएल पूर्वनिर्धारित अपवाद VALUE_ERROR उठाता है। आमतौर पर, सबस्क्रिप्ट एक पूर्णांक होना चाहिए। सहयोगी सरणियों को VARCHAR2 सबस्क्रिप्ट के रूप में भी घोषित किया जा सकता है।
B
If the subscript refers to an uninitialized element, PL/SQL raises SUBSCRIPT_BEYOND_COUNT. यदि सबस्क्रिप्ट किसी अप्रारंभीकृत तत्व को संदर्भित करता है, तो PL/SQL SUBSCRIPT_BEYOND_COUNT बढ़ा देता है।
C
If the collection is atomically null, PL/SQL raises COLLECTION_IS_NULL. यदि संग्रह परमाणु रूप से शून्य है, तो PL/SQL COLLECTION_IS_NULL बढ़ा देता है।
D
All mentioned above उपरोक्त सभी का उल्लेख किया गया है
✅ Correct Answer:
69
EN + हिं
GB The set of permitted value for each attribute is called its
IN प्रत्येक विशेषता के लिए अनुमत मान के सेट को उसका कहा जाता है
A
Attribute set विशेषता सेट
B
Attentive range चौकस सीमा
C
Domain कार्यक्षेत्र
D
Group समूह
✅ Correct Answer:
70
EN + हिं
GB Every relation in BCNF is also in
IN बीसीएनएफ में हर संबंध भी शामिल है
A
3NF 3NF
B
2NF 2NF
C
1NF 1NF
D
None of the above इनमे से कोई भी नहीं
✅ Correct Answer:
71
EN + हिं
GB If a relationship has a cascade updates constraint, then if ________ in the parent table is changed, then the same change will automatically be made to any corresponding foreign key value.
IN यदि किसी रिश्ते में कैस्केड अपडेट बाधा है, तो यदि मूल तालिका में ________ बदल दिया जाता है, तो वही परिवर्तन स्वचालित रूप से किसी भी संबंधित विदेशी कुंजी मान में किया जाएगा।
A
the primary key प्राथमिक कुंजी
B
any alternate key कोई वैकल्पिक कुंजी
C
a surrogate key एक सरोगेट कुंजी
D
a foreign key एक विदेशी कुंजी
✅ Correct Answer:
72
EN + हिं
GB A super key is a set of one or more attributes that, taken collectively, allow us
IN एक सुपर कुंजी एक या अधिक विशेषताओं का एक सेट है, जो सामूहिक रूप से हमें अनुमति देती है
A
to identify uniquely an entity in the entity set इकाई सेट में किसी इकाई की विशिष्ट रूप से पहचान करना
B
to make the key most powerful for faster retrieval तेजी से पुनर्प्राप्ति के लिए कुंजी को सबसे शक्तिशाली बनाना
C
to increase effectiveness of database access डेटाबेस पहुंच की प्रभावशीलता बढ़ाने के लिए
D
none of the above इनमे से कोई भी नहीं
✅ Correct Answer:
73
EN + हिं Medium
GB What is the difference between INSERT INTO VALUES and INSERT INTO SELECT?
IN INSERT INTO वैल्यूज़ और INSERT INTO SELECT के बीच क्या अंतर है?
A
INSERT VALUES: inserts one or more explicitly specified rows; INSERT SELECT: inserts rows derived from a SELECT query result enabling bulk insertion from other tables or complex expressions मान सम्मिलित करें: एक या अधिक स्पष्ट रूप से निर्दिष्ट पंक्तियाँ सम्मिलित करें; चयन सम्मिलित करें: एक चयन क्वेरी परिणाम से प्राप्त पंक्तियों को सम्मिलित करता है जो अन्य तालिकाओं या जटिल अभिव्यक्तियों से थोक प्रविष्टि को सक्षम करता है
B
They are identical in functionality वे कार्यक्षमता में समान हैं
C
INSERT SELECT is faster but less accurate INSERT SELECT तेज़ है लेकिन कम सटीक है
D
INSERT VALUES supports multiple rows; INSERT SELECT supports only one row INSERT VALUES एकाधिक पंक्तियों का समर्थन करता है; INSERT SELECT केवल एक पंक्ति का समर्थन करता है
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) INSERT...VALUES: specify literal values directly, used for one or multiple explicit rows. INSERT...SELECT: queries source data and inserts all results into target table atomically, useful for bulk loads, data migration, creating backup copies, and populating summary tables.
व्याख्या (हिन्दी) सम्मिलित करें...मान: सीधे शाब्दिक मान निर्दिष्ट करें, एक या एकाधिक स्पष्ट पंक्तियों के लिए उपयोग किया जाता है। सम्मिलित करें...चयन करें: स्रोत डेटा से पूछताछ करता है और सभी परिणामों को परमाणु रूप से लक्ष्य तालिका में सम्मिलित करता है, जो बल्क लोड, डेटा माइग्रेशन, बैकअप प्रतियां बनाने और सारांश तालिकाओं को पॉप्युलेट करने के लिए उपयोगी है।
74
EN + हिं Easy
GB In SQL what is the behavior of an UPDATE statement without a WHERE clause?
IN SQL में WHERE क्लॉज़ के बिना UPDATE स्टेटमेंट का व्यवहार क्या होता है?
A
It updates only the first row यह केवल पहली पंक्ति को अद्यतन करता है
B
It fails with an error यह एक त्रुटि के साथ विफल हो जाता है
C
It creates a transaction that must be manually committed यह एक लेनदेन बनाता है जिसे मैन्युअल रूप से प्रतिबद्ध किया जाना चाहिए
D
It updates ALL rows in the table - a common and dangerous mistake that can corrupt entire tables. The UPDATE executes successfully but affects every row यह तालिका में सभी पंक्तियों को अद्यतन करता है - एक सामान्य और खतरनाक गलती जो संपूर्ण तालिकाओं को दूषित कर सकती है। अद्यतन सफलतापूर्वक निष्पादित होता है लेकिन प्रत्येक पंक्ति को प्रभावित करता है
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) UPDATE without WHERE: updates every single row in the table. This is a common production accident. Best practice: always write the WHERE clause first, then add the SET clause. Use transactions and test with SELECT using same WHERE before executing UPDATE.
व्याख्या (हिन्दी) बिना WHERE के अद्यतन करें: तालिका में प्रत्येक पंक्ति को अद्यतन करता है। यह एक सामान्य उत्पादन दुर्घटना है. सर्वोत्तम अभ्यास: हमेशा पहले WHERE क्लॉज लिखें, फिर SET क्लॉज जोड़ें। लेनदेन का उपयोग करें और अद्यतन निष्पादित करने से पहले WHERE का उपयोग करके SELECT के साथ परीक्षण करें।
75
EN + हिं Medium
GB What is SQL INSERT OR REPLACE (MySQL: REPLACE INTO) and how does it differ from INSERT OR IGNORE?
IN SQL INSERT OR REPLACE (MySQL: REPLACE INTO) क्या है और यह INSERT OR IGNORE से किस प्रकार भिन्न है?
A
REPLACE INTO: if a duplicate key violation occurs deletes the existing row and inserts the new row (auto-increments change); INSERT OR IGNORE: if duplicate key silently ignores the insert and keeps the original row unchanged इसमें बदलें: यदि डुप्लिकेट कुंजी का उल्लंघन होता है तो मौजूदा पंक्ति को हटा दिया जाता है और नई पंक्ति सम्मिलित कर दी जाती है (स्वचालित-वृद्धि परिवर्तन); सम्मिलित करें या अनदेखा करें: यदि डुप्लिकेट कुंजी चुपचाप सम्मिलित को अनदेखा कर देती है और मूल पंक्ति को अपरिवर्तित रखती है
B
Both operations update the existing row दोनों ऑपरेशन मौजूदा पंक्ति को अद्यतन करते हैं
C
INSERT OR IGNORE replaces the row; REPLACE INTO ignores it सम्मिलित करें या अनदेखा करें पंक्ति को प्रतिस्थापित करता है; REPLACE INTO इसे अनदेखा कर देता है
D
They are identical operations वे समान परिचालन हैं
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) REPLACE INTO: DELETE + INSERT on conflict (loses old row, new auto_increment generated). INSERT IGNORE: on conflict, silently skip (original preserved, no error). INSERT ON DUPLICATE KEY UPDATE (MySQL) / INSERT ON CONFLICT DO UPDATE (PostgreSQL): update specific columns on conflict.
व्याख्या (हिन्दी) इसमें बदलें: विरोध पर हटाएं + सम्मिलित करें (पुरानी पंक्ति खो जाती है, नई ऑटो_वृद्धि उत्पन्न होती है)। अनदेखा करें सम्मिलित करें: विरोध होने पर, चुपचाप छोड़ें (मूल संरक्षित, कोई त्रुटि नहीं)। डुप्लिकेट कुंजी अद्यतन पर सम्मिलित करें (MySQL) / संघर्ष पर सम्मिलित करें अद्यतन करें (पोस्टग्रेएसक्यूएल): संघर्ष पर विशिष्ट कॉलम अपडेट करें।
61–75 of 130