RBSE Solutions Class 11 Computer Science Chapter 6 डेटाबेस मैनेजमेन्ट सिस्टम

Get the most accurate RBSE Solutions for Class 11 Computer Science Chapter 6 डेटाबेस मैनेजमेन्ट सिस्टम here. Updated for the 2026-27 academic session, these solutions are based on the latest RBSE textbooks for Class 11 Computer Science. Our expert-created answers for Class 11 Computer Science are available for free download in PDF format.

Detailed Chapter 6 डेटाबेस मैनेजमेन्ट सिस्टम RBSE Solutions for Class 11 Computer Science

For Class 11 students, solving RBSE textbook questions is the most effective way to build a strong conceptual foundation. Our Class 11 Computer Science solutions follow a detailed, step-by-step approach to ensure you understand the logic behind every answer. Practicing these Chapter 6 डेटाबेस मैनेजमेन्ट सिस्टम solutions will improve your exam performance.

Class 11 Computer Science Chapter 6 डेटाबेस मैनेजमेन्ट सिस्टम RBSE Solutions PDF

RBSE Class 11 Computer Science Chapter 6 पाठ्यपुस्तक के प्रश्न

RBSE Class 11 Computer Science Chapter 6 बहचयनात्मक

 

Question 1. कच्चे तथ्य और आंकड़े हैं
(अ) डेटा
(ब) जानकारी
(स) स्नैपशॉट
(द) रिपोर्ट
Answer: (अ) डेटा
In simple words: कच्चे तथ्य और आंकड़े वे मूल इनपुट होते हैं जिनसे जानकारी बनती है। यह बिना किसी विशेष व्यवस्था के होते हैं।

🎯 Exam Tip: डेटा और जानकारी के बीच का अंतर समझना महत्वपूर्ण है। डेटा कच्चे इनपुट होते हैं, जबकि जानकारी संसाधित (processed) डेटा होती है।

 

Question 3. संबंधपरक डेटाबेस क्या है?
(अ) एक जगह संबंधपरक जानकारी संग्रहीत करने के लिए
(ब) एक डेटाबेस का अन्य डेटाबेसेस सम्बन्ध
(स) मानव संबंधों को संग्रहीत करने के लिए एक डेटाबेस
(द) उपरोक्त में से कोई भी
Answer: (अ) एक जगह संबंधपरक जानकारी संग्रहीत करने के लिए
In simple words: संबंधपरक डेटाबेस एक ऐसी जगह होती है जहाँ हम संबंधित जानकारी को एक साथ रखते हैं। यह जानकारी अक्सर टेबलों में व्यवस्थित होती है।

🎯 Exam Tip: "संबंधपरक" का अर्थ है कि डेटा को टेबल में व्यवस्थित किया जाता है और इन टेबलों के बीच संबंध होते हैं।

 

Question 4. इस कुंजी से प्रत्येक रिकॉर्ड को अद्वितीय रूप से पहचाना जाता है
(अ) प्राथमिक कुंजी
(ब) कुंजी रिकॉर्ड
(स) अद्वितीय कुंजी
(द) फील्ड का नाम
Answer: (अ) प्राथमिक कुंजी
In simple words: एक प्राथमिक कुंजी एक विशेष पहचान चिह्न होती है जो डेटाबेस में हर एक रिकॉर्ड को अलग-अलग पहचानती है।

🎯 Exam Tip: प्राथमिक कुंजी हमेशा अद्वितीय (unique) होनी चाहिए और इसमें कोई खाली मान (null value) नहीं होना चाहिए।

 

Question 5. संपूर्ण डेटाबेस संरचना और स्कीमा की परिभाषा के साथ संबंधित डेटाबेस भाषा है
(अ) DCL
(ब) DML
(स) DDL
(द) उपरोक्त सभी
Answer: (ब) DML
In simple words: DML (Data Manipulation Language) वह भाषा है जिसका उपयोग डेटाबेस में डेटा को बदलने, डालने, हटाने या पढ़ने के लिए किया जाता है।

🎯 Exam Tip: DDL (Data Definition Language) का उपयोग डेटाबेस की संरचना बनाने और बदलने के लिए किया जाता है, जबकि DML का उपयोग डेटा पर काम करने के लिए होता है। दिए गए प्रश्न में उत्तर (ब) DML दिया गया है, हालांकि संरचना और स्कीमा की परिभाषा DDL से संबंधित है। यह समझना महत्वपूर्ण है कि DML डेटा को स्कीमा के भीतर कैसे बदला जाता है, पर DDL स्कीमा को परिभाषित करता है। स्रोत उत्तर का पालन किया जा रहा है।

RBSE Class 11 Computer Science Chapter 6 लघु उत्तरीय प्रश्न

 

Question 1. डेटाबेस से आप क्या समझते हैं?
Answer: डेटाबेस एक ऐसी जगह है जहाँ जानकारी को एक व्यवस्थित तरीके से रखा जाता है। इसमें हम अपनी सुविधा के अनुसार डेटा को आसानी से चुन सकते हैं और उस पर काम कर सकते हैं। यह जानकारी को सहेजने और उसे जल्दी से ढूँढने में मदद करता है।
In simple words: डेटाबेस जानकारी का एक व्यवस्थित संग्रह है जहाँ हम डेटा को तेजी से और आसानी से प्रबंधित कर सकते हैं।

🎯 Exam Tip: डेटाबेस की परिभाषा में 'व्यवस्थित संग्रह' और 'आसान प्रबंधन' जैसे शब्दों का उपयोग करें।

 

Question 2. डेटाबेस आर्किटेक्चर को समझाइये।
Answer: डेटाबेस आर्किटेक्चर बताता है कि डेटाबेस सिस्टम कैसे बना होता है। डेटाबेस मैनेजमेंट सिस्टम (DBMS) में आमतौर पर तीन स्तर होते हैं, जिन्हें त्रि-स्तरीय स्कीमा आर्किटेक्चर कहा जाता है। ये स्तर हमें डेटाबेस को अलग-अलग तरीकों से देखने में मदद करते हैं:

  • Physical Level (Internal Level): यह सबसे निचला स्तर है और यह बताता है कि डेटाबेस में डेटा असल में कैसे स्टोर होता है। इसमें डेटा के भौतिक स्थान और उसके आंतरिक संगठन की जानकारी होती है।
  • Conceptual Level (Logical Level): यह बीच का स्तर है। यह बताता है कि डेटाबेस में कौन-सा डेटा स्टोर किया जाता है और अलग-अलग डेटा के बीच क्या संबंध (relationship) हैं। यह डेटा के एक बड़े हिस्से का एक सामान्य दृष्टिकोण देता है।
  • External Level (View Level): यह सबसे ऊपरी स्तर है। यह अलग-अलग उपयोगकर्ताओं (users) को डेटाबेस के केवल उस हिस्से को दिखाता है जिसकी उन्हें जरूरत होती है। हर उपयोगकर्ता के पास अपना एक अलग "व्यू" होता है।
यह आर्किटेक्चर उपयोगकर्ताओं से डेटा कैसे स्टोर होता है, इसकी जटिलता को छिपाता है और डेटा को समझना आसान बनाता है।

डेटाबेस मैनेजमेंट सिस्टम आर्किटेक्चर का विवरण:

इस आर्किटेक्चर में तीन मुख्य स्तर होते हैं:

1. बाहरी स्तर (External Level): यह उपयोगकर्ताओं के अलग-अलग 'व्यू' दिखाता है। प्रत्येक 'व्यू' उपयोगकर्ता के लिए आवश्यक डेटा का एक विशिष्ट हिस्सा होता है।

2. संकल्पनात्मक स्तर (Conceptual Level): यह पूरे डेटाबेस का एक सामान्य, एकीकृत दृष्टिकोण प्रस्तुत करता है। यह बताता है कि डेटाबेस में कौन सा डेटा मौजूद है और डेटा के विभिन्न हिस्सों के बीच क्या संबंध हैं।

3. आंतरिक स्तर (Internal Level / Physical Level): यह सबसे निचला स्तर है और यह बताता है कि डेटा वास्तव में डिस्क पर कैसे संग्रहीत किया जाता है। इसमें डेटा के भौतिक भंडारण, फ़ाइल संगठन और एक्सेस विधियों का विवरण होता है।

एप्लिकेशन इस संरचना के शीर्ष पर काम करते हैं, और DBMS इन सभी स्तरों को व्यवस्थित करता है ताकि डेटा को कुशलता से प्रबंधित किया जा सके।


In simple words: डेटाबेस आर्किटेक्चर बताता है कि डेटाबेस को कैसे बनाया और व्यवस्थित किया जाता है। इसमें तीन मुख्य स्तर होते हैं: भौतिक (डेटा कैसे स्टोर होता है), वैचारिक (क्या डेटा स्टोर होता है और उनके संबंध), और बाहरी (उपयोगकर्ता क्या देखते हैं)।

🎯 Exam Tip: डेटाबेस आर्किटेक्चर के तीन स्तरों (भौतिक, वैचारिक, बाहरी) को उनके कार्यों के साथ याद रखें और बताएं कि वे कैसे डेटाबेस को अधिक प्रबंधनीय बनाते हैं।

 

Question 3. MySQL के कितने प्रकार के डेटा होते हैं?
Answer: MySQL में कई प्रकार के डेटा होते हैं जिन्हें मुख्य रूप से तीन श्रेणियों में बाँटा जा सकता है: अंकीय डेटा, स्ट्रिंग डेटा और दिनांक व समय डेटा।
अंकीय डेटा (Numeric Data):
MySQL में SQL की तरह ही सभी अंकीय डेटा प्रकार जैसे इंटीजर (integer), फिक्स्ड पॉइंट (fixed point) और फ्लोटिंग पॉइंट (floating point) उपलब्ध हैं। इसके अलावा, MySQL में बिट (BIT) डेटा प्रकार भी होता है जो बिट फील्ड मानों को स्टोर करता है। अंकीय डेटा प्रकार 'signed' (धनात्मक और ऋणात्मक) या 'unsigned' (केवल धनात्मक) हो सकते हैं। अंकीय डेटा प्रकार की सारणी नीचे दी गई है:

Numeric TypesDescription
TINYINTA very small integer
SMALLINTA small integer
MEDIUMINTA medium-sized integer
INTA standard integer
BIGINTA large integer
DECIMALA fixed-point number
FLOATA single-precision floating point number
DOUBLEA double-precision floating point number
BITA bit field

स्ट्रिंग डेटा (String Data):
MySQL में स्ट्रिंग डेटा प्रकार साधारण टेक्स्ट से लेकर बाइनरी डेटा जैसे छवियों (images) और फाइलों तक को स्टोर कर सकता है। स्ट्रिंग डेटा प्रकार तुलना और पैटर्न के आधार पर मिलान करके खोजने का काम कर सकता है। MySQL में स्ट्रिंग डेटा प्रकार नीचे दी गई तालिका में दर्शाए गए हैं:
String Data TypeDescription
BINARYA fixed-length binary string
VARBINARYA variable-length binary string
TINYTEXTA very small non-binary string
TEXTA small non-binary string
MEDIUMTEXTA medium-sized non-binary string
LONGTEXTA large non-binary string
ENUMAn enumeration; each column value may be assigned one enumeration member
SETA set; each column value may be assigned zero or more set members

दिनांक और समय डेटा प्रकार (Date & Time Data Types):
MySQL दिनांक और समय के डेटा प्रकारों के साथ-साथ दिनांक और समय के संयोजन डेटा प्रकार भी प्रदान करता है। MySQL टाइमस्टैम्प डेटा प्रकार किसी टेबल में एक पंक्ति (row) में हुए परिवर्तन को ट्रैक करने की सुविधा भी देता है। यदि आप केवल वर्ष को स्टोर करना चाहते हैं (तारीख और महीने के बिना), तो आप YEAR डेटा प्रकार का उपयोग कर सकते हैं। MySQL में दिनांक और समय डेटा प्रकार नीचे दी गई तालिका में दर्शाए गए हैं:
Date and TimeTypes Description
DATEA date value in; YYYY-MM-DD format
TIMEA time value in; hh:mm:ss format
YEARA year value in YYYY or YY format

In simple words: MySQL में डेटा को स्टोर करने के कई तरीके होते हैं, जैसे नंबर (NUMERIC), टेक्स्ट (STRING), और तारीख व समय (DATE & TIME)। हर प्रकार का डेटा अलग-अलग जरूरतों के लिए बनाया गया है।

🎯 Exam Tip: MySQL में तीन मुख्य डेटा प्रकारों (अंकीय, स्ट्रिंग, दिनांक व समय) और उनके कुछ विशिष्ट उदाहरणों को याद रखना महत्वपूर्ण है।

 

Question 4. MySQL में रिकॉर्ड्स कैसे डाले (insert) जाते हैं? बताइए।
Answer: MySQL में रिकॉर्ड्स को डालने (insert) के लिए `INSERT` कथन का उपयोग किया जाता है। यह कथन किसी टेबल में एक या एक से अधिक पंक्तियों (rows) को जोड़ने के काम आता है।
इन्सर्ट कथन (INSERT Statement):
`INSERT` कथन का सामान्य सिंटैक्स इस प्रकार है:
`INSERT INTO TABLE [COLUMN 1, COLUMN 2,.......] VALUES (VALUE 1, VALUE 2......);`
उदाहरण के लिए, अगर हमें `STUDENT` टेबल में किसी विद्यार्थी का डेटा डालना है, तो हम इस `INSERT` कथन का उपयोग करेंगे:
`INSERT INTO STUDENT (ROLL NO, SNAME, FNAME, CITY) VALUES (12345, 'PRANAV MEHTA', 'PRAVEEN MEHTA', 'JODHPUR');`
एक से ज़्यादा पंक्तियाँ इन्सर्ट करना (INSERT Multiple Rows):
किसी टेबल में एक से ज़्यादा पंक्तियाँ डालने के लिए भी `INSERT` कथन का उपयोग किया जा सकता है। इसका सिंटैक्स निम्न है:
`INSERT INTO Table (column 1, column 2...) VALUES (value 1, value 2,...), (value 1, value 2,...),.....;`
उदाहरण के लिए, अगर हमें `STUDENT` टेबल में एक से ज़्यादा विद्यार्थियों जैसे Pranav, Prachi और Rudra Pratap का डेटा डालना है, तो एक ही `INSERT` कथन का उपयोग करके यह संभव है:
`INSERT INTO STUDENT VALUES (12345, 'PRANAV MEHTA', 'PRAVEEN MEHTA', 'JODHPUR'), (12346, 'PRACHI MEHTA', 'PRAVEEN MEHTA', 'JODHPUR'), (12347, RUDRA PRATAP', 'RAKESH MEHTA', 'JODPHUR');`
In simple words: MySQL में नई जानकारी (रिकॉर्ड) जोड़ने के लिए हम 'INSERT' कमांड का उपयोग करते हैं। यह कमांड हमें टेबल में एक या कई पंक्तियाँ एक साथ जोड़ने में मदद करती है, जिससे डेटाबेस में नया डेटा आ जाता है।

🎯 Exam Tip: `INSERT` कथन के लिए सिंटैक्स और कॉलम के नाम के साथ मानों को सही क्रम में लिखना महत्वपूर्ण है। मल्टीपल रो इन्सर्ट के लिए कोष्ठकों में मानों के सेट को कॉमा से अलग करना याद रखें।

 

Question 5. UPDATE फंक्शन की उपयोगिता बताइये।
Answer: डेटाबेस में काम करते समय डेटा को अपडेट करना (बदलना) एक बहुत ही महत्वपूर्ण काम है। किसी टेबल में पहले से मौजूद डेटा को बदलने के लिए `UPDATE` कथन का उपयोग किया जाता है। हम `UPDATE` कथन का उपयोग एक अकेली पंक्ति (row) के, पंक्तियों के समूह के, या किसी टेबल में सभी पंक्तियों के कॉलम मानों को बदलने के लिए कर सकते हैं।
MySQL में `UPDATE` कथन का सामान्य सिंटैक्स निम्न है:
`UPDATE table_name`
`SET column1 = value1, column2 = value2,...`
`WHERE condition;`

  1. सबसे पहले, `UPDATE` कीवर्ड के बाद उस टेबल का नाम लिखते हैं जिसे हम अपडेट करना चाहते हैं।
  2. दूसरा, `SET` कथन का उपयोग करके उन कॉलमों के नाम और नए मान (value) बताते हैं जिन्हें हम बदलना चाहते हैं। यदि एक से अधिक कॉलम बदलने हैं, तो उन्हें अल्पविराम (comma) से अलग करते हैं।
  3. तीसरा, `WHERE` खंड का उपयोग करके यह बताया जाता है कि कौन-सी पंक्तियाँ अपडेट की जानी हैं। इसमें एक शर्त (Condition) दी जाती है, और केवल वे पंक्तियाँ जो इस शर्त को पूरा करती हैं, अपडेट होती हैं। `WHERE` खंड वैकल्पिक (optional) है; अगर इसे छोड़ दिया जाए, तो टेबल की सभी पंक्तियाँ अपडेट हो जाएँगी।

In simple words: 'UPDATE' फंक्शन का उपयोग डेटाबेस में पहले से मौजूद जानकारी को बदलने के लिए किया जाता है। यह हमें एक या कई रिकॉर्ड्स में किसी कॉलम के मान को बदलने में मदद करता है।

🎯 Exam Tip: `UPDATE` कथन का उपयोग करते समय `WHERE` खंड का उपयोग करना बहुत महत्वपूर्ण है ताकि आप गलती से अनावश्यक डेटा को न बदल दें। `SET` कीवर्ड के बाद कॉलम-मान जोड़े सही ढंग से लिखें।

RBSE Class 11 Computer Science Chapter 6 निबंधात्मक प्रश्न

 

Question 1. डेटाबेस मैनेजमेन्ट को समझाते हुए इसके लाभ बताइये।
Answer:
डेटाबेस प्रबंधन सिस्टम (DBMS):
डेटाबेस प्रबंधन सिस्टम (DBMS) एक सॉफ्टवेयर है जो डेटाबेस को स्टोर करने, एक्सेस करने, सुरक्षित रखने, बैकअप लेने और अन्य कामों को आसानी से प्रबंधित करने में मदद करता है। कुछ आम तौर पर इस्तेमाल किए जाने वाले DBMS के उदाहरण SQL, MySQL, PostgreSQL, SQL सर्वर, Oracle आदि हैं।
DBMS का पूरा नाम डेटाबेस मैनेजमेंट सिस्टम है। DBMS ऐसे प्रोग्रामों का एक संग्रह है जो उपयोगकर्ताओं को डेटाबेस बनाने और बनाए रखने की सुविधा देता है।
डेटाबेस मैनेजमेंट सिस्टम (DBMS) के लाभ:

  1. डेटा दोहराव और असंगति (No Data Redundancy and Inconsistency): जब एक ही डेटा कई जगहों पर डुप्लिकेट होता है, तो उसे डेटा दोहराव (redundancy) कहते हैं। उदाहरण के लिए, यदि किसी विद्यार्थी का नाम, रोल नंबर, पता और पिता का नाम अलग-अलग जगहों पर अलग-अलग हो, तो यह डेटा असंगति (inconsistency) का कारण बनता है। इससे स्टोरेज बढ़ जाती है और डेटा की गुणवत्ता पर असर पड़ता है। DBMS डेटा दोहराव को नियंत्रित करके इसे रोकता है।
  2. अनाधिकृत पहुँच पर प्रतिबंध (Restricting Unauthorized Access): डेटाबेस मैनेजमेंट सिस्टम में डेटाबेस एडमिनिस्ट्रेटर (DBA) सुरक्षा प्रदान करके अनाधिकृत उपयोगकर्ताओं को डेटा तक पहुँचने से रोकता है।
  3. डेटा अखंडता और सुरक्षा (Data Integrity and Security): DBMS डेटा की सुरक्षा और अखंडता (integrity) का पूरा ध्यान रखता है। डेटाबेस में कोई भी नया मान (value) डालने से पहले कुछ शर्तों (constraints) को पूरा करना पड़ता है।

In simple words: डेटाबेस मैनेजमेंट सिस्टम (DBMS) एक सॉफ्टवेयर है जो डेटा को व्यवस्थित, सुरक्षित और आसानी से उपयोग करने में मदद करता है। इसके मुख्य लाभों में डेटा को दोहराने से बचाना, अनाधिकृत पहुँच को रोकना और डेटा की सही जानकारी बनाए रखना शामिल है।

🎯 Exam Tip: DBMS की परिभाषा को स्पष्ट रूप से समझाएं और इसके मुख्य लाभों (डेटा दोहराव से बचाव, सुरक्षा, और अखंडता) को बिंदुओं में लिखें।

 

Question 2. डेटाबेस मैनेजमेन्ट सिस्टम की विशेषतायें बतायें।
Answer: डेटाबेस मैनेजमेंट सिस्टम (DBMS) की मुख्य विशेषताएँ निम्नलिखित हैं:

  • डेटा दोहराव पर नियंत्रण (Redundancy Control): DBMS की सबसे बड़ी विशेषता यह है कि यह डेटा के दोहराव (redundancy) को नियंत्रित करता है। इससे डेटा की एक से ज़्यादा कॉपी बनने से रुकती है।
  • डेटा साझा करना (Data Sharing): डेटाबेस मैनेजमेंट सिस्टम में डेटा को आसानी से साझा किया जा सकता है, जिससे कई उपयोगकर्ता एक साथ इसका उपयोग कर सकते हैं।
  • सुरक्षा (Security): DBMS डेटा की सुरक्षा का पूरा ध्यान रखता है, जिससे केवल अधिकृत उपयोगकर्ता ही डेटा तक पहुँच सकते हैं।
  • उच्च प्रोसेसिंग गति (High Processing Speed): डेटाबेस मैनेजमेंट सिस्टम में डेटा को प्रोसेस करने की गति अच्छी होती है, जिससे काम तेजी से होता है।
  • डेटा स्वतंत्रता (Data Independence): DBMS में डेटा स्वतंत्र होता है, जिसका मतलब है कि डेटाबेस की संरचना में बदलाव करने से एप्लिकेशन पर असर नहीं पड़ता।

In simple words: DBMS डेटा को डुप्लीकेट होने से रोकता है, डेटा को कई लोगों के साथ साझा करने की अनुमति देता है, डेटा को सुरक्षित रखता है, तेजी से काम करता है और डेटा को एप्लिकेशन से अलग रखता है।

🎯 Exam Tip: DBMS की विशेषताओं को स्पष्ट और संक्षिप्त बिंदुओं में लिखें, खासकर डेटा दोहराव नियंत्रण, सुरक्षा, और डेटा स्वतंत्रता पर जोर दें।

 

Question 3. डेटाबेस भाषाएँ कितने प्रकार की होती हैं? विस्तार से बताइए।
Answer: डेटाबेस भाषाओं (Database Languages) का उपयोग किसी सिस्टम डेटाबेस को बनाने (create) और प्रबंधित (maintain) करने के लिए किया जाता है। डेटाबेस में मुख्य रूप से दो तरह की भाषाओं का उपयोग होता है:
1. डेटा डेफिनेशन लैंग्वेज (Data Definition Language - DDL):
DDL का पूरा नाम डेटा डेफिनेशन लैंग्वेज है। इसका उपयोग डेटाबेस के conceptual schema को परिभाषित (define) करने के लिए किया जाता है। यह इस बात की जानकारी भी देता है कि इस schema को भौतिक डिवाइसों (physical devices) में कैसे लागू (implement) किया जाता है। SQL में कुछ महत्वपूर्ण DDL कथन निम्न हैं:

  • `CREATE` – डेटाबेस में ऑब्जेक्ट्स (जैसे टेबल) बनाने के लिए।
  • `ALTER` – डेटाबेस की संरचना (structure) में बदलाव करने के लिए।
  • `DROP` – डेटाबेस में से ऑब्जेक्ट्स को हटाने के लिए।
  • `COMMENT` – डेटा डिक्शनरी में टिप्पणियाँ (comments) जोड़ने के लिए।
  • `RENAME` – किसी ऑब्जेक्ट के नाम को बदलने (rename) के लिए।

2. डेटा मैनिपुलेशन लैंग्वेज (Data Manipulation Language - DML):
DML का उपयोग डेटाबेस में डेटा के साथ काम करने (manipulate) के लिए किया जाता है। यह डेटा को डालने, बदलने, हटाने और खोजने में मदद करता है। SQL में कुछ महत्वपूर्ण DML कथन निम्न हैं:
  • `INSERT` – टेबल में नया डेटा डालने के लिए।
  • `UPDATE` – टेबल में मौजूदा डेटा को अपडेट करने के लिए।
  • `DELETE` – टेबल में से रिकॉर्ड्स को हटाने के लिए।
  • `SELECT` – डेटाबेस से डेटा को प्राप्त करने (retrieve) के लिए।

In simple words: डेटाबेस भाषाएँ दो मुख्य प्रकार की होती हैं: DDL जो डेटाबेस की बनावट (structure) को बनाने और बदलने के लिए है, और DML जो डेटाबेस में मौजूद डेटा को बदलने, डालने, हटाने या देखने के लिए है।

🎯 Exam Tip: DDL और DML के बीच का अंतर स्पष्ट करें और प्रत्येक श्रेणी के तहत कम से कम दो कमांड के उदाहरण दें।

 

Question 4. MySQL में विद्यार्थियों का डेटाबेस कैसे बनायेंगें? विस्तार से बताइए।
Answer: MySQL में विद्यार्थियों का डेटाबेस बनाने के लिए, हमें पहले एक डेटाबेस बनाना होगा और फिर उसमें एक टेबल बनानी होगी जिसमें विद्यार्थियों का डेटा स्टोर किया जाएगा।
1. डेटाबेस बनाना:
डेटाबेस बनाने के लिए `CREATE DATABASE` कथन का उपयोग किया जाता है। डेटाबेस एक कंटेनर की तरह होता है जहाँ हमारी सारी जानकारी रखी जाती है।
सिंटैक्स:
`CREATE DATABASE [IF NOT EXISTS] database_name;`
उदाहरण के लिए, 'STUDENT' नाम का डेटाबेस बनाने के लिए:
`CREATE DATABASE STUDENT;`
2. डेटाबेस का उपयोग करना:
एक बार डेटाबेस बन जाने के बाद, हमें उस डेटाबेस का उपयोग करने के लिए `USE` कथन का उपयोग करना होगा:
`USE STUDENT;`
3. टेबल बनाना:
डेटाबेस बनाने के बाद, हमें उसमें एक टेबल बनानी होगी। `CREATE TABLE` कथन का उपयोग करके हम टेबल बनाते हैं।
सिंटैक्स:
`CREATE TABLE table_name (column1 datatype, column2 datatype,...);`
उदाहरण के लिए, 'STUDENT1' नाम की एक टेबल बनाने के लिए:
`CREATE TABLE STUDENT1 (`
`ROLLNO INT PRIMARY KEY,`
`SNAME VARCHAR(50),`
`FNAME VARCHAR(50),`
`CITY VARCHAR(50)`
`);`
4. डेटा डालना (Records Insert करना):
टेबल बन जाने के बाद, हम उसमें `INSERT INTO` कथन का उपयोग करके विद्यार्थियों का डेटा डाल सकते हैं:
`INSERT INTO STUDENT1 (ROLLNO, SNAME, FNAME, CITY) VALUES (308, 'Priya Arora', 'Deepak Arora', 'Jaipur');`
`INSERT INTO STUDENT1 (ROLLNO, SNAME, FNAME, CITY) VALUES (309, 'Neetu Singh', 'Sagar Singh', 'KOTA');`
`INSERT INTO STUDENT1 (ROLLNO, SNAME, FNAME, CITY) VALUES (310, 'Kamal Garg', 'Vinod Garg', 'Bikaner');`
इस तरह, हम MySQL में विद्यार्थियों का डेटाबेस बना और उसमें जानकारी डाल सकते हैं।
In simple words: MySQL में विद्यार्थियों का डेटाबेस बनाने के लिए, पहले 'CREATE DATABASE' कमांड से डेटाबेस बनाते हैं, फिर 'USE' कमांड से उसे चुनते हैं। इसके बाद 'CREATE TABLE' कमांड से एक टेबल बनाते हैं जिसमें कॉलम होते हैं, और अंत में 'INSERT INTO' कमांड से विद्यार्थियों का डेटा उस टेबल में डालते हैं।

🎯 Exam Tip: डेटाबेस और टेबल बनाने के लिए सही SQL सिंटैक्स का उपयोग करना और `INSERT` कथन के साथ उचित मान डालना याद रखें। `PRIMARY KEY` और `VARCHAR` जैसे डेटाटाइप का भी ध्यान रखें।

 

Question 5. MySQL में स्ट्रिंग फंक्शन को समझाए।
Answer: MySQL में स्ट्रिंग फंक्शन का उपयोग स्ट्रिंग मानों पर काम करने के लिए किया जाता है, जैसे टेक्स्ट को बदलना, उसकी लंबाई मापना या उसे खोजना। यहाँ कुछ महत्वपूर्ण स्ट्रिंग फंक्शन दिए गए हैं:
उदाहरण-
`Select LENGTH ('advent 123!$')`
`returns '11'`

(ii) `BIN (numeric_arg)`:
यह फंक्शन किसी दिए गए अंकीय मान की बाइनरी वैल्यू देता है।
उदाहरण:
`Select BIN ('40')`
`returns '101000'`

(iii) `BIT_LENGTH (String_arg)`:
यह फंक्शन किसी दिए गए स्ट्रिंग आर्गुमेंट की लंबाई (length) को बिट्स में बताता है।
उदाहरण:
`Select BIT_Length ('AA')`
`returns '16'`

(iv) `CHAR (numeric_arg1, numeric_arg2, numeric_arg3,.......)`:
यह फंक्शन दिए गए अंकीय मानों (ASCII values) से स्ट्रिंग बनाता है।
उदाहरण:
`Select CHAR (97, 98)`
`returns 'ab'`

(v) `CHAR_LENGTH (String_arg)`:
यह फंक्शन दिए गए स्ट्रिंग आर्गुमेंट में वर्णों (characters) की संख्या बताता है।
उदाहरण:
`Select CHAR_LENGTH ('aa1')`
`returns '3'`

(vi) `CONCAT (String_arg1, string_arg2, string_arg3, ......)`:
यह फंक्शन दिए गए स्ट्रिंग आर्गुमेंट्स को जोड़कर एक नई स्ट्रिंग (concatenated string) बनाता है।
उदाहरण:
`Select CONCAT ('red', 'rose')`
`returns 'redrose'`

(vii) `INSTR (String_arg, String_arg)`:
यह फंक्शन पहले स्ट्रिंग आर्गुमेंट में दूसरे स्ट्रिंग आर्गुमेंट के पहले वर्ण की स्थिति (position) बताता है।
उदाहरण:
`Select INSTR ('hello world', 'world')`
`returns '7'`

(ix) `LOCATE (String_arg)`:
यह फंक्शन किसी दिए गए दूसरे स्ट्रिंग आर्गुमेंट में, पहले स्ट्रिंग आर्गुमेंट की स्थिति (position) बताता है। यह `INSTR` के समान है।
उदाहरण:
`Select LOCATE ('net', 'adventnet')`
`returns '7'`

(x) `REPLACE (String_arg, string_arg, string_arg)`:
यह फंक्शन पहले स्ट्रिंग आर्गुमेंट में दूसरे स्ट्रिंग आर्गुमेंट की जगह तीसरे स्ट्रिंग आर्गुमेंट को रखता है।
उदाहरण:
`Select REPLACE ('tention', 'ten', 'celebra')`
`returns 'celebration'`

(xi) `REVERSE (String_arg)`:
यह फंक्शन किसी दिए गए स्ट्रिंग आर्गुमेंट के वर्णों के क्रम को उल्टा (reversed) कर देता है।
उदाहरण:
`Select REVERSE ('main')`
`returns 'niam'`

(xii) `UPPER (String_arg)`:
यह फंक्शन किसी दिए गए स्ट्रिंग आर्गुमेंट के सभी वर्णों को अपर केस (Upper case) में बदल देता है।
उदाहरण:
`Select UPPER ('book')`
`returns 'BOOK'`
In simple words: MySQL में स्ट्रिंग फंक्शन टेक्स्ट पर कई तरह के काम करने के लिए होते हैं। जैसे, 'LENGTH' टेक्स्ट की लंबाई बताता है, 'CONCAT' दो टेक्स्ट को जोड़ता है, 'REPLACE' एक टेक्स्ट को दूसरे से बदलता है, और 'UPPER' टेक्स्ट को बड़े अक्षरों में बदलता है।

🎯 Exam Tip: MySQL स्ट्रिंग फंक्शन के नाम, उनके उपयोग और कम से कम एक उदाहरण के साथ उनके आउटपुट को याद रखें। प्रत्येक फ़ंक्शन का सटीक सिंटैक्स महत्वपूर्ण है।

RBSE Class 11 Computer Science Chapter 6 अन्यमहवपणप्रश्न

RBSE Class 11 Computer Science Chapter 6 अतिलघूत्तरात्मक प्रश्न

 

Question 2. DBMS क्या है।
Answer: DBMS (डेटाबेस मैनेजमेंट सिस्टम) एक सॉफ्टवेयर है जो डेटा को स्टोर करने, एक्सेस करने, सुरक्षित रखने और उसका बैकअप लेने जैसे कामों को करता है। यह डेटा को आसानी से प्रबंधित करने में मदद करता है।
In simple words: DBMS एक सॉफ्टवेयर है जो डेटाबेस को बनाने, चलाने और सुरक्षित रखने में मदद करता है।

🎯 Exam Tip: DBMS की परिभाषा में 'सॉफ्टवेयर सिस्टम' और 'डेटा प्रबंधन' जैसे मुख्य शब्दों का उल्लेख करें।

 

Question 3. सामान्य रूप से प्रयुक्त होने वाले DBMS के उदाहरण दीजिए।
Answer: कुछ सामान्य रूप से उपयोग होने वाले DBMS के उदाहरणों में SQL, MySQL, PostgreSQL, SQL सर्वर और Oracle आदि शामिल हैं। ये सभी डेटाबेस को प्रबंधित करने में मदद करते हैं।
In simple words: SQL, MySQL, PostgreSQL, SQL सर्वर और Oracle कुछ आम DBMS हैं।

🎯 Exam Tip: कम से कम तीन लोकप्रिय DBMS के नाम याद रखें।

 

Question 4. डेटाबेस मैनेजमेन्ट सिस्टम में कितने स्तर होते हैं?
Answer: डेटाबेस मैनेजमेंट सिस्टम में तीन स्तर होते हैं। ये स्तर डेटाबेस आर्किटेक्चर को बनाते हैं और डेटा को देखने व स्टोर करने के तरीकों को परिभाषित करते हैं।
In simple words: डेटाबेस मैनेजमेंट सिस्टम में तीन मुख्य स्तर होते हैं।

🎯 Exam Tip: इन तीन स्तरों के नाम (भौतिक, वैचारिक, बाहरी) भी याद रखने का प्रयास करें।

 

Question 5. Physical level या Internal level क्या निरूपित करता है?
Answer: यह स्तर बताता है कि डेटाबेस में डेटा वास्तव में कैसे स्टोर होता है। इसमें डेटा के भौतिक स्थान और उसके आंतरिक संगठन की जानकारी होती है।
In simple words: फिजिकल या इंटरनल लेवल दिखाता है कि डेटाबेस में डेटा असल में कहाँ और कैसे रखा जाता है।

🎯 Exam Tip: फिजिकल लेवल डेटा स्टोरेज के 'कैसे' पहलू पर केंद्रित होता है।

 

Question 6. Conceptual level या Logical level क्या निरूपित करता है?
Answer: यह स्तर बताता है कि डेटाबेस में कौन-सा डेटा स्टोर किया जाता है और अलग-अलग डेटा के बीच क्या संबंध (relationship) हैं। यह डेटा के एक बड़े हिस्से का एक सामान्य दृष्टिकोण देता है।
In simple words: कंसेप्चुअल या लॉजिकल लेवल बताता है कि डेटाबेस में क्या जानकारी है और यह आपस में कैसे जुड़ी हुई है।

🎯 Exam Tip: कंसेप्चुअल लेवल डेटा स्टोरेज के 'क्या' और 'संबंध' पहलुओं पर केंद्रित होता है।

 

Question 7. External level या View level क्या निरूपित करता है?
Answer: यह स्तर किसी खास ग्रुप के उपयोगकर्ता (User) के लिए डेटाबेस के केवल उस हिस्से को दिखाता है जिसकी उन्हें जरूरत होती है। यह उपयोगकर्ताओं के लिए डेटाबेस का एक सरल और कस्टमाइज़्ड व्यू प्रस्तुत करता है।
In simple words: एक्सटर्नल या व्यू लेवल उपयोगकर्ताओं को डेटाबेस का केवल वही हिस्सा दिखाता है जिसकी उन्हें जरूरत है।

🎯 Exam Tip: एक्सटर्नल लेवल उपयोगकर्ताओं के लिए डेटाबेस को सरल बनाने का काम करता है।

 

Question 8. डेटा redundancy किसे कहते हैं?
Answer: जब एक ही तरह का डेटा डेटाबेस में कई जगहों पर दोहराया जाता है (डुप्लिकेट हो जाता है), तो उसे डेटा redundancy कहते हैं। यह डेटाबेस के स्टोरेज को बढ़ाता है और डेटा में असंगति (inconsistency) का कारण बन सकता है।
In simple words: डेटा रिडंडेंसी तब होती है जब डेटाबेस में एक ही जानकारी कई बार मौजूद होती है, जिससे समस्याएँ हो सकती हैं।

🎯 Exam Tip: डेटा रिडंडेंसी से बचने के लिए डेटाबेस डिजाइन में नॉर्मलाइज़ेशन (normalization) का उपयोग किया जाता है।

 

Question 10. DDL का पूरा नाम व कार्य बताइए।
Answer: DDL का पूरा नाम Data Definition Language (डेटा डेफिनेशन लैंग्वेज) है। इसका मुख्य कार्य डेटाबेस के कॉन्सेप्चुअल स्कीमा (conceptual schema) को परिभाषित (define) करना है। यह डेटाबेस की संरचना (structure) को बनाने, बदलने या हटाने के लिए उपयोग होता है।
In simple words: DDL का मतलब 'Data Definition Language' है। यह डेटाबेस की बनावट को बनाने और बदलने का काम करती है।

🎯 Exam Tip: DDL कमांड जैसे `CREATE`, `ALTER`, `DROP` डेटाबेस स्कीमा को परिभाषित करने के लिए उपयोग किए जाते हैं।

 

Question 11. DML का पूरा नाम व कार्य बताइए।
Answer: DML का पूरा नाम Data Manipulation Language (डेटा मैनिपुलेशन लैंग्वेज) है। इस भाषा का मुख्य कार्य डेटाबेस में डेटा को संचालित (manipulate) करना है, जैसे डेटा डालना, अपडेट करना, हटाना और प्राप्त करना।
In simple words: DML का मतलब 'Data Manipulation Language' है। यह डेटाबेस में डेटा को बदलने, डालने, हटाने या देखने का काम करती है।

🎯 Exam Tip: DML कमांड जैसे `SELECT`, `INSERT`, `UPDATE`, `DELETE` डेटाबेस में डेटा के साथ काम करने के लिए उपयोग किए जाते हैं।

 

Question 12. MySQL से आप क्या समझते हैं?
Answer: MySQL एक डेटाबेस प्रबंधन प्रणाली (DBMS) है। यह मुख्य रूप से relational डेटाबेस को प्रबंधित करने के लिए उपयोग किया जाता है और यह एक ओपन सोर्स सॉफ्टवेयर है। इसका मतलब है कि इसे कोई भी मुफ्त में उपयोग और संशोधित कर सकता है।
In simple words: MySQL एक मुफ्त और ओपन सोर्स सॉफ्टवेयर है जो डेटा को टेबल में व्यवस्थित करके स्टोर और प्रबंधित करने में मदद करता है।

🎯 Exam Tip: MySQL की मुख्य विशेषताओं (relational, open-source) पर ध्यान दें।

 

Question 13. रिश्ता (Relation) क्या होता है?
Answer: संबंधपरक डेटाबेस में, 'रिश्ता' (Relation) पंक्तियों और स्तंभों का एक संग्रह होता है, जिसे आमतौर पर एक टेबल कहा जाता है। यह एक सक्रिय इकाई होती है जिस पर हम डेटाबेस में विभिन्न ऑपरेशन कर सकते हैं।
In simple words: डेटाबेस में 'रिश्ता' का मतलब एक टेबल है, जिसमें पंक्तियाँ और कॉलम होते हैं, जहाँ डेटा रखा जाता है।

🎯 Exam Tip: 'रिश्ता' को डेटाबेस में 'टेबल' के पर्याय के रूप में समझें।

 

Question 14. टपल से आप क्या समझते हैं?
Answer: एक रिश्ते (Relation) या टेबल में, एक अकेली पंक्ति (row) को टपल (Tuple) कहा जाता है। टपल उस टेबल में एक विशेष रिकॉर्ड का प्रतिनिधित्व करता है।
In simple words: 'टपल' डेटाबेस टेबल की एक पंक्ति को कहते हैं, जो एक पूरा रिकॉर्ड दिखाता है।

🎯 Exam Tip: 'टपल' और 'पंक्ति' का अर्थ एक ही होता है; यह एक रिकॉर्ड की पूरी जानकारी को दर्शाता है।

 

Question 16. डेटाबेस अब्स्ट्रक्शन की परिभाषा दीजिए।
Answer: डेटाबेस अब्स्ट्रक्शन (Database Abstraction) एक ऐसी प्रक्रिया है जहाँ डेटाबेस सिस्टम उपयोगकर्ताओं को केवल उतनी ही जानकारी उपलब्ध कराता है जिसकी उन्हें आवश्यकता होती है। यह डेटाबेस में डेटा कैसे स्टोर या प्रबंधित होता है, उसकी जटिलता को उपयोगकर्ताओं से छिपाता है।
In simple words: डेटाबेस अब्स्ट्रक्शन का मतलब है कि उपयोगकर्ताओं को डेटाबेस की अंदरूनी जटिलता दिखाए बिना सिर्फ जरूरी जानकारी देना।

🎯 Exam Tip: डेटाबेस अब्स्ट्रक्शन के मुख्य उद्देश्य (जटिलता को छिपाना, उपयोगकर्ता को केवल प्रासंगिक जानकारी दिखाना) को याद रखें।

 

Question 17. DATE फंक्शन का कार्य बताइए।
Answer: `DATE` फंक्शन YYYY-MM-DD प्रारूप में दिनांक को दर्शाता है। `DATE` का मान स्ट्रिंग या नंबर दोनों के रूप में दिया जा सकता है। यह फंक्शन 1000-01-01 से 9999-12-31 के बीच के मानों को स्वीकार करता है। यह तारीखों को एक मानक फॉर्मेट में प्रस्तुत करने में मदद करता है।
In simple words: `DATE` फंक्शन तारीखों को 'YYYY-MM-DD' फॉर्मेट में दिखाता है और उन्हें स्ट्रिंग या नंबर के रूप में ले सकता है।

🎯 Exam Tip: `DATE` फंक्शन का मानक प्रारूप (YYYY-MM-DD) और उसकी मान सीमा को याद रखें।

 

Question 18. MONTH फंक्शन का कार्य बताइए।
Answer: `MONTH` फंक्शन दी गई तारीख से महीने का मान प्रदान करता है। यह मान 1 (जनवरी) से 12 (दिसंबर) के बीच होता है।
उदाहरण:
`SELECT MONTH('2016-02-03')`
`Result: 2`
In simple words: `MONTH` फंक्शन तारीख में से महीने की संख्या निकालता है, जो 1 से 12 तक होती है।

🎯 Exam Tip: `MONTH` फंक्शन का उपयोग करते समय, सुनिश्चित करें कि इनपुट एक वैध तारीख प्रारूप में हो।

 

Question 19. YEAR फंक्शन का कार्य बताइए।
Answer: `YEAR` फंक्शन दी गई तारीख से वर्ष का मान प्रदान करता है।
उदाहरण:
`SELECT YEAR('2016-02-03')`
`Result: 2016`
In simple words: `YEAR` फंक्शन तारीख में से साल की संख्या निकालता है।

🎯 Exam Tip: `YEAR` फंक्शन तारीख के घटक को निकालने के लिए सीधा है; सुनिश्चित करें कि तारीख का प्रारूप सही है।

 

Question 20. Day फंक्शन का कार्य बताइए।
Answer: `DAY` फंक्शन दी गई तारीख से माह के दिन का मान प्रदान करता है। यह मान 1 से 31 के बीच होता है। यह `DAYOFMONTH()` फंक्शन का भी पर्याय है।
उदाहरण:
`SELECT DAY('2016-02-15')`
`Result: 15`
In simple words: `DAY` फंक्शन तारीख में से महीने के किस दिन की संख्या निकालता है, जैसे 1 से 31 तक।

🎯 Exam Tip: `DAY` और `DAYOFMONTH()` दोनों एक ही कार्य करते हैं; किसी एक का उपयोग किया जा सकता है।

 

Question 22. DDL तथा DML के अन्तर्गत आने वाली कमाण्ड का नाम बताइए।
Answer: DDL (Data Definition Language) commands are used to define the database structure. These include Create, Alter, Drop, Rename, and Truncate. DML (Data Manipulation Language) commands are used for managing data within the database. These include Select, Insert, Update, and Delete.
In simple words: DDL commands help build and change the database structure, while DML commands help manage the data inside it.

🎯 Exam Tip: Remember DDL commands are for schema definition, and DML commands are for data manipulation. Keep the examples for each separate.

RBSE Class 11 Computer Science Chapter 6 लघु उत्तरीय प्रश्न

 

Question 1. DBMS हमें क्या-क्या सुविधाएँ उपलब्ध कराता है?
Answer: A DBMS (Database Management System) is a software system that offers various features to users. It helps in defining the types, structures, and rules (constraints) for data stored in the database. It also controls how data is stored on storage devices (constructing). Users can easily retrieve and update data present in the database and generate reports (manipulating).
In simple words: DBMS is a software that helps us set up, organize, and manage data. It lets us add, change, and get information from the database easily.

🎯 Exam Tip: When describing DBMS features, focus on the core functionalities: defining structure, constructing storage, and manipulating data (retrieve, update, report).

 

Question 2. डेटाबेस मैनेजमेन्ट सिस्टम एप्लीकेशन के उपयोग के उदाहरण दें।
Answer: Databases are used in many fields. For example, in the banking sector, all transactions happen through a database. Customers can conduct banking operations from any branch, and services like net banking are possible due to databases. In airline reservation systems, customers can book flights conveniently, and airline staff can get various reports to make quick decisions.
In simple words: Databases help banks manage money and allow online banking. They also help airlines book flights and generate reports.

🎯 Exam Tip: For real-world examples, pick common scenarios like banking or airline reservations where data management is critical and clearly state the benefit of using a database.

 

Question 3. संबंधपरक डेटाबेस प्रबंधन प्रणाली से आप क्या समझते हैं? इसका क्या उपयोग है।
Answer: A Relational Database Management System (RDBMS) is a database system that maintains relationships between different tables. RDBMS is used to store and manage a large amount of information in a physical database. It helps manage data well, especially when there's a lot of it. An RDBMS stores details about indexes, keys, tables, and their relationships with other tables in a relational data model.
In simple words: RDBMS helps organize and store data in tables that are linked together. It makes managing large amounts of data easier and keeps track of how all the information is connected.

🎯 Exam Tip: Emphasize "relationships between tables" and "managing large amounts of data" as key aspects of an RDBMS.

 

Question 4. डेटाबेस बनाने की कमाण्ड उदाहरण सहित बताइए।
Answer: Before doing anything with data, you first need to create a database. A database acts like a container for data. It can store information about students, vendors, employees, customers, or anything you need to track. In MySQL, a database is a collection that includes tables, views, triggers, stored procedures, and more, which are used for storing and manipulating data. To create a database in MySQL, use the following syntax:
CREATE DATABASE [IF NOT EXISTS] database_name;
After the CREATE DATABASE statement, you need to write the name of the database you want to create. The database name should be meaningful and descriptive if possible. The IF NOT EXISTS is an optional clause. Using it prevents an error if a database with the same name already exists on the server. A database server cannot have two databases with the same name.
In simple words: To start working with data, you first create a database using the CREATE DATABASE command. You give it a name, and you can add IF NOT EXISTS to prevent errors if it already exists.

🎯 Exam Tip: Always include the IF NOT EXISTS clause when creating a database to prevent errors and ensure your script is robust.

 

Question 5. आप MySQL में किसी विशिष्ट डेटाबेस का उपयोग किस प्रकार कर सकते हैं?
Answer: To work with a database, you must first tell MySQL which database you want to use. You can select the desired database using the USE statement. For example, to select the STUDENT database, you would use:
USE STUDENT;
After this, actions like creating new tables, querying data, or calling stored procedures will be performed on the currently selected database, which is STUDENT in this case.
In simple words: To work in a specific database, use the USE command followed by its name. This tells MySQL where to apply your commands.

🎯 Exam Tip: Always use the USE database_name; command before performing operations within a specific database to avoid errors and ensure commands are executed on the correct data.

 

Question 6. आप MySQL में किसी डेटाबेस को स्थायी रूप से किस प्रकार हटाएगें?
Answer: Deleting a database (DATABASE DROP) means permanently removing it. All data and related objects within that database are permanently deleted and cannot be recovered. Therefore, this operation should be performed with extreme caution. To delete a database, you use the DROP DATABASE statement as follows:
DROP DATABASE database_name;
In simple words: To permanently delete a database, use DROP DATABASE followed by its name. Be very careful, as deleted data cannot be recovered.

🎯 Exam Tip: The DROP DATABASE command is irreversible. Always back up your data and double-check the database name before executing this command in a real environment.

 

Question. डेटाबेस मैनेजमेंट सिस्टम को हम किन आधार पर वर्गीकृत कर सकते हैं?
Answer: Database management systems can be classified based on various criteria, which are:

  • Based on Data Models:
    1. Traditional models: These include Relational, Network, and Hierarchical models.
    2. Emerging models: These include Object-Oriented and Object-Relational models.
  • Based on Users:
    1. Single user systems
    2. Multiple user systems
  • Based on Architecture:
    1. Centralized systems
    2. Distributed systems
  • Based on Purpose: (e.g., OLTP, OLAP systems)

In simple words: DBMS can be grouped by how they store data (like relational or object-oriented), how many people use them at once, if they are in one place or spread out, and what they are mainly used for.

🎯 Exam Tip: When classifying DBMS, categorize them logically (e.g., by model, users, architecture) and provide a couple of examples for each category to show understanding.

 

Question 9. डेटाबेस सिस्टम संरचना (Database System Structure) को समझाइए।
Answer: The database system structure is divided into various modules, and each module has responsibilities related to system control. The Database System is functionally divided into two main parts:
1. Storage Manager
2. Query Processor

Storage Manager: The Storage Manager is a module that handles interactions between low-level data, application programs, and queries. It is responsible for managing and updating data relations. The Storage Manager includes the following components:

  • Authorization and Integrity Manager: This ensures data integrity (Integrity Constraints) and manages user authority (permissions).

In simple words: A database system is made of two main parts: the Storage Manager, which handles how data is stored and interacts with programs, and the Query Processor, which helps run database commands.

🎯 Exam Tip: Clearly distinguish between the Storage Manager and Query Processor, explaining the primary role and key components of each within the database architecture.

 

Question 10. निम्नलिखित कमाण्डस् को सिन्टैक्स सहित समझाइए।
(i) CREATE TABLE
(ii) DESCRIBE TABLE
(iii) DROP TABLE
(iv) ALTER TABLE
Answer:
(i) CREATE TABLE: To create a new table within a database in MySQL, you use the CREATE TABLE statement. This is one of the more complex statements in MySQL. Its syntax is as follows:
CREATE TABLE [IF NOT EXISTS] table_name (List of Columns);

(ii) DESCRIBE TABLE: The DESCRIBE statement is used to view the attributes and data types of a table. Its syntax is:
DESCRIBE table_name;
For example, to describe the STUDENT table:
DESCRIBE STUDENT;

(iii) DROP TABLE: To delete an existing table, you use the DROP TABLE statement. The syntax for DROP TABLE is:
DROP TABLE table_name;
You can also drop multiple tables with a single DROP TABLE statement by separating each table with a comma.

(iv) ALTER TABLE: The ALTER TABLE statement is used to change the structure of an existing table. It allows you to add a column, remove a column, change a column's data type, add a primary key, rename the table, and perform many other tasks. The ALTER TABLE syntax is:
ALTER TABLE table_name action[, action2,...];
In simple words: CREATE TABLE makes new tables, DESCRIBE TABLE shows table details, DROP TABLE deletes tables, and ALTER TABLE changes table structure.

🎯 Exam Tip: Memorize the basic syntax for each DDL command and understand its primary purpose. Providing a simple example for DESCRIBE helps demonstrate practical use.

 

Question 11. किसी टेबल में आप नया स्तम्भ किस प्रकार जोडेंगे?
Answer: To add a new column to a table, you use the ALTER TABLE statement with the ADD COLUMN clause. For example, to add a new column DOB with a DATE data type to the STUDENT table, the command would be:
ALTER TABLE STUDENT ADD COLUMN DOB DATE;
This DOB column will be added at the end of the existing table columns.
If you want to add a new column after a specific existing column, you need to use the AFTER clause and specify the column name. For instance, to add a PINCODE column with a NUMERIC (6,0) data type after the CITY column in the STUDENT table, the command is:
ALTER TABLE STUDENT ADD COLUMN PINCODE NUMERIC (6,0) AFTER CITY;
In simple words: You add a new column to a table using ALTER TABLE and ADD COLUMN. You can choose where to put it (end or after another column) using the AFTER keyword.

🎯 Exam Tip: Always specify the data type for the new column when using ADD COLUMN. Using AFTER is useful for precise column placement, while omitting it adds the column at the end.

 

Question 12. किसी टेबल से आप स्तम्भ को किस प्रकार हटाएँगे व टेबल का नाम बदलने के लिए किस कथन का प्रयोग करेंगे?
Answer:
Dropping a Column: To remove a column from a table, you use the ALTER TABLE statement with the DROP COLUMN clause. For example, if your STUDENT table has a PINCODE column that you no longer want to store, the command to remove it would be:
ALTER TABLE STUDENT DROP COLUMN PINCODE;

Renaming a Table: To change the name of a table, you can also use the ALTER TABLE statement with the RENAME TO clause. For instance, if you want to rename the STUDENT table to STUINFO, the command is:
ALTER TABLE STUDENT RENAME TO STUINFO;
In simple words: To remove a column, use ALTER TABLE with DROP COLUMN. To change a table's name, use ALTER TABLE with RENAME TO.

🎯 Exam Tip: Remember DROP COLUMN removes data permanently, so be cautious. For renaming tables, ALTER TABLE RENAME TO is the standard and clear command to use.

 

Question. इन्सर्ट कथन को सिन्टैक्स सहित समझाइए।
Answer: The INSERT statement is used to add one or more rows into a table. The basic syntax for the INSERT statement is:
INSERT INTO TABLE [COLUMN1, COLUMN2, ......] VALUES (VALUE1, VALUE2......);
For example, if we need to insert a student's data into a STUDENT table, the INSERT statement would be:
INSERT INTO STUDENT (ROLLNO, SNAME, FNAME, CITY) VALUES (12345, 'PRANAV MEHTA', 'PRAVEEN MEHTA', 'JODHPUR');

Inserting Multiple Rows: To insert multiple rows into a table, you can use the following syntax with the INSERT statement:
INSERT INTO Table (column 1, column 2...) VALUES (value 1, value 2,...), (value 1, value 2,...),.....;
For example, to insert data for multiple students like Pranav, Prachi, and Rudra Pratap into the STUDENT table with just one INSERT statement:
INSERT INTO STUDENT VALUES (12345, 'PRANAV MEHTA', 'PRAVEEN MEHTA', 'JODHPUR'), (12346, 'PRACHI MEHTA', 'PRAVEEN MEHTA', 'JODHPUR'), (12347, 'RUDRA PRATAP', 'RAKESH MEHTA', 'JODHPUR');
In simple words: The INSERT command adds new rows of data to a table. You list the columns and their values. You can add one or many rows at once.

🎯 Exam Tip: When using INSERT, ensure the order of values matches the order of columns you specify. Always enclose string values in single quotes.

 

Question 14. डिलीट कथन को सिन्टैक्स सहित. समझाइये।
Answer: The DELETE statement is used to remove data from one or more database tables. It can remove records from a single table or multiple tables. The syntax for the DELETE statement is:
DELETE FROM table_name [WHERE conditions] [ORDER BY column_name];
The WHERE clause specifies which rows you want to remove. If a record meets the WHERE condition, it is permanently deleted from the table. If the WHERE clause is not used, all records in the table will be deleted.
In simple words: The DELETE command removes rows from a table. You can pick which rows to delete using a WHERE condition, or delete all rows if you don't use WHERE.

🎯 Exam Tip: Always use the WHERE clause with DELETE to avoid accidentally deleting all data. Test your WHERE condition with SELECT first.

 

Question 15. एक से अधिक टेबल से रिकॉर्ड किस प्रकार हटाये जा सकते हैं? उदाहरण सहित बताइए।
Answer:
Deleting Records from Multiple Tables: To delete records from more than one table, you need to use the DELETE statement with the table names and join conditions. The syntax for deleting from multiple tables is:
DELETE table_1, table_2,... FROM table-refs [WHERE conditions];
For example, if you want to delete records from both STUDENT and COURSE tables where the COURSEID matches a specific value (e.g., COURSEID = 1), the DELETE statement would be:
DELETE STUDENT, COURSE FROM STUDENT, COURSE WHERE STUDENT.COURSEID = COURSE.COURSEID AND COURSE.COURSEID=1;
In simple words: You can delete records from several tables at once using DELETE by listing the tables and setting up conditions that link them.

🎯 Exam Tip: When deleting from multiple tables, correctly define the join conditions in the WHERE clause to ensure data integrity and prevent unintended deletions across linked tables.

 

Question 16. सलेक्ट कथन को सिन्टैक्स सहित समझाइए।
Answer: The SELECT statement is used to retrieve data from a table. It combines rows and columns, similar to a spreadsheet. Most often, we want to view a group of rows, a group of columns, or a combination of both. The result of a SELECT statement is called a Result Set. A Result Set is a list of rows, with each row having the same number of columns.
The syntax for the SELECT statement is:
SELECT column_1, column_2, column_3... FROM table_1 [INNER |LEFT/RIGHT] JOIN table_2 ON conditions WHERE Conditions GROUP BY column_1 HAVING group_conditions ORDER BY column_1;
In simple words: The SELECT command is used to fetch specific data from one or more tables. You choose which columns you want and can filter, group, and order the results.

🎯 Exam Tip: Master the SELECT statement, as it's fundamental to data retrieval. Pay close attention to FROM, WHERE, GROUP BY, HAVING, and ORDER BY clauses, and their execution order.

RBSE Class 11 Computer Science Chapter 6 निबंधात्मक प्रश्न

 

Question 1. एंटिटी रिलेशनशिप मॉडल को चित्र सहित समझाइए।
Answer: The Entity-Relationship (ER) model is a high-level conceptual data model that represents real-world objects as entities and the associations among them as relationships. It helps design the database structure. The key concepts are:
1. Entities and Attributes: An entity represents a real-world object (e.g., a student, a course). Each entity has attributes, which are properties describing the entity (e.g., a student entity might have attributes like STUDENTID, STUDENTNAME, CITY). Each attribute's value set is defined by its domain.
2. Relationships: A relationship is an association between two or more entities (e.g., a student "enrolls in" a course). Relationships are mapped in various ways, known as mapping cardinalities.

Example of an Entity (Student) and its Attributes:

STUDENTIDSTUDENTNAMESDOBADDCITYCOURSEID
1001PRACHI21-5-92JODHPUR1
1002PRANAV11-4-93JODHPUR10
1003RIYA13-2-94PALI5
1004RIYANSH10-3-98PALI8

In simple words: The ER model helps design databases by showing real-world things (entities), their features (attributes), and how they are connected (relationships). It uses diagrams to make this clear.

🎯 Exam Tip: To explain the ER model effectively, define entities, attributes, and relationships. Use a simple, relevant example like "Student" and "Course" to illustrate these concepts.

 

Question 2. रिलेशनशिप से आप क्या समझते हैं? मैपिंग कार्डीनलिटीज कितने प्रकार की होती है?
Answer: A relationship is a logical connection between one or more entities. Entities are mapped in different ways. Mapping cardinalities define the number of relationship instances in which an entity can participate. The main types of mapping cardinalities are:

  • One-to-One: An entity from Set A can be associated with at most one entity from Set B, and an entity from Set B can be associated with at most one entity from Set A.
a1 a2 a3 b1 b2 b3
  • One-to-Many: An entity in Set A can be related to many entities in Set B, but an entity in Set B can be related to only one entity in Set A.
a1 a2 a3 b1 b2 b3 b4 b5
  • Many-to-One: Multiple entities from Set A can be related to a single entity in Set B, but an entity from Set B can only be related to at most one entity in Set A.
a4 a5 b4
  • Many-to-Many: An entity in Set A can be related to many entities in Set B, and an entity in Set B can also be related to many entities in Set A.
a1 a2 a3 a4 b1 b2 b3 b4
In simple words: Relationships show how entities connect. Cardinalities tell us how many instances of one entity can link to instances of another. Types include one-to-one, one-to-many, many-to-one, and many-to-many.

🎯 Exam Tip: When defining cardinalities, use clear examples or simple diagrams to illustrate how entities can be linked (e.g., one student to one locker, one teacher to many students).

 

Question 3. रिलेशनल डेटाबेस में प्रयुक्त होने वाली कुंजियों के विषय में विस्तारपूर्वक बताइए।
Answer: Keys are crucial in relational databases for uniquely identifying records and establishing relationships. Here are the main types of keys:
1. Primary Key: A primary key uniquely identifies each record in a relational table. It consists of one or more columns whose values must be unique for each row and cannot be null. A simple primary key is made up of only one field.

  • A primary key must be unique.

2. Foreign Key: A foreign key is a column or a set of columns in one table that refers to the primary key in another table. It establishes a link between two tables, ensuring referential integrity. When a primary key from one table is used as a foreign key in another, it helps maintain data consistency.

3. Composite Primary Key: When a primary key is formed by combining two or more attributes, it is called a composite primary key. In relational database tables, a composite primary key is a group of two or more columns that together uniquely identify each row.

4. Super Key: A super key in an RDBMS is any combination of one or more columns that can uniquely identify each record in a table.

5. Candidate Key: A candidate key is a column or a set of columns that can potentially be a primary key. It meets all the requirements of a primary key (unique, non-null) but is not necessarily chosen as the primary key. All candidate keys are super keys.
In simple words: Keys help identify unique records and link tables in a database. Primary keys uniquely name each record. Foreign keys link records between tables. Composite keys use multiple columns for unique identification. Super keys are any columns that can uniquely identify a row. Candidate keys are potential primary keys.

🎯 Exam Tip: Clearly differentiate between primary and foreign keys, as they are fundamental. For other key types, remember their specific characteristics, especially unique identification and null constraints.

 

Question 4. MySQL में समुच्चय पर काम आने वाले फलनों (Functions) का विवरण दीजिए।
Answer: Aggregate functions in MySQL perform a calculation on a set of rows and return a single summary value. Here is a description of common aggregate functions:

1. AVG (Average): This function calculates the average value of a set of values. For example, to find the average marks obtained by students in their first subject:
SELECT AVG(SUB1) FROM STUDENT;
To find the average marks of students in their first subject, grouped by division:
SELECT AVG(SUB1) FROM STUDENT WHERE DIV="1";
We often use the AVG function in combination with the GROUP BY clause to calculate the average value for each group of rows in a table. For example, to find the average marks of students in their first subject, grouped by course:
SELECT AVG(SUB1) FROM STUDENT GROUP BY COURSE;
We can use the HAVING clause to set conditions for average values for groups. For example, to find the average marks of students in their first subject by course, where the average is greater than 59:
SELECT AVG(SUB1) FROM STUDENT GROUP BY COURSE HAVING AVG(SUB1) >59;

2. COUNT: This function returns the number of rows in a table. The COUNT function gives the number of rows in a table that match all or specific conditions. The syntax for the COUNT function is:
COUNT (expression);
The COUNT function returns a BIGINT value and gives a zero value if no matching row is found. The COUNT function works in several ways:

  • COUNT(*): This function returns the number of rows in a result set given by SELECT. It includes rows with non-NULL and NULL values in the count.

Example:
SELECT COUNT(*) FROM STUDENTS;
You can add a WHERE clause to specify a condition for counting:
SELECT COUNT(*) FROM STUDENTS WHERE DIV='FIRST';
To count unique rows in a table, the DISTINCT operator is added to the COUNT function:
COUNT (DISTINCT expression);
Example:
SELECT COUNT(DISTINCT COURSEID) FROM STUDENT;

3. SUM: This function calculates the total sum of a set of values or an expression. The syntax for the SUM function is:
SUM(DISTINCT expression);
If no matching rows are found when using the SUM function in a SELECT statement, it returns a zero value. The DISTINCT operator sums up unique values in a set. The SUM function ignores NULL values in calculations.
For example, to calculate the total fees submitted by students:
SELECT SUM(FEE) AS TOTAL_FEE FROM STUDENT;
To calculate the total fees submitted by students, grouped by COURSEID:
SELECT SUM(FEE) AS TOTAL_FEE FROM STUDENT GROUP BY COURSEID;
The SUM function can be used with the HAVING clause to filter results based on a specific sum condition.

4. MIN: This function finds the minimum value from a set of values. The MIN function gives the lowest value from a set of values. It is very useful in scenarios like finding the lowest marks, the least expensive product, etc. The syntax for the MIN function is:
MIN (expression);
For example, to find the student name and the lowest marks in the first subject:
SELECT SNAME, MIN(SUB1) FROM STUDENT;

5. MAX: This function finds the maximum value from a set of values. The MAX function returns the highest value from a set of values. Similar to MIN, MAX is useful in various scenarios, such as finding the highest marks, the most expensive product, etc.
The syntax for the MAX function is:
MAX (expression);
For example, to find the student name and the highest marks in the first subject:
SELECT SNAME, MAX(SUB1) FROM STUDENT;
In simple words: Aggregate functions summarize data. `AVG` finds the average, `COUNT` tallies rows, `SUM` adds up values, `MIN` finds the smallest, and `MAX` finds the biggest number in a set.

🎯 Exam Tip: Practice using `GROUP BY` with aggregate functions like `AVG` and `COUNT`. Remember `COUNT(*)` includes all rows (even with NULLs), while `COUNT(column_name)` excludes NULLs in that column. `DISTINCT` ensures only unique values are counted. Also, `SUM`, `MIN`, and `MAX` are often used with `GROUP BY` to perform calculations on subsets of data, and they generally ignore `NULL` values.

Free study material for Computer Science

RBSE Solutions Class 11 Computer Science Chapter 6 डेटाबेस मैनेजमेन्ट सिस्टम

Students can now access the RBSE Solutions for Chapter 6 डेटाबेस मैनेजमेन्ट सिस्टम prepared by teachers on our website. These solutions cover all questions in exercise in your Class 11 Computer Science textbook. Each answer is updated based on the current academic session as per the latest RBSE syllabus.

Detailed Explanations for Chapter 6 डेटाबेस मैनेजमेन्ट सिस्टम

Our expert teachers have provided step-by-step explanations for all the difficult questions in the Class 11 Computer Science chapter. Along with the final answers, we have also explained the concept behind it to help you build stronger understanding of each topic. This will be really helpful for Class 11 students who want to understand both theoretical and practical questions. By studying these RBSE Questions and Answers your basic concepts will improve a lot.

Benefits of using Computer Science Class 11 Solved Papers

Using our Computer Science solutions regularly students will be able to improve their logical thinking and problem-solving speed. These Class 11 solutions are a guide for self-study and homework assistance. Along with the chapter-wise solutions, you should also refer to our Revision Notes and Sample Papers for Chapter 6 डेटाबेस मैनेजमेन्ट सिस्टम to get a complete preparation experience.

FAQs

Where can I find the latest RBSE Solutions Class 11 Computer Science Chapter 6 डेटाबेस मैनेजमेन्ट सिस्टम for the 2026-27 session?

The complete and updated RBSE Solutions Class 11 Computer Science Chapter 6 डेटाबेस मैनेजमेन्ट सिस्टम is available for free on StudiesToday.com. These solutions for Class 11 Computer Science are as per latest RBSE curriculum.

Are the Computer Science RBSE solutions for Class 11 updated for the new 50% competency-based exam pattern?

Yes, our experts have revised the RBSE Solutions Class 11 Computer Science Chapter 6 डेटाबेस मैनेजमेन्ट सिस्टम as per 2026 exam pattern. All textbook exercises have been solved and have added explanation about how the Computer Science concepts are applied in case-study and assertion-reasoning questions.

How do these Class 11 RBSE solutions help in scoring 90% plus marks?

Toppers recommend using RBSE language because RBSE marking schemes are strictly based on textbook definitions. Our RBSE Solutions Class 11 Computer Science Chapter 6 डेटाबेस मैनेजमेन्ट सिस्टम will help students to get full marks in the theory paper.

Do you offer RBSE Solutions Class 11 Computer Science Chapter 6 डेटाबेस मैनेजमेन्ट सिस्टम in multiple languages like Hindi and English?

Yes, we provide bilingual support for Class 11 Computer Science. You can access RBSE Solutions Class 11 Computer Science Chapter 6 डेटाबेस मैनेजमेन्ट सिस्टम in both English and Hindi medium.

Is it possible to download the Computer Science RBSE solutions for Class 11 as a PDF?

Yes, you can download the entire RBSE Solutions Class 11 Computer Science Chapter 6 डेटाबेस मैनेजमेन्ट सिस्टम in printable PDF format for offline study on any device.