Yii PHP web application framework MCQ Quiz Hub

PHP CodeIgniter MCQ

Choose a topic to test your knowledge and improve your Yii PHP web application framework skills

Which of the following is true about CodeIgniter?





✅ Correct Answer: 4

CodeIgniter directory structure is divided into?





✅ Correct Answer: 2

The __________ serves as an intermediary between the Model, the View, and any other resources needed to process the HTTP request and generate a web page.





✅ Correct Answer: 3

Model classes are stored in __________ directory.





✅ Correct Answer: 1

In Routing, which segment represents the controller class that should be invoked?





✅ Correct Answer: 1

Which of the following will specify location of your database here e.g. localhost or IP address?





✅ Correct Answer: 3

Which function is used to select a record?





✅ Correct Answer: 4

The set() function will set the data to be updated.





✅ Correct Answer: 1

Which class provides two-way data encryption functionality?





✅ Correct Answer: 2

Which function displays errors in HTML format at the top of the screen?





✅ Correct Answer: 1

The ________ will render the page with available data and pass it on for Caching.





✅ Correct Answer: 1

Which folder will contain base class of your application?





✅ Correct Answer: 3

A controller is a simple class file. As the name suggests, it controls the whole application by?





✅ Correct Answer: 4

The _________ file contains functions that assist in working with arrays.





✅ Correct Answer: 2

Which wildcards will match a segment containing only numbers?





✅ Correct Answer: 4

Which function will decide which record to update?





✅ Correct Answer: 2

Which of the following is correct syntax for Closing a Connection?





✅ Correct Answer: 1

Which class is always active, enabling the time difference between any two marked points to be calculated?





✅ Correct Answer: 4

Language Class : This class pre-processes the input data for security reason





✅ Correct Answer: 2

Which function displays error if you are trying to access a page which does not exist?





✅ Correct Answer: 3