डाटाबेस र DBMS – Database & DBMS MCQ
डाटाबेस र DBMS – कम्प्युटर र IT
Database & DBMS · Computer & IT (Technical) · ५६३ प्रश्न
५६३ प्रश्न उपलब्ध। मोड छान्नुहोस्:
डाटाबेस र DBMS: प्रश्न र उत्तर
सही लागेको विकल्पमा थिच्नुहोस्। सही भए हरियो, गलत भए रातो देखिन्छ; ३ सेकेन्डपछि सही उत्तर र व्याख्या देखिन्छ।
सही: ० / ०
-
R(A, B, C) मा FD B -> C, C -> A छ। यसको लागि निम्न कुरालाई के भइदिन्छ? (Multiple choice question - Moderate)
सही उत्तर: ग) C को Key
B -> C र C -> A हुनाले B ले B को Key जस्तो लाग्छ। FD मा आधारित Key को पहिचान गरिन्छ। अन्य विकल्पहरूले FD को सम्बन्धलाई सही ढंगले बुझ्न सकेका छैनन्।
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
निम्नलिखितमा से कस्ताकुलाई डाटाबेसमा रेकर्ड डुप्लिकेट (duplicate) गर्ने तरिका भनिन्छ? (Multiple choice question - Basic)
सही उत्तर: ग) डेटा नर्माइजेसन (Data Normalization)
डाटा नर्माइजेसन (Data Normalization) ले डाटाबेसमा रेकर्ड डुप्लिकेट गर्ने तरिका हो। यसले डेटाको अनावश्यक पुनरावृत्ति हटाउँछ र सम्बन्धित डेटालाई एकै ठाउँमा राख्छ। अन्य विकल्पहरू डाटा इन्सर्ट, रिपिट वा ट्रान्सफरका सामान्य प्रक्रिया हुन्।
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
A table ‘Orders’ has columns like OrderID, CustomerID, OrderDate, and TotalAmount. Which SQL statement would efficiently retrieve all orders placed by a specific customer (e.g., CustomerID = 123)?
सही उत्तर: ख) SELECT * FROM Orders WHERE CustomerID = 123;
The correct answer is SELECT * FROM Orders WHERE CustomerID = 123;. This statement uses the WHERE clause with a condition that filters rows based on the ‘CustomerID’ column. It's an efficient way to retrieve orders specifically belonging to a given customer. The other options use different criteria (TotalAmount, OrderDate, or sorting) which would not isolate orders for a single customer.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In a database system, what does the term 'transaction' refer to?
सही उत्तर: ख) A sequence of operations that are treated as a single logical unit of work.
The correct answer is A sequence of operations that are treated as a single logical unit of work. A transaction represents an atomic operation – either all changes within the transaction are committed to the database, or none of them are. This ensures data consistency and integrity. The other options describe different aspects of database management.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Consider an ER diagram representing a library database with entities like ‘Books’ and ‘Authors’. The relationship between these entities is one-to-many (one author can write multiple books). Which SQL join type would be most appropriate to retrieve all information about each book and its corresponding author?
सही उत्तर: ख) LEFT OUTER JOIN
The correct answer is LEFT OUTER JOIN. A LEFT JOIN (or LEFT OUTER JOIN) returns all rows from the left table ('Books' in this case) and the matching rows from the right table ('Authors'). If there’s no match in the right table, it fills in NULL values for the columns from the ‘Authors’ table. This is ideal to retrieve information about each book, even if there isn’t a corresponding author recorded.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
A database system uses normalization to reduce data redundancy. Which of the following statements best describes the primary benefit of 3rd Normal Form (3NF)?
सही उत्तर: ख) It reduces data redundancy by ensuring that no non-key attributes depend on other non-key attributes.
The correct answer is It reduces data redundancy by ensuring that no non-key attributes depend on other non-key attributes. 3NF specifically addresses data redundancy by enforcing this rule – any attribute dependent on a non-key attribute must itself be a key attribute. The other options describe broader normalization goals (eliminating redundancy in general) or related concepts like relational databases without focusing on the core principle of 3NF.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Suppose a database table ‘Customers’ has columns like CustomerID, Name, Address, and City. The ‘City’ column contains values such as 'Kathmandu', 'Pokhara', 'Biratnagar', and NULL. A SQL query is executed to find the number of distinct cities in this table. Which SQL statement would achieve this?
सही उत्तर: क) SELECT COUNT(DISTINCT City) FROM Customers;
The correct answer is SELECT COUNT(DISTINCT City) FROM Customers;. This statement specifically utilizes the DISTINCT keyword to return only unique city values and then uses COUNT() to determine the number of those distinct values. The other options attempt to perform mathematical operations on the ‘City’ column (SUM, AVG, MAX), which is not relevant to the problem's goal of counting unique cities.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
निम्नलिखितमा से कति अवस्थाहरू First Normal Form (1NF) को परिभाषासँग मिल्दला? (a) यदि एउटा तालिकामा केवल एक प्रकारको डेटा हुन्छ। (b) यदि प्रत्येक एन्टिटीमा केवल एक मान हुन्छ। (c) यदि रालेसनमा एउटै एन्टिटीलाई धेरै पटक उल्लेख गरिएको नहुँदा र एउटै रालेसनमा एउटै एन्टिटीलाई एक पटक मात्र उल्लेख गरिएको छ। (d) यदि सबै एट्रिब्यूटहरू परमाणु (atomic) हुन्छन्।
सही उत्तर: घ) (d) यदि सबै एट्रिब्यूटहरू परमाणु (atomic) हुन्छन्.
First Normal Form (1NF) को मुख्य परिभाषा एउटै एन्टिटीको डेटा एउटा मात्र column मा संग्रहित हुनु हो। विकल्प (a) गलत हो किनकि एउटा तालिकामा धेरै प्रकारको डेटा हुन सक्छ। विकल्प (b) पनि गलत छ, प्रत्येक एन्टिटीमा एक भन्दा बढी मान हुन सक्छ। विकल्प (d) सही छ, तर यसले 1NF को मुख्य आवश्यकतालाई पूर्ण रूपमा बुझ्न सकेन।
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
ERP प्रणालीमा ‘master data’ को अवधारणाको मुख्य उद्देश्य के हो? (A) डेटाबेसको आकारलाई ठूलो बनाउने। (B) विभिन्न विभागहरूबीचको डेटाको सुसंगतता (consistency) राख्ने। (C) डेटाबेसको सुरक्षालाई क शूट गर्ने। (D) डेटाबेसमा नयाँ rows थप्ने
सही उत्तर: ख) विभिन्न विभागहरूबीचको डेटाको सुसंगतता (consistency) राख्ने।
सही उत्तर (B) हो। मास्टर डेटा विभिन्न विभागहरूको बीचमा डेटाको सुसंगतता राख्न मद्दत गर्दछ, यसले सुनिश्चित गर्दछ कि सबै विभागहरूले एउटै जानकारी प्रयोग गरिरहेका छन्। विकल्प (A), (C) र (D) गलत हुन् किनकि मास्टर डेटा डेटाबेसको आकार कम गर्छ, सुरक्षा सुधार नगरी थप rows लाई अनुमति दिदैन।
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
DBMS मा ACID विशेषताहरूले के सुनिश्चित गर्छन्? (A) डेटाबेसको गति बढोत्तरी। (B) लेनदेनको विश्वसनीयता र स्थिरता। (C) डेटाबेसको आकार कमी। (D) प्रयोगकर्ताहरूको संख्या वृद्धि।
सही उत्तर: ख) लेनदेनको विश्वसनीयता र स्थिरता।
सही उत्तर (B) हो। ACID (Atomicity, Consistency, Isolation, Durability) विशेषताहरूले लेनदेनको विश्वसनीयता र डेटाबेसको स्थिरता सुनिश्चित गर्छन्। विकल्प (A), (C) र (D) गलत हुन् किनकि ACID विशेषताहरू डेटाबेसको गति, आकार वा प्रयोगकर्ताहरूको संख्यासँग सम्बन्धित छैनन्।
💬 टिप्पणी / गल्ती रिपोर्ट (०)
यी अभ्यास प्रश्न हुन्, आधिकारिक प्रश्न होइनन्। पाठ्यक्रम, विज्ञापन र नतिजाका लागि सम्बन्धित निकायको आधिकारिक वेबसाइट हेर्नुहोस्। उत्तरमा गल्ती भेटे प्रश्नमुनिको "टिप्पणी / गल्ती रिपोर्ट" मा लेख्नुहोस्।
नमस्ते! पाठ्यक्रम, सामान्य ज्ञान, भाषा परीक्षा वा कुनै प्रश्नको उत्तर बुझ्न सोध्नुहोस्।
AI ले गल्ती गर्न सक्छ। महत्वपूर्ण कुरा आधिकारिक स्रोतमा जाँच्नुहोस्।