CodeIgniter Welcome to your Application Developer Test Name Email Contact No. 1. Which is the REPL used in Laravel? tinker artisan robots None of the above. 2. Which of the following methods on Collection will get all the records from it? some() get() all() enter() 3. How to define a mutator? setNameAttribute() setAttribute(‘name’) setName() setNameValue() 4. Which command is used to flush the application cache? php artisan cache:clear php artisan cache:forget php artisan cache:flush php artisan cache:remove 5. In which file we need to put database credentials? config/attr.php .env - Correct! .env.example config/database.php 6. What is the extension of blade files? .blade .blade.compiled .blade.php .php 7. Which command will you run to put the application in maintenance mode? php artisan maintenance down php artisan down php artisan up php artisan stop:server 8. How to start the queue worker using the command line? php artisan queue:work php artisan queue:start php artisan queue work php artisan queue start 9. ______ is not a hook in CodeIgniter. pre_model pre_system post_controller cache_override 10. The routing file is located in the ______ folder of CodeIgniter. Assets Controller Config Third-party 11. Which among the below of ORM(Object Relational Model) is supported by CodeIgniter? Doctrine DataMapper Gas ORM All of the above 12. What is CodeIgniter used for? Developing web applications Developing android applications Developing ios applications All of the above 13. Which function is used for setting the value of the input form or input box? setValue(); value_set() set_value(); $this->set->value(); 14. Which folder will have the base class of your application? Core Logs Helpers Models 15. How to get session value in CodeIgniter? $this->session->userdata('item'); $this->session->mark_as_flash('item'); $this->session->set_userdata($array); $this->session->unset_userdata('some_name'); 16. How to set csrf token in CodeIgniter? $this->load->library('session'); $this->session->set_userdata('some_name', 'some_value'); $config['csrf_protection'] = TRUE; $config['log_threshold'] = 1; 17. Is CodeIgniter good for large applications? Only suitable for smaller applications No Yes None of the above 18. Which is the Entry point in CodeIgniter? controller.php index.php .htacess config.php 19. What is a helper in CodeIgniter? Group of functions A class A controller A library 20. CodeIgniter is written by using ______ language. Python Java PHP Angular Time is Up! Time's up