[ PHP Programming MCQS ]
झारखंड में आयोजित होने वाली JPSC, JSSC, JET, झारखंड पुलिस भर्ती परीक्षा आदि के लिए उपयोगी सामान्य अध्ययन।
[ PHP Programming MCQS ]
Useful GK for JPSC, JSSC, JET, Jharkhand Police and other exams.
291. PSR-7 किससे संबंधित है?
[A] HTTP Messages
[B] Database Queries
[C] Caching
[D] Logging
291. PSR-7 is related to?
[A] HTTP Messages
[B] Database Queries
[C] Caching
[D] Logging
सही उत्तर: HTTP Messages
व्याख्या: HTTP request और response interfaces define करता है।
Correct Answer: HTTP Messages
Explanation: Defines HTTP request and response interfaces.
292. PSR-15 किससे संबंधित है?
[A] Middleware
[B] Database Migration
[C] Authentication
[D] Template Engine
292. PSR-15 is related to?
[A] Middleware
[B] Database Migration
[C] Authentication
[D] Template Engine
सही उत्तर: Middleware
व्याख्या: HTTP middleware interfaces define करता है।
Correct Answer: Middleware
Explanation: Defines HTTP middleware interfaces.
293. PSR-3 किस standard से संबंधित है?
[A] Logging
[B] Caching
[C] Routing
[D] Queue
293. PSR-3 is related to which standard?
[A] Logging
[B] Caching
[C] Routing
[D] Queue
सही उत्तर: Logging
व्याख्या: Logger interface define करता है।
Correct Answer: Logging
Explanation: Defines a common logger interface.
294. PSR-6 किससे संबंधित है?
[A] Caching
[B] Routing
[C] Authentication
[D] Database
294. PSR-6 is related to?
[A] Caching
[B] Routing
[C] Authentication
[D] Database
सही उत्तर: Caching
व्याख्या: Cache interoperability standard।
Correct Answer: Caching
Explanation: Defines cache interoperability.
295. Composer का autoload mechanism सामान्यतः किस PSR standard पर आधारित होता है?
[A] PSR-1
[B] PSR-2
[C] PSR-4
[D] PSR-6
295. Composer autoloading is commonly based on which PSR?
[A] PSR-1
[B] PSR-2
[C] PSR-4
[D] PSR-6
सही उत्तर: PSR-4
व्याख्या: Modern PHP projects में widely used।
Correct Answer: PSR-4
Explanation: Widely used in modern PHP projects.
296. PHP-FIG का पूरा नाम क्या है?
[A] PHP Framework Interop Group
[B] PHP File Integration Group
[C] PHP Fast Internet Group
[D] PHP Function Interface Group
296. What is the full form of PHP-FIG?
[A] PHP Framework Interop Group
[B] PHP File Integration Group
[C] PHP Fast Internet Group
[D] PHP Function Interface Group
सही उत्तर: PHP Framework Interop Group
व्याख्या: PHP standards बनाने वाली organization।
Correct Answer: PHP Framework Interop Group
Explanation: Organization responsible for PHP standards.
297. Modern PHP applications में service container का मुख्य उपयोग क्या है?
[A] Dependency Resolution
[B] Image Processing
[C] File Compression
[D] Session Cleanup
297. What is the primary use of a service container in modern PHP applications?
[A] Dependency Resolution
[B] Image Processing
[C] File Compression
[D] Session Cleanup
सही उत्तर: Dependency Resolution
व्याख्या: Application services और dependencies manage करने के लिए।
Correct Answer: Dependency Resolution
Explanation: Manages application services and dependencies.
298. Laravel को किसने विकसित किया?
[A] Taylor Otwell
[B] Rasmus Lerdorf
[C] Fabien Potencier
[D] Sebastian Bergmann
298. Who developed Laravel?
[A] Taylor Otwell
[B] Rasmus Lerdorf
[C] Fabien Potencier
[D] Sebastian Bergmann
सही उत्तर: Taylor Otwell
व्याख्या: Laravel framework के निर्माता Taylor Otwell हैं।
Correct Answer: Taylor Otwell
Explanation: Laravel was created by Taylor Otwell.
299. Laravel में routes किस directory में define किए जाते हैं?
[A] app/
[B] config/
[C] routes/
[D] storage/
299. In which directory are Laravel routes defined?
[A] app/
[B] config/
[C] routes/
[D] storage/
सही उत्तर: routes/
व्याख्या: Web और API routes routes directory में रखे जाते हैं।
Correct Answer: routes/
Explanation: Web and API routes are defined in the routes directory.
300. Laravel का ORM क्या कहलाता है?
[A] Doctrine
[B] Eloquent
[C] ActiveRecord
[D] Propel
300. What is Laravel ORM called?
[A] Doctrine
[B] Eloquent
[C] ActiveRecord
[D] Propel
सही उत्तर: Eloquent
व्याख्या: Laravel Eloquent ORM प्रदान करता है।
Correct Answer: Eloquent
Explanation: Laravel uses Eloquent ORM.