FliQi Education App Download
प्रश्न-बैंक · Programmer DBMS

Integrity Constraints and Codd's Rule — प्रश्न और उत्तर

Programmer DBMS · 54 जाँचे हुए (verified) प्रश्न

  • 54 जाँचे हुए प्रश्न
  • हिंदी + English

पहले 10 प्रश्नों के उत्तर और हल यहीं खुले हैं; बाक़ी 20 के उत्तर और हल FliQi Question Bank app में।

भाषा
प्रश्न 1उत्तर + हल
दो तालिकाओं के बीच संदर्भात्मक अखंडता (referential integrity) लागू करने के लिए SQL का कौन-सा प्रतिबंध (constraint) काम आता है?
Which SQL constraint is used to enforce referential integrity between two tables?
  1. APRIMARY KEY
  2. BFOREIGN KEY
  3. CCHECK
  4. DUNIQUE

सही उत्तर / Answer: (B)

हल / Solution
संदर्भात्मक अखंडता (referential integrity) दो तालिकाओं के बीच की कड़ी है, और SQL में वह कड़ी FOREIGN KEY प्रतिबंध से बनती है। वही बाध्य करता है कि बच्चा तालिका का मान माता-पिता तालिका की प्राथमिक कुंजी में मौजूद हो। PRIMARY KEY अपनी ही तालिका की पंक्तियाँ अलग-अलग पहचानती है। CHECK एक खाने के मान की शर्त देखता है, और UNIQUE दोहराव रोकता है — तीनों एक ही तालिका के भीतर काम करते हैं।
Referential integrity is the link between two tables, and in SQL that link is declared with a FOREIGN KEY constraint. It forces every value in the child table to exist in the parent table's primary key. PRIMARY KEY only identifies the rows of its own table. CHECK tests a condition on the values of a column, and UNIQUE merely stops repetition. All three of those work inside a single table, so none of them can enforce a cross-table rule.
प्रश्न 2उत्तर + हल
जुड़ी हुई तालिकाओं के बीच संदर्भात्मक अखंडता (referential integrity) लागू करने में प्राथमिक कुंजी (primary key) की क्या भूमिका है?
What role does the primary key play in enforcing referential integrity constraints between related tables?
  1. Aयह तालिकाओं के बीच एक-से-एक (one-to-one) संबंध बना देती है।It establishes a one-to-one relationship between tables.
  2. Bयह संदर्भित (referenced) तालिका में विदेशी कुंजी का काम करती है।It acts as the foreign key in the referenced table.
  3. Cयह पक्का करती है कि संदर्भ करने वाली तालिका के हर tuple का संदर्भित तालिका में एक tuple मौजूद हो।It ensures that every tuple in the referencing table has a corresponding tuple in the referenced table.
  4. Dयह विदेशी कुंजी वाले column में null मान रहने देती है।It allows for the presence of null values in foreign key columns.

सही उत्तर / Answer: (C)

हल / Solution
प्राथमिक कुंजी (primary key) वह अनोखा और null-रहित मान देती है जिसकी ओर विदेशी कुंजी (foreign key) इशारा करती है। इसी भरोसे पर DBMS जाँच पाता है कि संदर्भ करने वाली तालिका के हर tuple का जोड़ीदार tuple दूसरी तालिका में मौजूद है। संबंध एक-से-एक है या एक-से-अनेक, यह बनावट तय करती है, कुंजी नहीं। कुंजी ख़ुद विदेशी कुंजी नहीं बनती, और null की छूट देना तो कड़ी ही ढीली कर देता है।
A primary key supplies the unique, non-null value that a foreign key is allowed to point at. Because that value is guaranteed to exist and to identify exactly one row, the engine can check that every tuple in the referencing table has a matching tuple in the referenced table. Whether the relationship is one-to-one or one-to-many is a design choice. The key does not itself act as the foreign key, and permitting nulls would weaken the link.
प्रश्न 3उत्तर + हल
संदर्भात्मक अखंडता (referential integrity) बनाए रखने में विदेशी कुंजी (foreign key) प्रतिबंध की क्या भूमिका है?
What role does a foreign key constraint play in maintaining referential integrity?
  1. Aयह एक ही रिलेशन में दोहरे मान रखने की छूट देता है।It allows for the storage of duplicate values within a relation.
  2. Bयह पक्का करता है कि सारे attribute गैर-कुंजी (non-key) हों।It ensures that all attributes are non-key attributes.
  3. Cयह जुड़ी तालिकाओं में संगति बनाए रखता है — विदेशी कुंजी वाले column के मान दूसरी तालिका की प्राथमिक कुंजी (primary key) वाले column के मानों से मेल खाने चाहिए।It enforces consistency between related tables by requiring that values in the foreign key column match values in the primary key column of another table.
  4. Dयह हर tuple के लिए अपने-आप प्रतिनिधि कुंजी (surrogate key) बना देता है।It automatically generates surrogate keys for each tuple.

सही उत्तर / Answer: (C)

हल / Solution
विदेशी कुंजी (foreign key) एक तालिका का वह column है जो दूसरी तालिका की प्राथमिक कुंजी (primary key) की ओर इशारा करता है। उस पर प्रतिबंध लगते ही DBMS हर insert और update पर जाँचता है कि इशारा किए गए मान वहाँ सचमुच मौजूद हैं, इसलिए अनाथ (orphan) पंक्तियाँ बन ही नहीं पातीं। दोहरे मान रखने की छूट देना इसका काम नहीं। attribute गैर-कुंजी हों, यह शर्त कहीं नहीं है, और प्रतिनिधि कुंजी बनाना अलग सुविधा है।
A foreign key is the column in one table that points at the primary key of another table. Once the constraint is declared, the engine checks on every insert and update that the referenced value really exists, so orphan rows can never be created. Letting duplicate values be stored is not its purpose. Nothing in the model demands that all attributes be non-key, and generating surrogate keys is a separate facility such as an identity column.
प्रश्न 4उत्तर + हल
रिलेशनल मॉडल (relational model) डेटा की अखंडता कैसे पक्की करता है?
How does the relational model ensure data integrity?
  1. Aसंदर्भात्मक अखंडता (referential integrity) के प्रतिबंध लागू करके।By enforcing referential integrity constraints.
  2. Bहर column में null मान की छूट देकर।By allowing null values in all columns.
  3. Cसारे डेटा के लिए भीतर से ही कूटलेखन (encryption) देकर।By providing built-in encryption for all data.
  4. Dडेटा को पदानुक्रमित (hierarchical) ढाँचे में रखकर।By storing data in hierarchical structures.

सही उत्तर / Answer: (A)

हल / Solution
रिलेशनल मॉडल तालिकाओं के बीच का रिश्ता विदेशी कुंजी (foreign key) से बनाता है और संदर्भात्मक अखंडता (referential integrity) से उसका पहरा देता है, इसलिए कोई पंक्ति ग़ायब कुंजी पर नहीं टिक सकती। हर column में null की छूट देना तो अखंडता घटाता है। कूटलेखन मॉडल का हिस्सा नहीं, उत्पाद की सुविधा है। और पदानुक्रमित ढाँचा पुराने hierarchical मॉडल का रूप है, रिलेशनल का नहीं — रिलेशनल में डेटा तालिकाओं में रहता है।
The relational model builds the link between tables with a foreign key and then guards that link through referential integrity, so no row can point at a key that does not exist. Allowing nulls everywhere would weaken integrity instead of ensuring it. Encryption is a feature offered by particular products, not a part of the model. Hierarchical storage belongs to the older hierarchical model, because relational data is always kept in tables.
प्रश्न 5उत्तर + हल
कर्मचारी (employee) डेटाबेस में डोमेन अखंडता (domain integrity) के प्रतिबंध डेटा भरने की ग़लतियाँ रोकने में कैसे मदद करते हैं?
How can domain integrity constraints help prevent data entry errors in an employee database?
  1. Aलचीलापन बढ़ाने के लिए हर खाने में कुछ भी भरने की छूट देकर।By allowing unrestricted input in all fields to promote data flexibility.
  2. Bemployee ID के लिए लंबाई और रूप (format) जैसे जाँच-नियम लागू करके।By enforcing data validation rules for employee IDs, such as length and format.
  3. Cगोपनीयता बचाने के लिए संवेदनशील कर्मचारी सूचना कूटलेखित (encrypt) करके।By encrypting sensitive employee information to protect confidentiality.
  4. Dडेटा तक पहुँच सीमित करने के लिए भूमिका-आधारित (role-based) नियंत्रण लगाकर।By implementing role-based access controls to restrict data access.

सही उत्तर / Answer: (B)

हल / Solution
डोमेन अखंडता (domain integrity) हर खाने का रूप और सीमा पहले से तय कर देती है। employee ID पर लंबाई और रूप (format) की शर्त लगी हो, तो टाइप करने की चूक वहीं पकड़ी जाती है और ग़लत ID तालिका में घुसती ही नहीं। हर खाने में कुछ भी भरने की छूट देने से ग़लतियाँ बढ़ेंगी। कूटलेखन और भूमिका-आधारित पहुँच नियंत्रण (role-based access control) सुरक्षा के औज़ार हैं — वे भरे गए मान की सच्चाई नहीं देखते।
Domain integrity settles in advance what shape and range each column accepts. Once the employee ID column carries rules about its length and its format, a typing slip is caught at entry and the wrong identifier never reaches the table. Allowing anything in any field would raise the error rate rather than lower it. Encryption and role-based access control decide who may see a value, not whether the value that was typed is correct.
प्रश्न 6उत्तर + हल
उत्पाद (product) डेटाबेस में डोमेन अखंडता (domain integrity) के प्रतिबंध डेटा की गुणवत्ता बनाए रखने में कैसे मदद करते हैं?
How do domain integrity constraints contribute to maintaining data quality in a product database?
  1. Aउत्पाद के दाम वाले खाने में ऋणात्मक मान न आने देने के नियम लागू करके।By enforcing rules to prevent negative values in the product price field.
  2. Bउत्पाद के विवरण वाले खाने में null मान की छूट देकर।By allowing null values in the product description field.
  3. Cअलग-अलग श्रेणियों में एक ही product ID दोहराने की छूट देकर।By permitting duplicate product IDs across different categories.
  4. Dबौद्धिक संपदा बचाने के लिए उत्पाद की विशेषताएँ कूटलेखित (encrypt) करके।By encrypting product specifications to protect intellectual property.

सही उत्तर / Answer: (A)

हल / Solution
डोमेन अखंडता (domain integrity) हर खाने के लिए मान्य मानों की सीमा बाँधती है। दाम वाले खाने पर CHECK जैसी शर्त लगाने से ऋणात्मक दाम भीतर ही नहीं जा पाता, इसलिए डेटा की गुणवत्ता बनी रहती है। null की छूट देना तो पहरा ढीला करना है, कसना नहीं। एक ही product ID दोहराने देना कुंजी का उल्लंघन है और गुणवत्ता घटाता है। कूटलेखन (encryption) सूचना छिपाने का औज़ार है, मानों को सही रखने का नहीं।
Domain integrity fixes the set of values each column may hold. A CHECK condition on the price column simply refuses a negative figure, so bad data never enters and quality stays high. Allowing nulls in the description column loosens the guard instead of tightening it. Permitting the same product ID in different categories breaks the key and lowers quality further. Encryption hides information from outsiders, which does nothing to keep the stored values correct.
प्रश्न 7उत्तर + हल
रिलेशनल डेटाबेस में एंटिटी अखंडता (entity integrity) और संदर्भात्मक अखंडता (referential integrity) में क्या अंतर है?
What distinguishes entity integrity from referential integrity in a relational database?
  1. Aएंटिटी अखंडता सिर्फ़ view पर लगती है, जबकि संदर्भात्मक अखंडता सिर्फ़ आधार तालिकाओं पर।Entity integrity applies only to views, while referential integrity applies only to base tables.
  2. Bएंटिटी अखंडता डेटा प्रकार (data type) के प्रतिबंध लागू करती है, जबकि संदर्भात्मक अखंडता भरे गए मानों की जाँच करती है।Entity integrity enforces data type constraints, while referential integrity validates input values.
  3. Cएंटिटी अखंडता प्राथमिक कुंजी में null मान नहीं आने देती, जबकि संदर्भात्मक अखंडता विदेशी कुंजी के प्रतिबंध लागू करती है।Entity integrity prevents null values in primary keys, while referential integrity enforces foreign key constraints.
  4. Dएंटिटी अखंडता एक-से-अनेक (one-to-many) संबंध की छूट देती है, जबकि संदर्भात्मक अखंडता एक-से-एक (one-to-one) संबंध लागू करती है।Entity integrity allows for one-to-many relationships, while referential integrity enforces one-to-one relationships.

सही उत्तर / Answer: (C)

हल / Solution
एंटिटी अखंडता (entity integrity) एक ही तालिका के भीतर देखती है — उसकी प्राथमिक कुंजी (primary key) न दोहराई जाए और न null हो। संदर्भात्मक अखंडता (referential integrity) दो तालिकाओं के बीच की कड़ी देखती है — विदेशी कुंजी (foreign key) का मान दूसरी तालिका में मौजूद हो। डेटा प्रकार की जाँच डोमेन अखंडता का काम है। और संबंध कितने-से-कितने हैं, यह बनावट का फ़ैसला है, इन दोनों में अंतर नहीं। view वाली बात तो कहीं लागू ही नहीं होती।
Entity integrity looks inside one table: its primary key must never repeat and never be null. Referential integrity looks at the link between two tables: a foreign key value must already exist in the table it points to. Checking data types is the work of domain integrity, so the second choice mixes them up. Whether a relationship is one-to-many or one-to-one is a design decision, and neither rule is limited to views, so those choices fail.
प्रश्न 8उत्तर + हल
किसी वित्तीय डेटाबेस में डोमेन अखंडता (domain integrity) न होने से डेटा की सटीकता पर क्या असर पड़ता है?
How can the absence of domain integrity affect data accuracy in a financial database?
  1. Aलेन-देन की राशि वाले खाने में ऋणात्मक मान आ जाने देकर।By allowing negative values in the transaction amount field.
  2. Bग्राहक के पते के लिए कड़े जाँच-नियम लागू करके।By enforcing strict validation rules for customer addresses.
  3. Cधोखाधड़ी रोकने के लिए लेन-देन का ब्योरा कूटलेखित (encrypt) करके।By encrypting financial transaction details to prevent fraud.
  4. Dउपयोगकर्ता की पहुँच पर बहु-कारक प्रमाणीकरण (multi-factor authentication) लगाकर।By implementing multi-factor authentication for user access.

सही उत्तर / Answer: (A)

हल / Solution
डोमेन अखंडता (domain integrity) तय करती है कि किसी खाने में कौन-से मान चल सकते हैं। राशि वाले खाने पर CHECK जैसी शर्त न लगी हो तो ऋणात्मक या बेतुकी राशि भी भीतर चली जाती है, और उसी से शेष राशि तथा जोड़ ग़लत पड़ जाते हैं। पते की कड़ी जाँच तो डोमेन अखंडता का ही रूप है, उसकी कमी नहीं। कूटलेखन और बहु-कारक प्रमाणीकरण (MFA) सुरक्षा के औज़ार हैं, सटीकता के नहीं।
Domain integrity decides which values a column may hold. If no CHECK condition sits on the amount column, a negative or absurd figure can be stored, and every balance and total computed from it turns wrong. Strict validation of addresses is itself an example of domain integrity, so it cannot be the effect of its absence. Encryption and multi-factor authentication protect data from outsiders, which is a security concern rather than an accuracy concern.
प्रश्न 9उत्तर + हल
किसी भंडार प्रबंधन (inventory management) तंत्र में संदर्भात्मक अखंडता (referential integrity) लागू न हो, तो क्या दिक़्क़त आ सकती है?
In an inventory management system, what issue might arise if referential integrity constraints are not enforced?
  1. Aभंडार तालिकाओं की query अपने index का उपयोग बंद कर देना।Queries on the inventory tables stop using their indexes.
  2. Bस्टॉक के स्तर और पुनः-आदेश बिंदु (reorder point) की रिपोर्ट ग़लत आना।Inaccurate reporting of stock levels and reorder points.
  3. Cआदेश दर्ज करते समय ग़ायब उत्पाद रिकॉर्ड अपने-आप बन जाना।Missing product records get created automatically during order entry.
  4. Dआपूर्तिकर्ता की आपूर्ति-तिथियों की निगरानी बेहतर हो जाना।Improved tracking of supplier delivery schedules.

सही उत्तर / Answer: (B)

हल / Solution
संदर्भात्मक अखंडता (referential integrity) का पहरा न हो तो स्टॉक की हलचल वाली पंक्तियाँ ऐसे उत्पाद नंबर पर टिक जाती हैं जो उत्पाद तालिका में ही नहीं है। ऐसी अनाथ (orphan) पंक्तियाँ जोड़ में तो गिनी जाती हैं, पर किसी उत्पाद से जुड़ती नहीं, इसलिए स्टॉक का स्तर और पुनः-आदेश बिंदु ग़लत निकलते हैं। index का उपयोग इससे नहीं रुकता, ग़ायब रिकॉर्ड अपने-आप बनते नहीं, और निगरानी बेहतर होने का तो सवाल ही नहीं।
Without referential integrity, a stock movement row can keep a product number that no longer exists in the product table. Such orphan rows still get added into totals, yet they belong to no product, so the stock on hand and the reorder point both come out wrong. Dropping the constraint does not stop indexes from being used. Missing parent rows are never created on their own, and nothing about supplier tracking improves, so those three choices fail.
प्रश्न 10उत्तर + हल
ग्राहक डेटाबेस में एंटिटी अखंडता (entity integrity) न होने से डेटा में बेमेल कैसे पैदा होता है?
How can the absence of entity integrity lead to data inconsistency in a customer database?
  1. Aअलग-अलग ID के साथ एक ही ग्राहक के दोहरे रिकॉर्ड बन जाने देकर।By allowing duplicate customer records with different IDs.
  2. Bग्राहक के नाम वाले खाने में null मान की छूट देकर।By permitting null values in the customer name field.
  3. Cडेटा भरते समय कड़े जाँच-नियम लागू करके।By enforcing strict data validation rules during data entry.
  4. Dसंवेदनशील ग्राहक सूचना को कूटलेखित (encrypt) करके।By encrypting sensitive customer information to protect privacy.

सही उत्तर / Answer: (A)

हल / Solution
एंटिटी अखंडता हर ग्राहक को एक ही अनोखी पहचान देती है। वह पहरा हट जाए तो एक ही ग्राहक अलग-अलग ID से दो-तीन बार दर्ज हो जाता है, और फिर पता, बाक़ी राशि या आदेश का इतिहास अलग-अलग पंक्तियों में बँट जाता है — यही बेमेल है। नाम वाले खाने में null आना डोमेन अखंडता की बात है, कुंजी की नहीं। कड़े जाँच-नियम और कूटलेखन तो बेमेल रोकते हैं, पैदा नहीं करते।
Entity integrity gives every customer exactly one unique identifier. Remove that guard and the same person can be stored two or three times under different IDs. Address, balance and order history then get split across those rows, and no report can say which copy is right. A null in the name column is a domain issue, not a key issue. Strict validation rules and encryption actually prevent trouble, so neither of them creates inconsistency.
आगे के 20 प्रश्नों के उत्तर और हल app मेंFliQi Question Bank — अभ्यास, हल और आपकी प्रगति
App खोलिए
प्रश्न 11उत्तर app में
रिलेशनल डेटाबेस में डोमेन अखंडता (domain integrity) क्या पक्का करती है?
What does domain integrity ensure in a relational database?
  1. Aकिसी column का हर मान अनोखा (unique) होना चाहिए।Each value in a column must be unique.
  2. Bविदेशी कुंजी (foreign key) के मान दूसरी तालिका की प्राथमिक कुंजी (primary key) से मेल खाने चाहिए।Foreign key values must match the primary key values in another table.
  3. Cकिसी column के मान तय किए गए डेटा प्रकार (data type) और सीमा के भीतर ही होने चाहिए।Values in a column must conform to specified data types and ranges.
  4. Dप्राथमिक कुंजी वाले column में null मान नहीं चल सकते।Null values are not allowed in the primary key column.
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 12उत्तर app में
छात्र-पाठ्यक्रम (student-course) डेटाबेस में संदर्भात्मक अखंडता (referential integrity) डेटा की संगति कैसे पक्की करती है?
In a student-course database, how does referential integrity ensure data consistency?
  1. Aयह पक्का करके कि हर छात्र की student ID अनोखी हो।By ensuring that each student has a unique student ID.
  2. Bजिस course में छात्रों का नामांकन दर्ज है, उसे मिटाने से रोककर।By preventing the deletion of a course that has associated student enrollments.
  3. Cविदेशी कुंजी (foreign key) वाले column में null मान की छूट देकर।By allowing null values in foreign key columns.
  4. Dछात्रों और courses के बीच एक-से-एक (one-to-one) संबंध लागू करके।By enforcing a one-to-one relationship between students and courses.
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 13उत्तर app में
रिलेशनल डेटाबेस में एंटिटी अखंडता (entity integrity) क्या पक्का करती है?
What does entity integrity ensure in a relational database?
  1. Aकिसी column का हर मान अनोखा (unique) होना चाहिए।Each value in a column must be unique.
  2. Bविदेशी कुंजी (foreign key) के मान दूसरी तालिका की प्राथमिक कुंजी (primary key) से मेल खाने चाहिए।Foreign key values must match the primary key values in another table.
  3. Cतालिका के हर column को एक default मान देना ज़रूरी है।Every column in a table must be given a default value.
  4. Dतालिका की हर पंक्ति की अपनी एक अनोखी पहचान (unique identifier) होनी चाहिए।Each row in a table must have a unique identifier.
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 14उत्तर app में
किसी स्वास्थ्य-सेवा नेटवर्क में कई डेटाबेस जोड़ते समय अखंडता प्रतिबंध (integrity constraints) डेटा की संगति (consistency) बनाए रखने में कैसे मदद करते हैं?
How can integrity constraints assist in maintaining data consistency when integrating multiple databases in a healthcare network?
  1. Aसभी तंत्रों पर एक जैसा कूटलेखन (encryption) मानक लागू करके।By enforcing uniform data encryption standards across all systems.
  2. Bमरीज़ों के रिकॉर्ड अपने-आप तुरंत (real-time) मिलाकर।By automatically synchronizing patient records in real-time.
  3. Cजोड़ने के दौरान डेटा की मैपिंग और रूपांतरण (transformation) की जाँच करके।By validating data mappings and transformations during integration.
  4. Dडेटाबेस की indexing और query execution plan को अनुकूल बनाकर।By optimizing database indexing and query execution plans.
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 15उत्तर app में
वित्तीय संस्थाओं के लिए अपने डेटाबेस में कड़े अखंडता प्रतिबंध (integrity constraints) लागू रखना क्यों ज़रूरी है?
Why is it important for financial institutions to enforce strict integrity constraints in their databases?
  1. Aग्राहक की संतुष्टि और वफ़ादारी बढ़ाने के लिए।To improve customer satisfaction and loyalty.
  2. Bभीतरी डेटा प्रबंधन की प्रक्रियाओं को आसान बनाने के लिए।To streamline internal data management processes.
  3. Cधन-शोधन निवारण (anti-money laundering) नियमों का पालन पक्का करने के लिए।To ensure compliance with anti-money laundering regulations.
  4. Dडेटा के चित्रण (visualization) और रिपोर्टिंग को बेहतर बनाने के लिए।To enhance data visualization and reporting capabilities.
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 16उत्तर app में
किसी बड़े e-commerce डेटाबेस पर जटिल अखंडता प्रतिबंध (integrity constraints) लागू रखने का प्रदर्शन (performance) पर क्या असर पड़ सकता है?
How might the enforcement of complex integrity constraints impact the performance of a large-scale e-commerce database?
  1. Aलेन-देन धीमे पड़ सकते हैं और प्रतीक्षा समय (latency) बढ़ सकता है।It may result in slower transaction processing and increased latency.
  2. Bडेटा की पुनरावृत्ति (redundancy) बढ़ेगी और भंडारण बेकार जाएगा।It could lead to data redundancy and storage inefficiency.
  3. Cपुराने (legacy) तंत्रों के साथ मेल न बैठने की दिक़्क़त आ सकती है।It might cause compatibility issues with legacy systems.
  4. Dडेटा की सटीकता बढ़ जाएगी और डेटा चोरी का ख़तरा घट जाएगा।It can improve data accuracy and reduce the risk of data breaches.
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 17उत्तर app में
डेटा डालते समय किसी अखंडता प्रतिबंध (integrity constraint) का उल्लंघन हो जाए, तो डेटाबेस प्रबंधन प्रणाली (DBMS) को क्या करना चाहिए?
What action should a database management system (DBMS) take when a constraint violation occurs during data insertion?
  1. Aउल्लंघन करने वाले डेटा को ख़ुद सुधारकर insert पूरा कर देना चाहिए।Automatically correct the violating data and proceed with the insertion.
  2. Bउल्लंघन को log में लिखकर उपयोगकर्ता को चेतावनी दे देनी चाहिए।Log the violation and provide a warning message to the user.
  3. Cलेन-देन (transaction) को rollback करके उपयोगकर्ता को प्रतिबंध उल्लंघन की सूचना देनी चाहिए।Rollback the transaction and notify the user of the constraint violation.
  4. Dप्रतिबंध को कुछ देर के लिए बंद करके insert होने देना चाहिए।Deactivate the constraint temporarily to allow the insertion.
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 18उत्तर app में
सशर्त और बहु-स्तंभ जैसे जटिल अखंडता प्रतिबंध किसी विनिर्माण डेटाबेस में डेटा की गुणवत्ता कैसे सुधार सकते हैं?
How can complex integrity constraints, such as conditional and multi-column constraints, improve data quality in a manufacturing database?
  1. Aविनिर्माण ऑर्डर को अधूरा ही पूरा मान लेकर।By allowing partial completion of manufacturing orders.
  2. Bयह सुनिश्चित करके कि उत्पाद तय गुणवत्ता मानकों पर खरे उतरें।By ensuring that products meet specific quality control standards.
  3. Cउत्पादन लाइन की कार्यक्षमता तत्काल देखने की सुविधा देकर।By facilitating real-time tracking of production line efficiency.
  4. Dमाँग के अनुमान के आधार पर भंडार अपने आप भरवाकर।By automating inventory replenishment based on demand forecasts.
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 19उत्तर app में
लॉजिस्टिक्स डेटाबेस में डेटा की शुद्धता बनाए रखने के लिए टेम्पोरल अखंडता प्रतिबंध किस स्थिति में सबसे ज़रूरी होंगे?
In what scenario might temporal integrity constraints be crucial for maintaining data accuracy in a logistics database?
  1. Aडिलीवरी का कार्यक्रम तत्काल अद्यतन रखने में।Ensuring that delivery schedules are updated in real-time.
  2. Bउत्पाद के भंडार स्तर में समय के साथ हुए बदलाव दर्ज रखने में।Tracking historical changes in product inventory levels.
  3. Cशिपमेंट की संवेदनशील जानकारी तक अनधिकृत पहुँच रोकने में।Preventing unauthorized access to sensitive shipment details.
  4. Dकई उपयोगकर्ताओं की एक साथ पहुँच सँभालने में।Managing concurrent access to the database by multiple users.
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 20उत्तर app में
स्वास्थ्य सेवा से जुड़ी डेटाबेस प्रणाली में चेक प्रतिबंध लगाना क्यों ज़रूरी है?
Why is the implementation of check constraints essential in a healthcare database system?
  1. Aडेटा एन्क्रिप्शन लागू करने और अनधिकृत पहुँच रोकने के लिए।To enforce data encryption and prevent unauthorized access.
  2. Bयह सुनिश्चित करने के लिए कि रोगी के अभिलेख नियामक मानकों पर खरे उतरें।To ensure that patient records meet regulatory compliance standards.
  3. Cक्वेरी का प्रदर्शन सुधारने और डेटाबेस को तेज़ बनाने के लिए।To optimize query performance and improve database responsiveness.
  4. Dडेटा निकालना आसान बनाने और उपयोगकर्ता का अनुभव बेहतर करने के लिए।To simplify data retrieval processes and enhance user experience.
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 21उत्तर app में
यूनिक प्रतिबंध का उल्लंघन किसी ई-कॉमर्स डेटाबेस के कामकाज पर कैसे असर डाल सकता है?
How can a violation of unique constraints affect the functionality of an e-commerce database?
  1. Aइससे ऑर्डर संभालने और भेजने में देरी हो सकती है।It may lead to delayed order processing and shipment.
  2. Bइससे ग्राहकों का भरोसा और लगाव टूट सकता है।It could result in the loss of customer trust and loyalty.
  3. Cइससे क़ीमत की ग़लत जानकारी दिख सकती है।It might cause incorrect pricing information to be displayed.
  4. Dइससे ग्राहक के दोहरे खाते बन सकते हैं और बिक्री के अभिलेख ग़लत हो सकते हैं।It can result in duplicate customer accounts and inaccurate sales records.
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 22उत्तर app में
ग्राहक-ऑर्डर डेटाबेस में रेफरेंशियल इंटीग्रिटी ठीक से लागू न हो तो क्या समस्या खड़ी हो सकती है?
What issues might arise if referential integrity constraints are not properly enforced in a customer-order database?
  1. Aग्राहक की जानकारी छूट जाने या पुरानी होने से ऑर्डर का कुल ग़लत बनना।Incorrect order totals due to missing or outdated customer information.
  2. Bऑर्डर की स्थिति असंगत रहने से डिलीवरी में देरी।Inconsistent order statuses leading to delayed deliveries.
  3. Cग्राहकों के दोहरे अभिलेख बनने से ऑर्डर संभालने में उलझन।Duplicate customer records causing confusion in order processing.
  4. Dऐसे ऑर्डर बच जाना जो किसी ग्राहक से जुड़े ही नहीं, जिससे बिक्री की रिपोर्ट ग़लत हो जाए।Unlinked orders resulting in inaccurate sales reporting.
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 23उत्तर app में
किसी बैंकिंग डेटाबेस में अखंडता प्रतिबंध डेटा की संगति बनाए रखने में कैसे मदद करते हैं?
In a banking database, how can integrity constraints help maintain data consistency?
  1. Aलेन-देन तेज़ करने के लिए एक ही खाता संख्या दोहराने देकर।By allowing duplicate account numbers to facilitate faster transactions.
  2. Bहर लेन-देन को अलग तालिका में दर्ज करके।By ensuring that each transaction is logged in a separate table.
  3. Cऐसे नियम लागू करके जो ओवरड्राफ़्ट और ग़लत खाता शेष रोकते हैं।By enforcing rules to prevent overdrafts and invalid account balances.
  4. Dग्राहक की जानकारी एन्क्रिप्ट करके, ताकि अनधिकृत पहुँच न हो।By encrypting customer information to protect against unauthorized access.
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 24उत्तर app में
बड़े पैमाने के रिलेशनल डेटाबेसों में प्रतिबंध जाँच को बेहतर बनाने के लिए आमतौर पर कौन-सा तरीक़ा अपनाया जाता है?
Which approach is commonly used to optimize constraint checking in large-scale relational databases?
  1. Aसमानांतर प्रतिबंध मूल्यांकनParallel constraint evaluation
  2. Bवृद्धिशील प्रतिबंध सत्यापनIncremental constraint validation
  3. Cशिथिल प्रतिबंध प्रवर्तनLazy constraint enforcement
  4. Dगतिशील प्रतिबंध पुनर्विन्यासDynamic constraint reconfiguration
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 25उत्तर app में
क्रॉस-टेबल अखंडता प्रतिबंध इंट्रा-टेबल प्रतिबंधों से किस तरह अलग होते हैं?
How do cross-table integrity constraints differ from intra-table constraints?
  1. Aक्रॉस-टेबल प्रतिबंध कई तालिकाओं पर लगते हैं, जबकि इंट्रा-टेबल प्रतिबंध एक ही तालिका के भीतर काम करते हैं।Cross-table constraints involve multiple tables, while intra-table constraints apply within a single table.
  2. Bक्रॉस-टेबल प्रतिबंध डेटा डालने से पहले लागू होते हैं, जबकि इंट्रा-टेबल प्रतिबंध डालने के बाद जाँचे जाते हैं।Cross-table constraints are enforced before data insertion, while intra-table constraints are validated after insertion.
  3. Cक्रॉस-टेबल प्रतिबंध अपने दायरे में इंट्रा-टेबल प्रतिबंधों से ज़्यादा कठोर होते हैं।Cross-table constraints are more restrictive than intra-table constraints in their enforcement scope.
  4. Dक्रॉस-टेबल प्रतिबंध केवल प्राथमिक कुंजियों पर लगते हैं, जबकि इंट्रा-टेबल प्रतिबंध सभी स्तंभों पर।Cross-table constraints apply only to primary keys, while intra-table constraints apply to all columns.
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 26उत्तर app में
रिलेशनल डेटाबेस स्कीमा में अखंडता प्रतिबंध परिभाषित करने के लिए आमतौर पर किस प्रकार की भाषा का उपयोग होता है?
Which type of language is commonly used to define integrity constraints in a relational database schema?
  1. Aप्रक्रियात्मक प्रोग्रामिंग भाषाएँProcedural programming languages
  2. Bघोषणात्मक प्रतिबंध विनिर्देशन भाषाएँDeclarative constraint specification languages
  3. Cऑब्जेक्ट ओरिएंटेड प्रोग्रामिंग भाषाएँObject-oriented programming languages
  4. Dनिम्न स्तरीय मशीन भाषाएँLow-level machine languages
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 27उत्तर app में
डेटाबेस क्रिया के दौरान प्रतिबंध का उल्लंघन होने पर डेटाबेस प्रबंधन प्रणाली आमतौर पर क्या करती है?
When a constraint violation occurs during a database operation, what is the typical action taken by the database management system (DBMS)?
  1. Aवह क्रिया वापस लौटा दी जाती है और त्रुटि संदेश दिया जाता है।The operation is rolled back, and an error message is generated.
  2. Bलेन-देन पूरा होने तक प्रतिबंध कुछ समय के लिए बंद कर दिया जाता है।The constraint is temporarily disabled until the transaction completes.
  3. Cप्रभावित डेटा अपने आप ठीक कर दिया जाता है ताकि प्रतिबंध पूरा हो।The affected data is automatically corrected to comply with the constraint.
  4. Dक्रिया चलती रहती है और उल्लंघन बाद में देखने के लिए दर्ज कर लिया जाता है।The operation proceeds, and the constraint violation is logged for later review.
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 28उत्तर app में
कई अखंडता प्रतिबंध होने से डेटाबेस के प्रदर्शन पर क्या असर पड़ता है?
How does the presence of multiple integrity constraints affect database performance?
  1. Aइससे डेटा की गड़बड़ियाँ कम होती हैं पर क्वेरी का निष्पादन समय बढ़ जाता है।It reduces the likelihood of data anomalies but increases query execution time.
  2. Bइससे क्वेरी का प्रदर्शन सुधरता है पर भंडारण की ज़रूरत बढ़ जाती है।It improves query performance but leads to higher storage requirements.
  3. Cइससे डेटा का दोहराव घटता है पर डेटा के रखरखाव में अतिरिक्त भार आता है।It minimizes data redundancy but introduces additional overhead in data maintenance.
  4. Dइससे डेटा सुरक्षा बढ़ती है पर बैकअप ज़्यादा बार लेना पड़ता है।It enhances data security but requires more frequent database backups.
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 29उत्तर app में
स्थगित प्रतिबंध जाँच का मुख्य लाभ क्या है?
What is the primary advantage of using deferred constraint checking?
  1. Aइससे प्रतिबंधों की जाँच लेन-देन के कमिट होने से ठीक पहले होती है।It allows constraints to be evaluated before transaction commit.
  2. Bजाँच टालकर यह डेटाबेस क्वेरियों का निष्पादन तेज़ कर देता है।It speeds up the execution of database queries by postponing constraint checking.
  3. Cइससे डेटा डालते ही प्रतिबंध का उल्लंघन पकड़ा जा सकता है।It enables the detection of constraint violations at the time of data insertion.
  4. Dइससे समवर्ती लेन-देन के दौरान डेडलॉक होने से बचाव होता है।It prevents the occurrence of deadlocks during concurrent database transactions.
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 30उत्तर app में
टेम्पोरल अखंडता प्रतिबंध मुख्य रूप से किस बात को सुनिश्चित करने पर ध्यान देते हैं?
What do temporal integrity constraints primarily focus on ensuring?
  1. Aसमय से जुड़ी प्रविष्टियों की शुद्धता और संगतिThe accuracy and consistency of time-related data entries
  2. Bडेटाबेस लेन-देन में क्रियाओं का क्रमThe sequence of operations in database transactions
  3. Cवितरित डेटाबेसों के बीच डेटा का समन्वयThe synchronization of data across distributed databases
  4. Dपुराने अभिलेखों की सुरक्षा और पहुँच नियंत्रणThe security and access control of historical records
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
Integrity Constraints and Codd's Rule के सभी 54 प्रश्न — उत्तर, हल और अभ्यास

FliQi Question Bank app में topic-वार अभ्यास, कठिनाई-स्तर और आपकी प्रगति।

  • पहला test मुफ़्त
  • हिंदी + English
  • जाँचे हुए उत्तर और हल

यह topic किन परीक्षाओं में आता है

Programmer DBMS के दूसरे topics

सभी topics