Key (Primary, Foreign) "A3" 1 / 50 Foreign Key indexing क्यों recommended है? Referential checks fast करने के लिए Storage कम करने के लिए Duplicate रोकने के लिए NULL हटाने के लिए 2 / 50 Primary Key change करने से क्या प्रभावित होता है? Views Trigger Index Foreign Keys 3 / 50 Surrogate key क्यों prefer की जाती है? Human readable Change नहीं होती Meaningful होती है FK नहीं बनती 4 / 50 Which relationship requires Foreign Key? Unary Ternary Binary All 5 / 50 Primary Key को best माना जाता है जब वह: Meaningful हो Short हो Changeable हो Composite हो 6 / 50 Foreign Key update करने पर integrity कब टूटती है? Parent key missing पर Index change पर NULL पर Duplicate पर 7 / 50 Foreign Key constraint child table में कहाँ होती है? Parent PK column Child FK column Both tables Database level 8 / 50 क्या Primary Key update की जा सकती है? हमेशा केवल composite में अगर FK dependent न हो कभी नहीं 9 / 50 Primary Key constraint किस statement से हटाई जाती है? DROP TABLE DELETE ALTER TABLE TRUNCATE 10 / 50 Primary Key और Unique key में मुख्य अंतर क्या है? Speed Index Syntax NULL handling 11 / 50 Composite Primary Key का मुख्य drawback क्या है? Fast होती है Complex joins NULL allow Duplicate allow 12 / 50 Foreign Key के लिए referenced key कैसी होनी चाहिए? NULL Duplicate allowed Indexed नहीं Unique 13 / 50 Self-referencing Foreign Key का real-life example क्या है? Customer–Invoice Employee–Manager Order–Product Student–Course 14 / 50 Foreign Key constraint enable/disable क्यों की जाती है? Speed बढ़ाने के लिए Data load के समय Index बनाने के लिए Trigger के लिए 15 / 50 Primary Key automatically क्या create करती है? Cursor Index View Trigger 16 / 50 Primary Key column में duplicate value डालने पर क्या होगा? Insert हो जाएगा Warning आएगी Entity integrity violation Referential violation 17 / 50 Weak entity की पहचान किससे होती है? Foreign key Alternate key Partial key Primary key 18 / 50 अगर parent table में row delete हो और child में FK हो तो error कब आएगा? RESTRICT / NO ACTION CASCADE SET NULL SET DEFAULT 19 / 50 Self-referencing Foreign Key किसे दर्शाती है? Weak entity Composite key Alternate key Recursive relationship 20 / 50 Foreign Key parent table में किस key को refer कर सकती है? Primary key Unique key Candidate key A और B दोनों 21 / 50 एक table में कितनी Foreign Keys हो सकती हैं? Unlimited 5 2 1 22 / 50 Primary Key हमेशा किस constraint के साथ जुड़ी होती है? UNIQUE + NOT NULL UNIQUE NOT NULL CHECK 23 / 50 Foreign Key किस integrity को enforce करती है? Domain Entity Functional Referential 24 / 50 Primary Key automatically किस integrity को enforce करती है? Entity Transaction Referential Domain 25 / 50 Foreign Key constraint कब fail होती है? NULL value पर Index missing होने पर Non-existing parent value पर Duplicate value पर 26 / 50 Composite key में partial dependency किस NF में हटती है? 1NF 2NF 3NF BCNF 27 / 50 Foreign Key violation कहलाती है: Domain violation Entity violation Referential violation Functional violation 28 / 50 ON DELETE SET NULL क्या करता है? Foreign key value NULL Parent row delete Constraint remove Child row delete 29 / 50 Primary Key violation कहलाती है: Update anomaly Insert anomaly Entity integrity violation Referential violation 30 / 50 ON DELETE CASCADE का मतलब क्या है? NULL set होगा Child rows auto delete होंगी Error आएगा Parent delete नहीं होगा 31 / 50 Foreign Key concept किस model से आया? Network Hierarchical Relational Object 32 / 50 Foreign Key constraint किस level पर apply होती है? Column View Table Database 33 / 50 Primary Key हमेशा किस NF में होती है? 1NF 2NF 3NF BCNF 34 / 50 Foreign Key NULL हो सकती है जब: Mandatory relation Weak entity Optional relation Total participation 35 / 50 Auto-increment key किस type की होती है? Foreign Natural Surrogate Composite 36 / 50 Natural key का नुकसान क्या है? Complex Changeable nature Duplicate NULL 37 / 50 Surrogate key क्या होती है? Natural data Meaningful data Artificial system-generated key Foreign key 38 / 50 अगर Primary Key multi-column है तो उसे क्या कहते हैं? Simple key Alternate key Super key Composite key 39 / 50 Primary Key अपने आप कौन-सी key होती है? Candidate key Composite key Alternate key Foreign key 40 / 50 Foreign Key में duplicate values क्यों allow होती हैं? One-to-Many relationship Normalization Performance Entity integrity 41 / 50 Composite Foreign Key किसे reference करती है? Single PK Composite PK Alternate key Super key 42 / 50 Foreign Key NULL क्यों हो सकती है? Indexing के कारण Optional relationship के कारण Duplicate data के कारण Weak design 43 / 50 Foreign Key parent table में क्या जरूरी है? Trigger Index Primary/Unique key View 44 / 50 Foreign Key का मुख्य उद्देश्य क्या है? Index बनाना NULL values हटाना Referential integrity maintain करना Speed बढ़ाना 45 / 50 Primary Key का logical order क्या है? Nullable → Unique Unique → Not Null Index → Constraint FK → PK 46 / 50 Foreign Key किसे reference करती है? Same table की Primary Key Candidate key Super key Another table की Primary/Unique Key 47 / 50 Composite Primary Key क्या होती है? Foreign key Auto-increment key Multiple columns से बनी key एक column की key 48 / 50 एक table में कितनी Primary Key हो सकती हैं? 2 1 Unlimited 0 49 / 50 Primary Key में NULL value क्यों allow नहीं होती? Entity integrity के कारण Referential integrity के कारण Storage कारण Performance कारण 50 / 50 Primary Key का मुख्य उद्देश्य क्या है? Table join करना Data duplicate करना NULL values allow करना Row को uniquely identify करना Your score isThe average score is 0% 0% Restart quiz