CODEIGNITER QUIZ DESCRIPTION Total Questions −30 00 Max Time − 15:00 To load a default controller, what should you do? Give the default controller name Always inherit the parent controller Specify this in application/config/routes.php Add a setting to application/config.php Which one will control all the segments? index.php something one something two something three Which key word is used callback function ? _callback callback_ callback None of above Which is extremely useful and even though also optional ? Model View Controller Non of above What kind of link is this: URI QueryString ftp link None Which function gives you to view file friendly syntax to get browser cookies? get_cookie() list_cookie() dis_cookie() set_cookie() Which one is the business logic in codeIgniter? Model view controller helper Which of the following in MVC can connect to database? model AND controller view helper Which class is used to calculate the time between two points in your application ? Profiling class Security class Benchmarking class Non of above You can display the amount of memory used by the system by calling: this->benchmark->memory use() this->memory use() this->benchmark->memory usage() this->memory usage() Which are false? all Codeigniter class names should start with uppercase and rest of the name should be in lowercase. you can remap function calls by using a function in your controller called _remap() you can pass data to a view file by using the third parameter of the load->view function. and view file cannot call other view files Base URL can be changed from which configuration file? Database Config Routes Autoload Which variable name is incorrect? $Textcorrect B. $fcorrect C. $user idcorrect D. $text E. $some-test-herecorrect A , B, C,E D In CI, the closing tag of PHP is optional. True False What is codeigniter? Java web application framework PHP web application framework Python web application framework None Of The Above The above URl is built on segments True False Base URL can be changed from which configuration file: database config routes autoload Which of the following function is use to set the value of form input box ? set() set_value() setvalue() None Of The Above The keywords true, false, null should always be in lowercase letter in codeigniter. True False Which one is the business logic in codeigniter? View Model Controller None Of The Above Which function is use to set the value of form input box? Setvalue() Set() Set_value() None of the above Which rules returns FALSE if the form element contains anything other than alpha-numeric characters? Alpha Numeric Alpha_numeric None Which one is not true we can set automatic filtering on by setting $config[‘global_xss_filtering’] to TRUE We can check image for safety in optional second parameter to the xss clean function The email class also serves as a wrapper class in CI email can only be sent from controller How many parameters are a set_rules function? 4 2 3 5 Which variable name is incorrect? A. $Textcorrect B. $fcorrect C. $user idcorrect D. $text E. $some-test-herecorrect A,B,C,E D Which of the follwoing will be treated as method in that URI? Something Two index.php something one None Of The Above How many parameters are set_rules function ? 4 3 2 5 The keywords true, false, null should always be in lowercase letter in codeigniter True False default controller can be set from which configuration file: database B. config C. routes D. autoload config routes autoload Which of the following in MVC can connect to database? model AND controller view helper Previous Next Total Question16 Wrong Answer13 Right Answer13