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?
- A. One-to-one
- B. One-to-many
- C. Many-to-one
- 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 संबंध की कार्डिनैलिटी क्या है?
- A. एक-से-एक
- B. एक-से-अनेक
- C. अनेक-से-एक
- D. अनेक-से-अनेक
उत्तर: D. दोनों ओर एक से अधिक साझेदार हो सकते हैं, इसलिए यह अनेक-से-अनेक है; रिलेशनल डिज़ाइन में इसके लिए DEPOSITOR(CustomerID, AccountNo) जैसी अलग लिंकिंग तालिका चाहिए।
More Computer Awareness questions
- In an ER model, the entity DEPENDENT (an employee's family member) cannot be uniquely identified without the EMPLOYEE it belongs to. What…
- A database administrator moves a table to a faster disk and adds a new index. Neither the logical schema nor any application program has…
- Assertion (A): Creating an index on a column makes searches on that column faster. Reason (R): Every INSERT or UPDATE on the table must…
- How many of these statements are correct? I. A table can have only one primary key. II. A primary key column can never hold NULL. III. A…
- Two ATMs read a joint account's balance of ₹10,000 at the same moment. Each pays out ₹3,000 and writes back its own result. With no…
- A pen drive shows 20 GB free, yet copying a single 6 GB video file to it fails. Which is the most likely reason?