Computer AwarenessHardIBPS SO IT · IBPS PO Mains

A bank allows joint accounts: one customer may hold several accounts, and one account may belong to several customers. What is the cardinality of the CUSTOMER–ACCOUNT relationship?

  1. A. One-to-one
  2. B. One-to-many
  3. C. Many-to-one
  4. D. Many-to-many

Correct answer: D. Many-to-many

Both sides can have more than one partner, so it is many-to-many; in a relational design it needs a separate linking table such as DEPOSITOR(CustomerID, AccountNo).

हिंदी में

एक बैंक संयुक्त खातों की अनुमति देता है: एक ग्राहक के कई खाते हो सकते हैं, और एक खाता कई ग्राहकों का हो सकता है। CUSTOMER–ACCOUNT संबंध की कार्डिनैलिटी क्या है?

  1. A. एक-से-एक
  2. B. एक-से-अनेक
  3. C. अनेक-से-एक
  4. D. अनेक-से-अनेक

उत्तर: D. दोनों ओर एक से अधिक साझेदार हो सकते हैं, इसलिए यह अनेक-से-अनेक है; रिलेशनल डिज़ाइन में इसके लिए DEPOSITOR(CustomerID, AccountNo) जैसी अलग लिंकिंग तालिका चाहिए।

More Computer Awareness questions

Exams that ask this topic