MCQs on CakePHP
A Level Jan 2022
एमवीसी आर्किटेक्चर में इवेंट प्राप्त करने वाले शब्द को कहा जाता है:
Term in MVC architecture that receives events is called :
[A] Receiver
[B] Controller
[C] Transmitter
[D] Modulator
Correct Answer : Controller
एमवीसी का क्या मतलब है?
What does MVC stand for?
[A] Module-vector-core
[B] Model-view-controller
[C] Modular-view-controlling
[D] Maximum-velocity-counter
Correct Answer : Model-view-controller
बताएं सही है या गलत? CakePHP MVC डिज़ाइन पैटर्न पर आधारित है।
State True or False? CakePHP is based on the MVC design pattern.
[A] True
[B] False
[C] Can't say
[D] May be
Correct Answer : True
स्थैतिक सामग्री परोसने के लिए कौन सा डिफ़ॉल्ट नियंत्रक प्रदान किया जाता है?
Which is the default controller provided to serve static content?
[A] StaticController
[B] PagesController
[C] HtmlController
[D] ContentController
Correct Answer : PagesController
जब आप केकफ़्पी का उपयोग करके कोई एप्लिकेशन चलाते हैं तो पहली फ़ाइल कौन सी लोड होती है?
What is the first file that gets loaded when you run a application using cakephp?
[A] index.php
[B] config.php
[C] bootstrap.php
[D] core.php
Correct Answer : index.php
यदि CakePHP /app/मॉडल फ़ोल्डर में किसी मॉडल ऑब्जेक्ट के लिए फ़ाइल नहीं ढूंढ पाता तो क्या होता है?
What happens if CakePHP can’t find a file for a model object in the /app/Model folder?
[A] Deletes the controller
[B] Generates a SQL error
[C] Generates an internal server error
[D] Dynamically creates a model object for you
Correct Answer : Dynamically creates a model object for you
एक मॉडल का कार्य क्या है?
What is the function of a model?
[A] It is responsible for generating the specific output required for the object.
[B] It is an object that represents application data, business rules and logic.
[C] They are used to mediate input between Views and Controllers.
[D] It is responsible for generating the specific output required for the request.
Correct Answer : It is an object that represents application data, business rules and logic.
.ctp फ़ाइल क्या है?
What is a .ctp file?
[A] Common Timing Protocol
[B] misnamed
[C] Twig Template
[D] CakePHP Template
Correct Answer : CakePHP Template
CakePHP 2.x में CSRF सुरक्षा प्रदान की गई है
CSRF protection is provided in CakePHP 2.x
[A] SecurityComponent
[B] SecurityMethods
[C] SecurityPlugin
[D] None of above
Correct Answer : SecurityComponent
बेक कंसोल कौन सी केकपीएचपी इकाइयां बना सकता है?
Which CakePHP entities can the Bake console create?
[A] View
[B] Model
[C] Controller
[D] All of above
Correct Answer : All of above
कौन सा केकपीएचपी घटक व्यू लेयर का हिस्सा नहीं है?
What CakePHP component is not part of the View layer?
[A] Helper
[B] Layout
[C] Behavior
[D] Element
Correct Answer : Behavior