Computer Fundamentals — MCQ Practice

Hindi aur English dono mein practice karo — click karo answer check karne ke liye

📚 2618 Questions 🌐 Hindi + English ✅ Free
भाषा / Language:
2618 questions
1966
EN + हिं Medium
GB Function vs Stored Procedure in SQL?
IN SQL में फ़ंक्शन बनाम संग्रहित प्रक्रिया?
A
Identical समान
B
Functions must return a value and can be used in SELECT; procedures can't be in SELECT फ़ंक्शंस को एक मान लौटाना होगा और SELECT में उपयोग किया जा सकता है; प्रक्रियाएं SELECT में नहीं हो सकतीं
C
Procedures return values प्रक्रियाएं मान लौटाती हैं
D
Functions modify data फ़ंक्शंस डेटा को संशोधित करते हैं
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) SQL functions return values and can be used in SELECT/WHERE; stored procedures cannot be called in SELECT.
व्याख्या (हिन्दी) SQL फ़ंक्शंस मान लौटाते हैं और SELECT/WHERE में उपयोग किए जा सकते हैं; संग्रहित प्रक्रियाओं को SELECT में नहीं बुलाया जा सकता।
1967
EN + हिं Medium
GB Trigger AFTER INSERT fires?
IN आग डालने के बाद ट्रिगर?
A
Before insert डालने से पहले
B
After a row is successfully inserted into the table एक पंक्ति सफलतापूर्वक तालिका में सम्मिलित होने के बाद
C
During insert डालने के दौरान
D
After delete only डिलीट करने के बाद ही
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) AFTER INSERT trigger fires after a new row has been successfully inserted into the table.
व्याख्या (हिन्दी) तालिका में एक नई पंक्ति सफलतापूर्वक सम्मिलित होने के बाद INSERT ट्रिगर सक्रिय हो जाता है।
1968
EN + हिं Medium
GB BEFORE DELETE trigger is used to?
IN DELETE से पहले ट्रिगर का उपयोग किया जाता है?
A
Delete faster तेजी से हटाएं
B
Perform actions before a row is deleted (e.g., archive data) किसी पंक्ति को हटाने से पहले क्रियाएँ करें (उदाहरण के लिए, डेटा संग्रहित करें)
C
Speed up deletion हटाने की गति बढ़ाएँ
D
Prevent all deletes सभी डिलीट रोकें
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) BEFORE DELETE triggers execute before the deletion occurs, useful for archiving or validation.
व्याख्या (हिन्दी) डिलीट होने से पहले ट्रिगर्स निष्पादित होते हैं, जो संग्रह या सत्यापन के लिए उपयोगी होते हैं।
1969
EN + हिं Medium
GB Which SQL view cannot be updated?
IN कौन सा SQL व्यू अपडेट नहीं किया जा सकता?
A
Simple view based on one table एक टेबल पर आधारित सरल दृश्य
B
View with GROUP BY, DISTINCT, aggregates, or multiple tables (in most cases) ग्रुप बाय, डिस्टिंक्ट, समुच्चय या एकाधिक तालिकाओं के साथ देखें (ज्यादातर मामलों में)
C
Any view कोई भी दृश्य
D
Only stored procedure views केवल संग्रहीत प्रक्रिया दृश्य
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Views with GROUP BY, DISTINCT, aggregate functions, or joins to multiple tables are typically not directly updatable.
व्याख्या (हिन्दी) GROUP BY, DISTINCT, समग्र फ़ंक्शंस, या एकाधिक तालिकाओं से जुड़ने वाले दृश्य आमतौर पर सीधे अद्यतन करने योग्य नहीं होते हैं।
1970
EN + हिं Medium
GB Database cursor is used for?
IN डेटाबेस कर्सर का उपयोग किसके लिए किया जाता है?
A
Mouse pointer in DB डीबी में माउस सूचक
B
Row-by-row processing of query results क्वेरी परिणामों का पंक्ति-दर-पंक्ति प्रसंस्करण
C
Database navigation डेटाबेस नेविगेशन
D
Screen cursor स्क्रीन कर्सर
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Cursors allow procedural row-by-row processing of query results within stored procedures.
व्याख्या (हिन्दी) कर्सर संग्रहित प्रक्रियाओं के भीतर क्वेरी परिणामों की प्रक्रियात्मक पंक्ति-दर-पंक्ति प्रसंस्करण की अनुमति देते हैं।
1971
EN + हिं Medium
GB COMMIT in SQL?
IN एसक्यूएल में प्रतिबद्ध?
A
Cancels transaction लेन-देन रद्द करता है
B
Permanently saves all changes made in the current transaction वर्तमान लेनदेन में किए गए सभी परिवर्तनों को स्थायी रूप से सहेजता है
C
Starts transaction लेनदेन प्रारंभ करता है
D
Commits code कोड प्रतिबद्ध करता है
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) COMMIT permanently saves all changes made since the last COMMIT or ROLLBACK in the current transaction.
व्याख्या (हिन्दी) COMMIT वर्तमान लेनदेन में अंतिम COMMIT या रोलबैक के बाद से किए गए सभी परिवर्तनों को स्थायी रूप से सहेजता है।
1972
EN + हिं Medium
GB ROLLBACK in SQL?
IN एसक्यूएल में रोलबैक?
A
Commits changes परिवर्तन करता है
B
Undoes all changes made since the last COMMIT or SAVEPOINT अंतिम COMMIT या SAVEPOINT के बाद से किए गए सभी परिवर्तनों को पूर्ववत करता है
C
Rolls forward आगे की ओर लुढ़कता है
D
Deletes transaction log लेन-देन लॉग हटाता है
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) ROLLBACK reverts all uncommitted changes in the current transaction to the last committed state.
व्याख्या (हिन्दी) रोलबैक वर्तमान लेनदेन में सभी अप्रतिबद्ध परिवर्तनों को अंतिम प्रतिबद्ध स्थिति में वापस कर देता है।
1973
EN + हिं Medium
GB SAVEPOINT in SQL allows?
IN SQL में SAVEPOINT अनुमति देता है?
A
Permanent save स्थायी बचत
B
Partial rollback to a named point within a transaction लेन-देन के भीतर नामित बिंदु पर आंशिक रोलबैक
C
Multiple commits एकाधिक प्रतिबद्धताएँ
D
Transaction naming लेन-देन नामकरण
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) SAVEPOINT marks a point within a transaction to which ROLLBACK can return without rolling back entirely.
व्याख्या (हिन्दी) SAVEPOINT लेन-देन के भीतर एक बिंदु को चिह्नित करता है जिस पर रोलबैक पूरी तरह से वापस आए बिना वापस लौट सकता है।
1974
EN + हिं Medium
GB Which isolation level prevents dirty reads, phantom reads, and non-repeatable reads?
IN कौन सा अलगाव स्तर गंदे पढ़ने, प्रेत पढ़ने और गैर-दोहराने योग्य पढ़ने को रोकता है?
A
Read Uncommitted अनकमिटेड पढ़ें
B
Read Committed प्रतिबद्ध पढ़ें
C
Repeatable Read बार-बार पढ़ने योग्य
D
Serializable serializable
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Serializable is the highest isolation level, preventing dirty reads, non-repeatable reads, and phantom reads.
व्याख्या (हिन्दी) क्रमबद्ध करने योग्य उच्चतम अलगाव स्तर है, जो गंदे पढ़ने, गैर-दोहराने योग्य पढ़ने और प्रेत पढ़ने को रोकता है।
1975
EN + हिं Medium
GB Dirty read in databases occurs when?
IN डेटाबेस में गंदा पढ़ना कब होता है?
A
Data is read twice डेटा दो बार पढ़ा जाता है
B
Transaction reads uncommitted data from another transaction लेन-देन दूसरे लेन-देन से अप्रतिबद्ध डेटा को पढ़ता है
C
Data is corrupted डेटा दूषित है
D
Read from empty table खाली टेबल से पढ़ें
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Dirty read: transaction reads data modified but not yet committed by another transaction — may be rolled back.
व्याख्या (हिन्दी) गंदा पढ़ा: लेनदेन संशोधित डेटा को पढ़ता है लेकिन अभी तक किसी अन्य लेनदेन द्वारा प्रतिबद्ध नहीं है - वापस लाया जा सकता है।
1976
EN + हिं Medium
GB Phantom read occurs when?
IN फैंटम रीड कब होता है?
A
Data disappears डेटा गायब हो जाता है
B
Same query returns different rows in same transaction due to another transaction's INSERT/DELETE किसी अन्य लेन-देन के INSERT/DELETE के कारण एक ही क्वेरी एक ही लेन-देन में अलग-अलग पंक्तियाँ लौटाती है
C
Read returns NULL पढ़ें रिटर्न NULL
D
Data is corrupted डेटा दूषित है
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Phantom reads occur when a transaction re-runs a query and finds new/missing rows due to concurrent inserts/deletes.
व्याख्या (हिन्दी) फैंटम रीड तब ​​होता है जब कोई लेन-देन किसी क्वेरी को दोबारा चलाता है और समवर्ती प्रविष्टियों/हटाए जाने के कारण नई/अनुपलब्ध पंक्तियाँ पाता है।
1977
EN + हिं Medium
GB Database sharding is?
IN डेटाबेस शार्डिंग है?
A
Data encryption डेटा एन्क्रिप्शन
B
Horizontal partitioning of data across multiple database instances एकाधिक डेटाबेस उदाहरणों में डेटा का क्षैतिज विभाजन
C
Backing up data डेटा का बैकअप लेना
D
Table partitioning on one server एक सर्वर पर तालिका विभाजन
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Sharding distributes data across multiple database servers (shards), each holding a subset of the data.
व्याख्या (हिन्दी) शेयरिंग डेटा को कई डेटाबेस सर्वर (शार्क) में वितरित करता है, प्रत्येक में डेटा का एक सबसेट होता है।
1978
EN + हिं Medium
GB Read replica in databases is used for?
IN डेटाबेस में रीड रेप्लिका का उपयोग किसके लिए किया जाता है?
A
Writing only केवल लेखन
B
Scaling read operations — copy of primary database for SELECT queries स्केलिंग रीड ऑपरेशंस - SELECT क्वेरीज़ के लिए प्राथमिक डेटाबेस की प्रतिलिपि
C
Backup only केवल बैकअप
D
Primary failover प्राथमिक विफलता
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Read replicas are synchronized copies of the primary database used to distribute SELECT query load.
व्याख्या (हिन्दी) पढ़ें प्रतिकृतियां प्राथमिक डेटाबेस की सिंक्रनाइज़ प्रतियां हैं जिनका उपयोग SELECT क्वेरी लोड को वितरित करने के लिए किया जाता है।
1979
EN + हिं Medium
GB Connection pooling in applications?
IN अनुप्रयोगों में कनेक्शन पूलिंग?
A
Creates new connection per request प्रति अनुरोध नया कनेक्शन बनाता है
B
Reuses existing database connections from a pool — improves performance पूल से मौजूदा डेटाबेस कनेक्शन का पुन: उपयोग करता है - प्रदर्शन में सुधार करता है
C
Pools network connections पूल नेटवर्क कनेक्शन
D
Shares user sessions उपयोगकर्ता सत्र साझा करता है
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Connection pooling maintains a pool of open database connections, reusing them instead of creating new ones.
व्याख्या (हिन्दी) कनेक्शन पूलिंग खुले डेटाबेस कनेक्शनों का एक पूल बनाए रखता है, नए कनेक्शन बनाने के बजाय उनका पुन: उपयोग करता है।
1980
EN + हिं Medium
GB ORM (Object Relational Mapping) maps?
IN ORM (ऑब्जेक्ट रिलेशनल मैपिंग) मानचित्र?
A
Networks to databases डेटाबेस से नेटवर्क
B
Object-oriented code classes to database tables automatically डेटाबेस तालिकाओं में ऑब्जेक्ट-ओरिएंटेड कोड कक्षाएं स्वचालित रूप से
C
Files to databases डेटाबेस के लिए फ़ाइलें
D
APIs to databases डेटाबेस के लिए एपीआई
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) ORM frameworks (Hibernate, SQLAlchemy, Django ORM) map class attributes to table columns automatically.
व्याख्या (हिन्दी) ORM फ्रेमवर्क (हाइबरनेट, SQLAlchemy, Django ORM) स्वचालित रूप से टेबल कॉलम में क्लास विशेषताओं को मैप करते हैं।
1966–1980 of 2618