[ PHP Programming MCQS ]
झारखंड में आयोजित होने वाली JPSC, JSSC, JET, झारखंड पुलिस भर्ती परीक्षा आदि के लिए उपयोगी सामान्य अध्ययन।
[ PHP Programming MCQS ]
Useful GK for JPSC, JSSC, JET, Jharkhand Police and other exams.
151. PHP script execution के दौरान memory allocation कौन संभालता है?
[A] Browser
[B] Zend Engine
[C] Apache
[D] MySQL
151. Who manages memory allocation during PHP execution?
[A] Browser
[B] Zend Engine
[C] Apache
[D] MySQL
सही उत्तर: Zend Engine
व्याख्या: Zend Engine memory management का कार्य करता है।
Correct Answer: Zend Engine
Explanation: Zend Engine handles memory management.
152. PHP का core execution engine क्या कहलाता है?
[A] Apache Engine
[B] Laravel Engine
[C] Zend Engine
[D] Composer Engine
152. What is the core execution engine of PHP?
[A] Apache Engine
[B] Laravel Engine
[C] Zend Engine
[D] Composer Engine
सही उत्तर: Zend Engine
व्याख्या: PHP scripts Zend Engine पर execute होती हैं।
Correct Answer: Zend Engine
Explanation: PHP scripts execute through Zend Engine.
153. Garbage Collection का मुख्य उद्देश्य क्या है?
[A] Increase Storage
[B] Free Unused Memory
[C] Create Session
[D] Manage Routes
153. What is the purpose of Garbage Collection?
[A] Increase Storage
[B] Free Unused Memory
[C] Create Session
[D] Manage Routes
सही उत्तर: Free Unused Memory
व्याख्या: Unused objects की memory release करता है।
Correct Answer: Free Unused Memory
Explanation: Releases memory occupied by unused objects.
154. PHP में cyclic references को handle करने के लिए कौन-सा mechanism प्रयोग होता है?
[A] Session Manager
[B] Garbage Collector
[C] Composer
[D] Router
154. Which mechanism handles cyclic references in PHP?
[A] Session Manager
[B] Garbage Collector
[C] Composer
[D] Router
सही उत्तर: Garbage Collector
व्याख्या: Circular object references को साफ करता है।
Correct Answer: Garbage Collector
Explanation: Handles circular object references.
155. OPcache का मुख्य उद्देश्य क्या है?
[A] Database Storage
[B] Bytecode Caching
[C] Image Compression
[D] Session Handling
155. What is the primary purpose of OPcache?
[A] Database Storage
[B] Bytecode Caching
[C] Image Compression
[D] Session Handling
सही उत्तर: Bytecode Caching
व्याख्या: Compiled bytecode cache करके performance बढ़ाता है।
Correct Answer: Bytecode Caching
Explanation: Improves performance through bytecode caching.
156. OPcache किस प्रकार की performance improvement प्रदान करता है?
[A] Network Speed
[B] Reduced Script Compilation
[C] Database Optimization
[D] Email Sending
156. How does OPcache improve performance?
[A] Network Speed
[B] Reduced Script Compilation
[C] Database Optimization
[D] Email Sending
सही उत्तर: Reduced Script Compilation
व्याख्या: बार-बार compilation से बचाता है।
Correct Answer: Reduced Script Compilation
Explanation: Avoids repetitive script compilation.
157. APCu का उपयोग मुख्य रूप से किसलिए किया जाता है?
[A] Database Replication
[B] User Data Cache
[C] Routing
[D] Email Queue
157. What is APCu mainly used for?
[A] Database Replication
[B] User Data Cache
[C] Routing
[D] Email Queue
सही उत्तर: User Data Cache
व्याख्या: Application-level caching के लिए।
Correct Answer: User Data Cache
Explanation: Provides application-level caching.
158. PHP-FPM का पूरा नाम क्या है?
[A] PHP Fast Process Manager
[B] PHP FastCGI Process Manager
[C] PHP File Process Manager
[D] PHP Framework Process Manager
158. What is the full form of PHP-FPM?
[A] PHP Fast Process Manager
[B] PHP FastCGI Process Manager
[C] PHP File Process Manager
[D] PHP Framework Process Manager
सही उत्तर: PHP FastCGI Process Manager
व्याख्या: PHP applications के लिए FastCGI implementation।
Correct Answer: PHP FastCGI Process Manager
Explanation: FastCGI Process Manager for PHP.
159. PHP-FPM का मुख्य लाभ क्या है?
[A] Better Performance
[B] Database Security
[C] Email Delivery
[D] Code Formatting
159. What is the main benefit of PHP-FPM?
[A] Better Performance
[B] Database Security
[C] Email Delivery
[D] Code Formatting
सही उत्तर: Better Performance
व्याख्या: High traffic websites के लिए बेहतर performance।
Correct Answer: Better Performance
Explanation: Provides improved performance for high traffic sites.
160. Apache Web Server का default PHP integration module कौन-सा है?
[A] mod_php
[B] mod_sql
[C] mod_cache
[D] mod_html
160. Which Apache module integrates PHP?
[A] mod_php
[B] mod_sql
[C] mod_cache
[D] mod_html
सही उत्तर: mod_php
व्याख्या: Apache के साथ PHP integration।
Correct Answer: mod_php
Explanation: Provides PHP integration with Apache.