1.
The first public version of CodeIgniter was released on
Correct Answer
C. February 2006
Explanation
CodeIgniter is a popular PHP framework used for web development. The correct answer is February 2006 because it was the date when the first public version of CodeIgniter was released. This framework has been widely used since then due to its simplicity, flexibility, and extensive documentation. It provides developers with a set of tools and libraries to build web applications efficiently and securely.
2.
Who developed Codeigniter?
Correct Answer
A. EllisLab
Explanation
CodeIgniter was developed by EllisLab.
3.
CodeIgniter is loosely based on which of the following development patterns?
Correct Answer
C. Model–view–controller
Explanation
CodeIgniter is based on the Model–view–controller (MVC) development pattern. This pattern separates the application logic into three interconnected components: the model, the view, and the controller. The model represents the data and business logic, the view handles the presentation of the data to the user, and the controller manages the communication between the model and the view. This pattern helps in organizing the codebase, improving code reusability, and enhancing maintainability of the application.
4.
The preview version 3.0rc, is certified open source software licensed with the
Correct Answer
A. MIT License
Explanation
The correct answer is MIT License. This license is a permissive license that allows users to freely use, modify, and distribute the software. It is widely used for open source software as it provides minimal restrictions on the use and distribution of the software.
5.
Following Databases supported are supported by Codeigniter Frameworks except
Correct Answer
B. SQL Server
Explanation
Codeigniter is a PHP framework that provides support for various databases. The given options include MySQL, SQL Server, MS SQL, and Oracle. The correct answer is SQL Server because it is not supported by Codeigniter. Codeigniter does provide support for MySQL, MS SQL, and Oracle databases, but not for SQL Server.
6.
One of the following is not true about Codeigniter
Correct Answer
A. Framework with a big footprint
Explanation
Codeigniter is known for its small footprint, which means it has a lightweight framework that does not require a lot of server resources or disk space. This makes it efficient and fast to use. Additionally, Codeigniter allows for easy extension through the use of libraries, helpers, class extensions, and system hooks. It also requires nearly zero configuration, making it easy to set up and start using. Finally, Codeigniter is free to use and is an open-source framework, meaning it can be used and modified by anyone.
7.
One of the following is not among the functions in codeigniter
Correct Answer
D. None of these
Explanation
The given options consist of three functions in CodeIgniter: config_item($key), html_escape($var), and set_status_header($code[, $text = ”]). Therefore, the correct answer is "None of these" as all the options listed are functions in CodeIgniter.
8.
Different types of hook point in Codeigniter includes the following except
Correct Answer
C. Pre_override
Explanation
The answer is "Pre_override" because it is not a valid hook point in Codeigniter. The other three options (post_controller_constructor, display_override, and Post_system) are valid hook points that can be used in Codeigniter for executing custom code at specific points during the application's execution. However, "Pre_override" is not a recognized hook point in Codeigniter.
9.
Codeigniter is written in which of the following languages?
Correct Answer
B. pHP
Explanation
CodeIgniter is written in PHP. CodeIgniter is a powerful PHP framework that is used for developing web applications. It follows the Model-View-Controller (MVC) architectural pattern and provides a set of libraries and helpers that simplify the development process. PHP is a popular server-side scripting language that is widely used for web development. It is known for its simplicity, flexibility, and extensive community support. Therefore, it is logical for CodeIgniter to be written in PHP as it leverages the features and capabilities of the language.
10.
Which of the following statements is not true
Correct Answer
A. The controller examines the HTTP request to determine what should be done with it
Explanation
The given answer is not true because the controller is responsible for determining what should be done with the HTTP request. It examines the request and decides which actions or methods should be executed to process the request and generate the appropriate response.