[ DOT NET Core MCQS ]

झारखंड में आयोजित होने वाली JPSC, JSSC, JET, झारखंड पुलिस भर्ती परीक्षा आदि के लिए उपयोगी सामान्य अध्ययन।

[ DOT NET Core MCQS ]

Useful GK for JPSC, JSSC, JET, Jharkhand Police and other exams.
91. Join का उपयोग किसलिए किया जाता है?
[A] Multiple Tables Combine करने के लिए
[B] Delete करने के लिए
[C] Backup के लिए
[D] Logging के लिए
91. Why is Join used?
[A] Combine Multiple Tables
[B] Delete Data
[C] Backup
[D] Logging
सही उत्तर: Multiple Tables Combine करने के लिए
व्याख्या: Join दो या अधिक Tables का Data Combine करता है।
Correct Answer: Combine Multiple Tables
Explanation: Join combines data from multiple tables.
92. Inner Join क्या Return करता है?
[A] Matching Records
[B] All Records
[C] Left Records
[D] Right Records
92. What does Inner Join return?
[A] Matching Records
[B] All Records
[C] Left Records
[D] Right Records
सही उत्तर: Matching Records
व्याख्या: Inner Join केवल Match होने वाले Records Return करता है।
Correct Answer: Matching Records
Explanation: Returns only matching records.
93. Left Join क्या Return करता है?
[A] Left Table के सभी Records
[B] Right Table के सभी Records
[C] केवल Matching Records
[D] कोई नहीं
93. What does Left Join return?
[A] All Left Table Records
[B] All Right Table Records
[C] Only Matching Records
[D] None
सही उत्तर: Left Table के सभी Records
व्याख्या: Left Join Left Table के सभी Records Return करता है।
Correct Answer: All Left Table Records
Explanation: Returns all records from left table.
94. FirstOrDefault() Method क्या Return करती है?
[A] पहला Record या Default Value
[B] सभी Records
[C] Null हमेशा
[D] Exception
94. What does FirstOrDefault() return?
[A] First Record or Default Value
[B] All Records
[C] Always Null
[D] Exception
सही उत्तर: पहला Record या Default Value
व्याख्या: यदि Record नहीं मिलता तो Default Value Return होती है।
Correct Answer: First Record or Default Value
Explanation: Returns first record or default value.
95. SingleOrDefault() कब उपयोग की जाती है?
[A] जब केवल एक Record अपेक्षित हो
[B] Multiple Records के लिए
[C] Delete के लिए
[D] Insert के लिए
95. When is SingleOrDefault() used?
[A] When only one record is expected
[B] For Multiple Records
[C] For Delete
[D] For Insert
सही उत्तर: जब केवल एक Record अपेक्षित हो
व्याख्या: एक Record मिलने पर Return करती है।
Correct Answer: When only one record is expected
Explanation: Returns a single record when expected.
96. Stored Procedure क्या है?
[A] Precompiled SQL Statements
[B] View File
[C] Controller Method
[D] API Endpoint
96. What is a Stored Procedure?
[A] Precompiled SQL Statements
[B] View File
[C] Controller Method
[D] API Endpoint
सही उत्तर: Precompiled SQL Statements
व्याख्या: Stored Procedure Database में Stored SQL Code होती है।
Correct Answer: Precompiled SQL Statements
Explanation: A stored procedure is precompiled SQL code stored in database.
97. Transaction का मुख्य उद्देश्य क्या है?
[A] Data Consistency
[B] UI Design
[C] Routing
[D] Logging
97. What is the main purpose of Transaction?
[A] Data Consistency
[B] UI Design
[C] Routing
[D] Logging
सही उत्तर: Data Consistency
व्याख्या: Transaction Database Integrity बनाए रखती है।
Correct Answer: Data Consistency
Explanation: Transaction maintains database integrity.
98. ACID में A का अर्थ क्या है?
[A] Atomicity
[B] Availability
[C] Accuracy
[D] Access
98. What does A stand for in ACID?
[A] Atomicity
[B] Availability
[C] Accuracy
[D] Access
सही उत्तर: Atomicity
व्याख्या: Atomicity का अर्थ है या तो पूरा Transaction सफल होगा या पूरा Rollback होगा।
Correct Answer: Atomicity
Explanation: Atomicity means all or nothing transaction execution.
99. Unit Testing का उद्देश्य क्या है?
[A] Code Testing
[B] Database Design
[C] UI Creation
[D] Deployment
99. What is the purpose of Unit Testing?
[A] Code Testing
[B] Database Design
[C] UI Creation
[D] Deployment
सही उत्तर: Code Testing
व्याख्या: Application के छोटे Components को Test करने के लिए।
Correct Answer: Code Testing
Explanation: Used to test small units of code.
100. xUnit क्या है?
[A] Testing Framework
[B] Database
[C] ORM
[D] Web Server
100. What is xUnit?
[A] Testing Framework
[B] Database
[C] ORM
[D] Web Server
सही उत्तर: Testing Framework
व्याख्या: xUnit .NET Applications की Unit Testing के लिए उपयोग किया जाता है।
Correct Answer: Testing Framework
Explanation: xUnit is a testing framework for .NET applications.