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
    <?php
    class Helloworld extends Controller
    {
      function HelloWorld(){
        parent::controller();
      }
    
      function index(){
       echo("Hello, World!");
      }
    }
    ?>

    C
    <?php
    class Helloworld extends Controller
    {
       function HelloWorld(){
         parent:Controller();
       }
    
       function index(){
        echo("Hello, World!");
      }
    
    }
    ?>

    D
    <?php
    class Helloworld extend Controller
    {
      function HelloWorld(){
       parent::Controller();
     }
     function index(){
      echo("Hello, World!");
     }
    }
    ?>

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

    A
    <?php
    class Mymodel extends model{
     function Mymodel(){
      parent::Model();
     }
    }
    ?>

    B
    <?php
    class Mymodel extend Model{
      function Mymodel(){
        parent::Model();
      }
    }
    ?>

    C
    <?php
    class Mymodel extends Model{
     funtcion Mymodel(){
       parent:Model();
     }
    }
    ?>

    D
    <?php
    class Mymodel extends Model{
     function Mymodel(){
      parent::Model();
     }
    }
    ?>

    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 © 2024. Powered by Intellect Software Ltd