Wednesday, April 19, 2017

Codeigniter Multiple Choice Questions and Answers


Question: What is the exact path to show config.php file? 
A.      /system/controller/config/config.php
B.      /system/application/config/config.php
C.      /system/view/config/config.php
D.      /system/application/libraries/config.php
Question: Which of the following is the commerce logic of our application? 
A.      Model
B.      Views
C.      Controllers
D.      All
Question: Which one provides the added functionality that can be used crossways compound projects? 
A.      Libraries
B.      Modules
C.      views
Question: You can easily generate your individual libraries in CodeIgniter. 
A.      True
B.      False
Question: Which files are a compilation of functions in an exacting group? 
A.      Helper
B.      Libraries
C.      Modules
Question: What is the variation between helper and plug-in? 
A.      Plug-in usually provides a single function, whereas a helper is usually a collection of functions.
B.      Helper usually provides a single function, whereas a Plug-in is usually a collection of functions
Question: true, false, null keywords constantly must write down in 
A.      Uppercase
B.      Lowercase
C.      Anyone of the above
Question: What is the exact for variables names? 
A.      Can contain lowercase latter
B.      Can contain uppercase latter
C.      Both are correct

Question: Which variable name is incorrect? 
A.      $f
B.      $Text
C.      $user id
Question: Libraries are formed to make it simple to reuse code. 
A.      True                       
B.      False
Question: Benchmark can be added to controllers, views, and model. 
A.      True 
B.      False
Question: What works in almost right the same way as Helpers? 
A.      Plugin
B.      Helper
C.      Library
Question: By chance which files we need to edit the base URL? 
A.      System/application/config/config.php
B.      System/application/ routes  / routes .php
C.      System/application/ autoload / autoload.php
Question: CodeIgniter is an open source web application framework for the _______. 
A.      PHP language
B.      Java language
C.      C language
D.      C+ language
Question: Which one verifies how HTTP request should be handled? 
A.      Controllers
B.      Modules
C.      views
Question: To situate default controller which file would you untie? 
A.      System/application/config/ routes.php
B.      System/application/ routes  / routes .php
C.      System/application/ autoload / autoload.php
Question: What is full meaning of MVC? 
A.      Model View Controller
B.      Models Views Controllers
C.      Model View Controllers
D.      Models View Controller
Question: Which file is used to open autoload property? 
A.      application/config/ autoload.php
B.      application/ routes  / routes .php
C.      application/ autoload / autoload.php
Question: Which one is the commerce logic in CodeIgniter? 
A.      Controllers
B.      Modules
C.      views
Question: Which of the following in MVC signify any type data (returning, updating, and removing)? 
A.      Models
B.      Views
C.      Controllers
Question: Which class is used to compute the time between two points in your application? 
A.      Benchmarking class
B.      Profiling class
C.      Security class
Question: Which refers to the organism numbering pages-a list of numbered links? 
A.      Pagination
B.      Rotating
C.      Cropping
Question: Which is symbolizing any type of data that our application may apply? 
A.      Model
B.      Views
C.      Controllers
D.      None
Question: Which is particularly useful and even though also possible? 
A.      Model
B.      View
C.      Controller
Question: The PHP closing tag is voluntary. 
A.      True
B.      False
Question: you can remap function calls by using a function in your controller called _remap () 
A.      True
B.      False
Question: view file can also call other view files if you need other flexibility. 
A.      True
B.      False
Question: you can pass data to a view file by using the Second parameter of the load->view function. 
A.      True
B.      False
Question: _________ are the information that is being presented on the screen to users through their web browsers. 
A.      Views
B.      Controllers
C.      Models
D.      None
Question: The default batch size for bcc is 100. 
A.      True
B.      False
Question: we can set automatic filtering on by setting to $Config [‘global_xss_filtering’] = TRUE 
A.      True
B.      False
Question: To ensure file upload security, there is an optional second parameter to the xss clean function 
A.      True
B.      False
Question: Which is used for commerce logic of any application? 
A.      Controllers
B.      Default controllers
C.      Views
D.      None
Question: The email class also serves as a wrapper class 
A.      True
B.      False
Question: Where are Plugins are accumulate 
A.      System/application/plugins/ folder.
B.      System/application/config/ folder.
C.      System/application/routs/ folder.
Question: Which is right for naming a class? 
A.      class MYClass
B.      class myClass
C.      class My_class
D.      All
Question: we cannot load compound helpers by passing an array of values to the first parameter. 
A.      False
B.      True
Question: What is full meaning URI? 
A.      Uniform Resource Identifier
B.      Uniform Resource Identifiers
C.      Uniform Resourcing Identifiers
D.      None
Question: Helpers can be used within__ 
A.      Models
B.      Controllers
C.      Views
D.      ALL
Question: Which variable name is/are right? 
A.      $userid
B.      $user_id
C.      $text
D.      $Text
Question: All CodeIgniter core libraries have the prefix CI_ 
A.      True
B.      False
Question: How many parameters is set_rules function? 
A.      3
B.      4
C.      2
Question: Which one is right callback function? 
A.      callback_
B.      _callback
C.      _callback_
Question: If we use closing tag in php file any controller or views then answer may show __________. 
A.      PHP errors
B.      Warnings
even blank pages
C.      All
Question: ___________files are a compilation of functions in a exacting group. 
A.      Plugin
B.      Helper
C.      Libraries
D.      None
Question: Why benchmarking class is used? 
A.      To compute the time between two points in the application.
B.      To abstracts function.
C.      To create function
D.      None
Question: Benchmarks can be extra to Controllers, Views, and Models in three steps______. 
A.      Mark the starting point
B.      Mark the ending point
C.      Run the function to show the elapsed time
D.      All
Question: The full meaning of SMTP................. 
A.      Simple Mail Transfer Protocol
B.      Simple Mail Transfer Procedure
C.      Simple Mails Transfer Protocols
D.      None
Question: Which is refers to the system of numbering pages? 
A.      Pagination
B.      Rotating
C.      Cropping
D.      thumbnail
Question: Which data is hold in CodeIgniter session? 
A.      The user's unique Session ID
B.      The user's IP address
C.      The user's User Agent string
D.      The "last activity" timestamp
Question: Which is the validation rule? 
A.      required
B.      alpha
C.      numeric
D.      All
Question: How many prepping rules are available? 
A.      Five
B.      Ten
C.      Seven
D.      Four
Question: CodeIgniter session is simply an array hold the following data 
A.      Session ID
B.      User’s IP address
C.      first activity timestamp
Question: In CodeIgniter URI stands for 
A.     Uniform Resource Identifiers
B.      Unit Resource Identifiers
C.      Uniform Resource Identity
Question: The URl is built on segments. 
A.      true
B.      false
Question: Which one will manage all the segments? 
A.      index.php
B.      parameters
C.      method
Question: Which one will be the delight as the method in that URI? 
A.      Method
B.      Controller
C.      Index.php
Question: Which provide added functionality that can be used across multiple projects? 
A.      Classes
B.      Libraries
C.      Helpers
D.      Plugins
Question: When use CodeIgniter property we could use $CI in place of which super object? 
A.      $Ci
B.      $THIS
C.      $this
D.      None
Question: Which is not a Benchmark step? 
A.      Mark the ending point.
B.      Run the function to show the current time.
C.      Mark the starting point.
D.      Run the function to show the elapsed time.
Question: SMTP stands for what? 
A.      Simple Mail Transfer Port
B.      Simple Mail Transaction Protocol
C.      Simple Mail Transfer Protocol

D.      Simple Mail Transfer Protocol 

No comments:

Post a Comment