[ DOT NET Programming MCQS ]
झारखंड में आयोजित होने वाली JPSC, JSSC, JET, झारखंड पुलिस भर्ती परीक्षा आदि के लिए उपयोगी सामान्य अध्ययन।
[ DOT NET Programming MCQS ]
Useful GK for JPSC, JSSC, JET, Jharkhand Police and other exams.
61. ASP.NET Core में Host क्या होता है?
[A] Application runtime environment
[B] Database server
[C] Compiler
[D] File system
61. What is Host in ASP.NET Core?
[A] Application runtime environment
[B] Database server
[C] Compiler
[D] File system
सही उत्तर: Application runtime environment
व्याख्या: App को run करने का environment provide करता है।
Correct Answer: Application runtime environment
Explanation: Provides runtime environment for application.
62. Web API में status code 200 का मतलब क्या है?
[A] Success
[B] Error
[C] Redirect
[D] Not Found
62. What does status code 200 mean?
[A] Success
[B] Error
[C] Redirect
[D] Not Found
सही उत्तर: Success
व्याख्या: Request successfully complete हुआ।
Correct Answer: Success
Explanation: Request completed successfully.
63. Status code 404 का मतलब क्या होता है?
[A] Not Found
[B] Success
[C] Server Error
[D] Unauthorized
63. What does status code 404 mean?
[A] Not Found
[B] Success
[C] Server Error
[D] Unauthorized
सही उत्तर: Not Found
व्याख्या: Resource available नहीं है।
Correct Answer: Not Found
Explanation: Resource not found.
64. Status code 500 क्या दर्शाता है?
[A] Server Error
[B] Success
[C] Not Found
[D] Unauthorized
64. What does status code 500 indicate?
[A] Server Error
[B] Success
[C] Not Found
[D] Unauthorized
सही उत्तर: Server Error
व्याख्या: Internal server error को दर्शाता है।
Correct Answer: Server Error
Explanation: Internal server error.
65. ASP.NET Core में JSON का उपयोग क्यों होता है?
[A] Data exchange के लिए
[B] File compression के लिए
[C] Database creation के लिए
[D] UI design के लिए
65. Why is JSON used in ASP.NET Core?
[A] Data exchange
[B] File compression
[C] Database creation
[D] UI design
सही उत्तर: Data exchange के लिए
व्याख्या: Lightweight data format है।
Correct Answer: Data exchange
Explanation: Lightweight data format.
66. Serialization का मतलब क्या है?
[A] Object को JSON में convert करना
[B] Database delete करना
[C] File compress करना
[D] UI render करना
66. What is serialization?
[A] Convert object to JSON
[B] Delete database
[C] Compress file
[D] Render UI
सही उत्तर: Object को JSON में convert करना
व्याख्या: Data transfer के लिए use होता है।
Correct Answer: Convert object to JSON
Explanation: Used for data transfer.
67. Deserialization क्या होता है?
[A] JSON को object में convert करना
[B] File delete करना
[C] Database create करना
[D] UI render करना
67. What is deserialization?
[A] JSON to object
[B] Delete file
[C] Create database
[D] Render UI
सही उत्तर: JSON को object में convert करना
व्याख्या: Reverse process होता है serialization का।
Correct Answer: JSON to object
Explanation: Reverse of serialization.
68. ASP.NET Core में HTTPS का उपयोग क्यों किया जाता है?
[A] Secure communication के लिए
[B] Speed increase के लिए
[C] Database delete के लिए
[D] UI design के लिए
68. Why is HTTPS used?
[A] Secure communication
[B] Increase speed
[C] Delete database
[D] Design UI
सही उत्तर: Secure communication के लिए
व्याख्या: Data encryption provide करता है।
Correct Answer: Secure communication
Explanation: Provides encrypted communication.
69. API Controller में [ApiController] attribute का उपयोग क्या है?
[A] Automatic validation enable करना
[B] Database create करना
[C] File upload करना
[D] UI render करना
69. What is [ApiController] used for?
[A] Enable auto validation
[B] Create database
[C] Upload file
[D] Render UI
सही उत्तर: Automatic validation enable करना
व्याख्या: Model validation automatically करता है।
Correct Answer: Enable auto validation
Explanation: Automatic model validation.
70. Route attribute का उपयोग क्या है?
[A] URL mapping के लिए
[B] Database delete के लिए
[C] File compress के लिए
[D] UI design के लिए
70. What is Route attribute used for?
[A] URL mapping
[B] Delete database
[C] Compress file
[D] Design UI
सही उत्तर: URL mapping के लिए
व्याख्या: Request को specific endpoint से map करता है।
Correct Answer: URL mapping
Explanation: Maps request to endpoint.