1. Question: What is the right path to open config.php file?

    A
    controller/config/config.php

    B
    application/config/config.php

    C
    view/config/config.php

    D
    application/libraries/config.php

    Note: Not available
    1. Report
  2. Question: Which of the following are the business logic of our application?

    A
    Model

    B
    Views

    C
    Controllers

    D
    All

    Note: Not available
    1. Report
  3. Question: What is the correct syntax for a Controller?

    A
    [code] <?php class HelloWorld extends Controller { function HelloWorld(){ parent::Controller();   } function index(){ echo("Hello, World!"); } } ?> [code]

    B
    1. <?php
    2. class Helloworld extends Controller
    3. {
    4. function HelloWorld(){
    5. parent::controller();
    6. }
    7.  
    8. function index(){
    9. echo("Hello, World!");
    10. }
    11. }
    12. ?>

    C
    1. <?php
    2. class Helloworld extends Controller
    3. {
    4. function HelloWorld(){
    5. parent:Controller();
    6. }
    7.  
    8. function index(){
    9. echo("Hello, World!");
    10. }
    11.  
    12. }
    13. ?>

    D
    1. <?php
    2. class Helloworld extend Controller
    3. {
    4. function HelloWorld(){
    5. parent::Controller();
    6. }
    7. function index(){
    8. echo("Hello, World!");
    9. }
    10. }
    11. ?>

    Note: Not available
    1. Report
  4. Question: What is the correct syntax for a Model?

    A
    1. <?php
    2. class Mymodel extends model{
    3. function Mymodel(){
    4. parent::Model();
    5. }
    6. }
    7. ?>

    B
    1. <?php
    2. class Mymodel extend Model{
    3. function Mymodel(){
    4. parent::Model();
    5. }
    6. }
    7. ?>

    C
    1. <?php
    2. class Mymodel extends Model{
    3. funtcion Mymodel(){
    4. parent:Model();
    5. }
    6. }
    7. ?>

    D
    1. <?php
    2. class Mymodel extends Model{
    3. function Mymodel(){
    4. parent::Model();
    5. }
    6. }
    7. ?>

    Note: Not available
    1. Report
  5. Question: Which is/are the right code for loading Model?

    A
    $this->load->model('model_name');

    B
    $this->load->model('sub_folder/model_name');

    C
    $this->model_name->function_name();

    D
    None

    Note: Not available
    1. Report
  6. Question: Which is/are the right code for loading a view?

    A
    $this->load->view('view_name');

    B
    $this->load->view(view_name);

    C
    $data['title'] = "My Web Page"; $this->load->view('view_name', $data);

    D
    $data['title'] = "My Web Page"; $this->load->view('view_name',data);

    Note: Not available
    1. Report
  7. Question: Which one provides the extra functionality that can be used across multiple projects?

    A
    Libraries

    B
    Modules

    C
    views

    Note: Not available
    1. Report
  8. Question: You can easily create your own libraries in codeigniter.

    A
    True

    B
    False

    Note: Not available
    1. Report
  9. Question: To load your library which function will you use?

    A
    $this->load->library(‘name’);

    B
    $this-> library -> load (‘name’);

    C
    $this->laod->library(‘name’);

    Note: Not available
    1. Report
  10. Question: Which  files are a collection of functions in a particular group?

    A
    Helper

    B
    Libraries

    C
    Modules

    Note: Not available
    1. Report
Copyright © 2025. Powered by Intellect Software Ltd