DBMS — MCQ Practice

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

📚 158 Questions 🌐 Hindi + English ✅ Free
भाषा / Language:
158 questions
61
EN + हिं
GB In an object-oriented model, one object can access data of another object by passing:
IN ऑब्जेक्ट-ओरिएंटेड मॉडल में, एक ऑब्जेक्ट किसी अन्य ऑब्जेक्ट के डेटा तक पहुंच सकता है:
A
Instance variable उदाहरण चर
B
Message संदेश
C
Variable चर
D
None of these इनमें से कोई नहीं
✅ Correct Answer:
62
EN + हिं
GB Which of the following constitutes a basic set of operations for manipulating relational data?
IN निम्नलिखित में से कौन सा संबंधपरक डेटा में हेरफेर करने के लिए संचालन का एक बुनियादी सेट बनता है?
A
Predicate calculus विधेय कलन
B
Relational algebra संबंधपरक बीजगणित
C
Relational calculus संबंधपरक कलन
D
None of the above इनमे से कोई भी नहीं
✅ Correct Answer:
63
EN + हिं
GB Which of the following is a comparison operator?
IN निम्नलिखित में से कौन सा तुलना ऑपरेटर है?
A
= =
B
LIKE पसंद
C
BETWEEN बीच में
D
All of the above ऊपर के सभी
✅ Correct Answer:
64
EN + हिं
GB Which one of the following attribute can be taken as a primary key ?
IN निम्नलिखित में से किस विशेषता को प्राथमिक कुंजी के रूप में लिया जा सकता है?
A
Name नाम
B
Street गली
C
Id पहचान
D
Department विभाग
✅ Correct Answer:
65
EN + हिं
GB Which of the following does not affect the size of the SGA?
IN निम्नलिखित में से कौन सा SGA के आकार को प्रभावित नहीं करता है?
A
Database buffer डेटाबेस बफ़र
B
Redolog buffer रिडॉलॉग बफ़र
C
Stored procedure संग्रहित प्रक्रिया
D
Shared pool साझा पूल
✅ Correct Answer:
66
EN + हिं
GB Which of the following is the default trigger that is created using the CREATE TRIGGER command?
IN निम्नलिखित में से कौन सा डिफ़ॉल्ट ट्रिगर है जो CREATE TRIGGER कमांड का उपयोग करके बनाया गया है?
A
Row level Trigger पंक्ति स्तरीय ट्रिगर
B
Statement level Trigger कथन स्तर ट्रिगर
C
BEFORE Trigger ट्रिगर से पहले
D
AFTER Trigger ट्रिगर के बाद
✅ Correct Answer:
67
EN + हिं
GB Which of the following is the preferred way to recover a database after a transaction in progress terminates abnormally?
IN किसी प्रगतिरत लेनदेन के असामान्य रूप से समाप्त होने के बाद डेटाबेस को पुनर्प्राप्त करने का पसंदीदा तरीका निम्नलिखित में से कौन सा है?
A
Rollback रोलबैक
B
Rollforward आगे रोल करं
C
Switch to duplicate database डुप्लिकेट डेटाबेस पर स्विच करें
D
Reprocess transactions लेन-देन पुनः संसाधित करें
✅ Correct Answer:
68
EN + हिं
GB Which command is used to add a column to an existing table?
IN किसी मौजूदा टेबल में कॉलम जोड़ने के लिए किस कमांड का उपयोग किया जाता है?
A
Create बनाएं
B
Update अद्यतन
C
Alter ऑल्टर
D
None of these इनमें से कोई नहीं
✅ Correct Answer:
69
EN + हिं
GB A schedule S of n transactions is serializable if it is equivalent to some
IN एन लेनदेन का एक शेड्यूल एस क्रमबद्ध है यदि यह कुछ के बराबर है
A
Serial schedule of the same n transactions. समान n लेनदेन का क्रमबद्ध शेड्यूल।
B
Non-serial schedule of the same n transactions. समान n लेनदेन का गैर-क्रमिक शेड्यूल।
C
Serial schedule of different n transactions. विभिन्न एन लेनदेन की क्रमबद्ध अनुसूची।
D
Non-serial schedule of different n transactions. विभिन्न एन लेनदेन की गैर-क्रमिक अनुसूची।
✅ Correct Answer:
70
EN + हिं
GB Given the following relation Student (roll no, name, course no, course max. marks, year of study, address) The corresponding 3 NF relations are
IN निम्नलिखित संबंध को देखते हुए छात्र (रोल नंबर, नाम, पाठ्यक्रम संख्या, पाठ्यक्रम अधिकतम अंक, अध्ययन का वर्ष, पता) संबंधित 3 एनएफ संबंध हैं
A
student (roll no, name, year of study, address) course (course no, course max. marks) छात्र (रोल नंबर, नाम, अध्ययन का वर्ष, पता) पाठ्यक्रम (पाठ्यक्रम संख्या, पाठ्यक्रम अधिकतम अंक)
B
student ( roll no, name, year of study, address) student (roll no, course no) course (course no, course max. marks) छात्र (रोल नंबर, नाम, अध्ययन का वर्ष, पता) छात्र (रोल नंबर, पाठ्यक्रम संख्या) पाठ्यक्रम (पाठ्यक्रम संख्या, पाठ्यक्रम अधिकतम अंक)
C
student (roll no , name, address) year (roll no, year of study) course (course no, course max. marks) छात्र (रोल नंबर, नाम, पता) वर्ष (रोल नंबर, अध्ययन का वर्ष) पाठ्यक्रम (पाठ्यक्रम संख्या, पाठ्यक्रम अधिकतम अंक)
D
student (roll no, name, address) course (course no, course max. marks, year of study) छात्र (रोल नंबर, नाम, पता) पाठ्यक्रम (पाठ्यक्रम संख्या, पाठ्यक्रम अधिकतम अंक, अध्ययन का वर्ष)
✅ Correct Answer:
71
EN + हिं
GB In ……….. normal forms, any multivalued attributes have been removed.
IN …….. सामान्य रूपों में, किसी भी बहुमूल्यवान विशेषता को हटा दिया गया है।
A
First पहला
B
Second दूसरा
C
Third तीसरा
D
Fourth चौथी
✅ Correct Answer:
72
EN + हिं
GB SET concept is used in :
IN SET अवधारणा का उपयोग किया जाता है:
A
Network Model नेटवर्क मॉडल
B
Hierarchical Model पदानुक्रमित मॉडल
C
Relational Model संबंधपरक मॉडल
D
None of these इनमें से कोई नहीं
✅ Correct Answer:
73
EN + हिं Medium
GB What is the Atomicity property of ACID transactions and how is it implemented by the DBMS?
IN ACID लेनदेन की एटोमिसिटी संपत्ति क्या है और इसे DBMS द्वारा कैसे कार्यान्वित किया जाता है?
A
Atomicity means each statement is its own transaction परमाणुता का अर्थ है कि प्रत्येक कथन अपना स्वयं का लेनदेन है
B
Transactions are processed by a single atomic CPU लेन-देन एकल परमाणु सीपीयू द्वारा संसाधित किए जाते हैं
C
All operations in a transaction either ALL complete successfully (COMMIT) or ALL are undone (ROLLBACK) - implemented via the undo log: before each change the original value is written to the undo log enabling complete rollback if the transaction fails or is explicitly rolled back लेन-देन में सभी ऑपरेशन या तो सभी सफलतापूर्वक पूर्ण (COMMIT) या सभी पूर्ववत (रोलबैक) - पूर्ववत लॉग के माध्यम से कार्यान्वित किए जाते हैं: प्रत्येक परिवर्तन से पहले मूल मान को पूर्ववत लॉग में लिखा जाता है, यदि लेनदेन विफल हो जाता है या स्पष्ट रूप से वापस रोल किया जाता है तो पूर्ण रोलबैक सक्षम होता है।
D
Transactions execute at the atomic CPU instruction level लेनदेन परमाणु सीपीयू अनुदेश स्तर पर निष्पादित होते हैं
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Atomicity implementation: DBMS maintains undo/rollback log with before-images of modified data. If ROLLBACK: apply undo log in reverse order to restore original values. If COMMIT: make changes permanent, discard undo log entries. Crash during transaction: recovery applies undo log during restart.
व्याख्या (हिन्दी) एटोमिसिटी कार्यान्वयन: डीबीएमएस संशोधित डेटा की पूर्व-छवियों के साथ पूर्ववत/रोलबैक लॉग बनाए रखता है। यदि रोलबैक: मूल मानों को पुनर्स्थापित करने के लिए रिवर्स ऑर्डर में लॉग को पूर्ववत करें लागू करें। यदि प्रतिबद्ध हैं: परिवर्तनों को स्थायी बनाएं, लॉग प्रविष्टियों को पूर्ववत करें। लेन-देन के दौरान क्रैश: पुनर्प्राप्ति पुनरारंभ के दौरान लॉग को पूर्ववत करने पर लागू होती है।
74
EN + हिं Easy
GB What is the Consistency property in ACID and who is responsible for defining the constraints that must hold?
IN ACID में संगति संपत्ति क्या है और उन बाधाओं को परिभाषित करने के लिए कौन जिम्मेदार है जो अवश्य होनी चाहिए?
A
Consistency only applies to financial transactions संगति केवल वित्तीय लेनदेन पर लागू होती है
B
Consistency means the transaction takes the database from one valid state to another - the DBMS enforces defined constraints (PK FK CHECK NOT NULL) but the APPLICATION is responsible for ensuring business-level constraints are upheld (the DB only enforces what it knows about) संगति का मतलब है कि लेनदेन डेटाबेस को एक वैध स्थिति से दूसरे में ले जाता है - डीबीएमएस परिभाषित बाधाओं को लागू करता है (पीके एफके चेक शून्य नहीं है) लेकिन एप्लिकेशन यह सुनिश्चित करने के लिए ज़िम्मेदार है कि व्यवसाय-स्तरीय बाधाओं को बरकरार रखा गया है (डीबी केवल वही लागू करता है जिसके बारे में वह जानता है)
C
Consistency is maintained automatically without any constraints बिना किसी बाधा के निरंतरता स्वचालित रूप से बनी रहती है
D
The DBMS is solely responsible for all consistency डीबीएमएस सभी स्थिरता के लिए पूरी तरह जिम्मेदार है
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Consistency is a shared responsibility: DBMS enforces: schema constraints (NOT NULL, UNIQUE, FK, CHECK). Application must ensure: business rules beyond schema (e.g., ensuring order total = sum of line items, managing multi-table business invariants). The DBMS cannot know all business rules.
व्याख्या (हिन्दी) संगति एक साझा जिम्मेदारी है: डीबीएमएस लागू करता है: स्कीमा बाधाएं (शून्य नहीं, अद्वितीय, एफके, चेक)। एप्लिकेशन को यह सुनिश्चित करना होगा: स्कीमा से परे व्यावसायिक नियम (उदाहरण के लिए, कुल ऑर्डर सुनिश्चित करना = लाइन आइटम का योग, मल्टी-टेबल बिजनेस इनवेरिएंट का प्रबंधन करना)। DBMS सभी व्यावसायिक नियमों को नहीं जान सकता।
75
EN + हिं Easy
GB What is the Isolation property and what is the trade-off between stronger isolation levels and performance?
IN अलगाव संपत्ति क्या है और मजबूत अलगाव स्तर और प्रदर्शन के बीच क्या तालमेल है?
A
Higher isolation always improves performance उच्च अलगाव हमेशा प्रदर्शन में सुधार करता है
B
Isolation ensures concurrent transactions execute as if they were serial; stronger isolation (SERIALIZABLE) prevents more anomalies but requires more locking/MVCC overhead reducing concurrency and throughput. Weaker isolation (READ COMMITTED) allows more anomalies but permits higher concurrency अलगाव सुनिश्चित करता है कि समवर्ती लेनदेन ऐसे निष्पादित हों जैसे कि वे क्रमबद्ध हों; मजबूत अलगाव (सीरियलाइज़ेबल) अधिक विसंगतियों को रोकता है लेकिन संगामिति और थ्रूपुट को कम करने के लिए अधिक लॉकिंग/एमवीसीसी ओवरहेड की आवश्यकता होती है। कमजोर अलगाव (प्रतिबद्ध पढ़ें) अधिक विसंगतियों की अनुमति देता है लेकिन उच्च समवर्तीता की अनुमति देता है
C
Isolation only applies to reads not writes अलगाव केवल पढ़ने पर लागू होता है, लिखने पर नहीं
D
Isolation eliminates all transaction conflicts अलगाव सभी लेन-देन संबंधी विवादों को समाप्त कर देता है
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Isolation trade-off: SERIALIZABLE prevents all anomalies (dirty read, non-repeatable read, phantom read) via range locks or snapshot isolation, but highest lock contention / lowest throughput. READ UNCOMMITTED: no isolation, maximum concurrency but allows dirty reads. Most systems use READ COMMITTED as default.
व्याख्या (हिन्दी) आइसोलेशन ट्रेड-ऑफ: सीरियलाइज़ेबल रेंज लॉक या स्नैपशॉट आइसोलेशन के माध्यम से सभी विसंगतियों (गंदी रीड, नॉन-रिपीटेबल रीड, फैंटम रीड) को रोकता है, लेकिन उच्चतम लॉक कंटेंट / सबसे कम थ्रूपुट को रोकता है। अप्रतिबद्ध पढ़ें: कोई अलगाव नहीं, अधिकतम समवर्ती लेकिन गंदे पढ़ने की अनुमति देता है। अधिकांश सिस्टम डिफ़ॉल्ट रूप से READ COMMITTED का उपयोग करते हैं।
61–75 of 158