DreamBuild Scholarship
Rajasthan Computer Teacher Preparation Day 1: DBMS + ER Model + 20 MCQs | Blog

Rajasthan Computer Teacher Preparation Day 1: DBMS + ER Model + 20 MCQs

Admin
Content Writer & Editor
ER Model – English & Hindi

What Is an ER Model? / ER मॉडल क्या है?

EN: An Entity–Relationship (ER) Model is a conceptual blueprint that shows how data is structured, stored, and connected in a database.
HI: एंटिटी–रिलेशनशिप (ER) मॉडल एक कॉन्सेप्चुअल ब्लूप्रिंट है जो बताता है कि डेटाबेस में डेटा कैसे स्टोर, स्ट्रक्चर और कनेक्ट होता है।

Why ER Modeling Matters / ER मॉडलिंग क्यों ज़रूरी है?

  • EN: Makes database design accurate and predictable.
  • HI: डेटाबेस डिज़ाइन को सटीक और प्रेडिक्टेबल बनाता है।
  • EN: Shows how data flows between entities.
  • HI: एंटिटीज़ के बीच डेटा का फ्लो दिखाता है।
  • EN: Prevents duplicate and inconsistent data.
  • HI: डुप्लिकेट और असंगत डेटा को रोकता है।
  • EN: Helps convert diagrams into relational tables.
  • HI: ER डायग्राम को रिलेशनल टेबल में बदलने में मदद करता है।

ER Model Components / ER मॉडल के मुख्य घटक

1. Entity / एंटिटी

EN: A real-world object you want to store data about.
HI: वास्तविक दुनिया की कोई वस्तु जिसके बारे में डेटा स्टोर करना हो।

Examples: Student, Teacher, Product, Order

2. Attributes / एट्रिब्यूट्स

EN: Properties or characteristics of an entity.
HI: किसी एंटिटी की विशेषताएँ।

  • Simple (सिंपल): Age, Salary
  • Composite (कंपोजिट): Address (Street, City, PIN)
  • Derived (डिराइव्ड): Age (from DOB)
  • Multivalued (मल्टीवैल्यूड): PhoneNumbers

3. Relationships / रिलेशनशिप्स

EN: Shows how two entities are connected.
HI: दो एंटिटीज़ के बीच संबंध बताता है।

4. Cardinality / कार्डिनैलिटी

  • 1:1 – Employee ↔ Locker
  • 1:N – Customer → Orders
  • M:N – Students ↔ Courses

5. Participation / पार्टिसिपेशन

  • Total (टोटल): Must participate
  • Partial (पार्शियल): Optional

6. Weak Entity / कमजोर एंटिटी

Example: OrderItem depends on Order.

Types of Keys in DBMS / DBMS में कीज़ के प्रकार

  • Primary Key: Unique + Not Null
  • Candidate Key: All possible unique keys
  • Composite Key: Multiple attributes
  • Surrogate Key: Auto-generated keys

ER Model Examples / ER मॉडल उदाहरण

1. Student–Course (M:N)

2. Order–Products (via OrderItem)

3. Employee manages Employee (Recursive 1:N)


Bilingual MCQs (EN + HI)

1. In an ER diagram, what does a double-lined rectangle represent?
ER डायग्राम में डबल लाइन वाला रेक्टेंगल क्या दर्शाता है?

A) Strong Entity
B) Weak Entity
C) Relationship
D) Attribute

Answer: B

2. Property of a primary key?
प्राइमरी की का गुण?

A) NULL allowed
B) Duplicate allowed
C) Must be single attribute
D) Unique + Not Null

Answer: D

3. Logical design of DB best represented by?
डेटाबेस का लॉजिकल डिज़ाइन किससे दर्शाया जाता है?

A) Relational Model
B) ER Model
C) Physical Schema
D) Network Model

Answer: B

4. Diamond shape represents?
डायमंड शेप क्या दर्शाता है?

A) Entity
B) Attribute
C) Relationship
D) Key

Answer: C

5. Candidate key not chosen as primary key is?
जो कैंडिडेट की प्राइमरी की नहीं बनती उसे क्या कहते हैं?

A) Foreign Key
B) Alternate Key
C) Secondary Key
D) Composite Key

Answer: B

20. Rule that FK must match PK or be NULL?
वह नियम जिसमें FK या तो NULL हो या PK से मैच करे?

A) Entity Integrity
B) Domain Integrity
C) Referential Integrity
D) Key Integrity

Answer: C

Tags:
Education Tutorial Education Learning
Comments Coming Soon

We're working on bringing you a seamless commenting experience.