CodeIgniter MCQ

CodeIgniter MCQ | Freshers & Experienced

  • Sharad Jaiswal
  • 12th Feb, 2021

We have Top listed below the best CodeIgniter Quiz for your basic knowledge of CodeIgniter Quiz. This CodeIgniter Quiz Test contains 25 multiple Choice Questions. You have to select the right answer to every question.

CodeIgniter MCQ

1) Which one is the business logic in codeIgniter?

  • A. View
  • B.Model
  • C.helper
  • D.Controller

2) How to check CodeIgniter framework version:

  • A. CI_FRAMEWORK
  • B.Codeigniter*version*
  • C.CI_VERSION
  • D.None of them

3) Different types of hook point in Codeigniter?

  • A. post_sytem
  • B.pre_controller
  • C.post_controller_constructor
  • D.All of the above

4) _____ is an Application Development Framework using PHP.

  • A. Zend
  • B.joomla
  • C.codeigniter
  • D.wordpress

5) What is the correct line of loading a view ?

  • A. $this->load(‘view_name’)
  • B.$this->view(‘view_name’)
  • C.$this->load->view(‘view_name’)
  • D.$this->load->view_name(‘view’)

6) Which key word is used callback function ?

  • A. callback_
  • B.call_back_
  • C._callback_
  • D.All of the above

7) You can easily create your own libraries in codeigniter.

  • A. True
  • B.False

8) Keywords always should write down in

  • A. Lowercase
  • B.Uppercase
  • C.Camelcase
  • D.All of the above

9) Who was developed by CodeIgniter ?

  • A. Alen turing
  • B.Kemp Thopson
  • C.Rick Ellis
  • D.Konrad Zuse

10) Codeigniter has features as:

  • A. Extremely Light Weight
  • B.Custom Routing
  • C.Model View Controller
  • D.All of the above

11) Which function gives you to view file friendly syntax to get browser cookies?

  • A. get_cookie()
  • B.set_cookie()
  • C.dis_cookie()
  • D.list_cookie()

12) Which of the following line of code use to a send email?

  • A. $this->load->email; Mail details code here…. $this->email->send();
  • B.library('email'); Mail details code here $this->email->send();
  • C.$this->load->library('email'); Mail details code here $this->email->send();
  • D.ERROR

13) How do you set default timezone in codeigniter?

  • A. date_default_timezone
  • B.date_default_timezone_set(‘India/Mumbai’);
  • C.SET(‘India/Mumbai’);
  • D.Both A & B

14) Codeigniter was initially relaesed in:

  • A. February 27, 2006
  • B.February 28, 2006
  • C.February 27, 2007
  • D.February 28, 2007

15) Following ORM is supported by CodeIgniter Framework are

  • A. DataMapper
  • B.Doctrine
  • C.Gas
  • D.Both A & B

16) What is the Latest version of Codeigniter?

  • A. CodeIgniter 2.1.11
  • B.CodeIgniter 3.0.10
  • C.CodeIgniter 3.1.11
  • D.None of them

17) How to set CSRF token in codeIgniter?

  • A. config['csrf_protection'] = TRUE;
  • B.$['csrf_protection'] = TRUE;
  • C.$config['csrf_protection'] = TRUE;
  • D.None of them

18) CodeIgniter supported databases?

  • A. Oracle
  • B.ODBC
  • C.CUBRID
  • D.All of the above

19) Some functions used in CodeIgniter are;

  • A. get_mimes()
  • B.html_escape(var)
  • C.config_item(key)
  • D.All of the above

20) How to print SQL statement in codeigniter model?

  • A. $this->db->SQL_query();
  • B.$this->last_query();
  • C.$this->db->last_query();
  • D.None of them

Leave A Comment :

Valid name is required.

Valid name is required.

Valid email id is required.

Related MCQ/Quiz

01st
Feb
React JS MCQ
01st
Feb
Angular Js MCQ
01st
Feb
Angular 2 MCQ
01st
Feb
JSON MCQ
01st
Feb
PHP MCQ