Yii PHP web application framework/PHP CodeIgniter MCQ Sample Test,Sample questions

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

1.Caching Class

2.Calendaring Class

3.Shopping Cart Class

4.Benchmarking Class

Posted Date:-2022-08-08 13:41:54


Question:
 Which folder will contain base class of your application?

1.Helpers

2.Models

3.Core

4.Logs

Posted Date:-2022-08-08 13:34:50


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

1. database

2.username

3.hostname

4.dbdriver

Posted Date:-2022-08-08 13:29:38


Question:
 Which wildcards will match a segment containing only numbers?

1.(:float)

2.(:any)

3. (:int)

4. (:num)

Posted Date:-2022-08-08 13:37:16


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

1.URC

2.URA

3.URL

4.URI

Posted Date:-2022-08-08 13:35:26


Question:
CodeIgniter directory structure is divided into?

1.2 folders

2.3 folders

3.4 folders

4. 5 folders

Posted Date:-2022-08-08 13:23:25


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

1.First

2.Second

3.Third

4.Four

Posted Date:-2022-08-08 13:27:39


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

1.TRUE

2.FALSE

3.Can be true or false

4.Can not say

Posted Date:-2022-08-08 13:42:58


Question:
Model classes are stored in __________ directory.

1.application/models

2. helpers/models

3.app/models

4.system/models

Posted Date:-2022-08-08 13:26:32


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

1.True

2.False

3.Can be true or false

4.Can not say

Posted Date:-2022-08-08 13:31:12


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

1.View

2.Security

3.Routing

4.Models

Posted Date:-2022-08-08 13:33:52


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

1.CAPTCHA Helper

2.Array Helper

3.Cookie Helper

4.Date Helper

Posted Date:-2022-08-08 13:36:20


Question:
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.

1.Model

2.View

3.Controller

4.All of the above

Posted Date:-2022-08-08 13:24:57


Question:
Which class provides two-way data encryption functionality?

1.Config Class

2.Encryption Class

3.Email Class

4.Form Validation

Posted Date:-2022-08-08 13:32:04


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

1.$log_error

2.log_message()

3. show_404()

4.$page

Posted Date:-2022-08-08 13:43:47


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

1.show_error()

2.show_404()

3.log_message()

4.$level

Posted Date:-2022-08-08 13:32:49


Question:
Which function is used to select a record?

1. put()

2.select()

3.set()

4.get()

Posted Date:-2022-08-08 13:30:34


Question:
Which function will decide which record to update?

1.Groupby()

2.Where()

3. Set()

4.Orderby()

Posted Date:-2022-08-08 13:40:16


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

1.$this->db->close();

2. $this->close();

3.db->close()

4.$this->db->close;

Posted Date:-2022-08-08 13:41:07


Question:
Which of the following is true about CodeIgniter?

1.CodeIgniter is an application development framework

2.CodeIgniter can be used to develop websites, using PHP

3.CodeIgniter is an Open Source framework

4.All of the above

Posted Date:-2022-08-08 13:22:38


More MCQS

  1. PHP Yii MCQ Questions & Answers
  2. PHP Laravel MCQ
  3. PHP Symfony MCQ
  4. PHP CodeIgniter MCQ
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!