We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2
Prelims:
php is the official php resource. Answer: False
It is a URI Component that serve as persistent, location-independent identifiers Answer: URN IDENTIFICATION. Read the question carefully and type your answer in the space provided. _____ PHP version that enabled the filter extension by default Native JSON default Answer: 5. The function or ci code to load a view. Answer: $this->load->view The default file extension for PHP file is “.php” Answer: True PHP runs on various platforms operating system such as apache and IIS. Answer: False The third URI Segment Answer: parameter The page that displays a message that the requested page was not found. Answer: Error 404 The first URI segment Answer: controller PHP 3 was released in 1998. Answer: True IDENTIFICATION. Read the question carefully and type your answer in the space provided. _____ PHP version that uses void return type, class constant visibility modifiers, null types. Answer: 7.
Originally, PHP is known as “Personal Home Pages” Answer: False
IDENTIFICATION. Read the question carefully and type your answer in the space provided. _____ What year did PHP began its development? Answer: 1994 PDO stands for Personal Data Objects. Answer: False IDENTIFICATION. Read the question carefully and type your answer in the space provided. _____ What functionality was added to PHP 5 as interface for accessing databases? Answer: PDO The second URI segment Answer: method Controller Caching The function of ci code to return a URI segment Answer: $this->uri->segment What is the meaning of URL? Answer: Uniform Resource Locator It is the process of redirecting or remapping a controller class or method. Answer: Routing PHP is one of the most widely used and recognizable web technology used on the Internet. Answer: True It is a configuration file that is used for configuration of site-access issues, such as URL redirect, URL shortening, Access-security control. Answer: .htaccess IDENTIFICATION. Read the question carefully and type your answer in the space provided. __________ Who is the inventor of PHP? Answer: Rasmus Lerdorf PHP development began in 1995. Answer: False URN stands for? Answer: Uniform Resource Name Answer: form_button() Form Helper method or code to return an HTML checkbox input type. Answer: form_checkbox() Element can be placed onto a web page in a pre- checked fashion by setting the checked attribute. Answer: Checkbox A variable declared within a function. Answer: Local Delimiter symbol for rules in form validation. Answer: “|” or pipe symbol Form Helper method or code to return an HTML text input type. Answer: form_input() row_array() fetch the data as a single row and result_array() fetch the data as a multi-dimensional array. Answer: True It is the Data Access Layer or Persistence Layer of the MVC Layered Architecture. Answer: Model CI function code to load a Model class. Answer: $this->load- Storage data in PHP Answer: variables CI method or code to set a rule in form validation. Answer: $this->form_validation->set_rules() Query Builder class method that inserts record on the database. Answer: $this->db->insert() CI file directory where the database configuration settings and database groups is found. Answer: Application/config/database _construct() method executes when a class is created or instantiated. Answer: True Define styles for your documents, including the design, layout and variations in display for different devices and screen sizes. Answer: CSS Database group configuration in CI is stored in a multi-dimensional array. Answer: True Other term used for Option buttons? Answer: Radio Buttons Element represents a control that presents a menu of options. Answer: HTML select One of the main points of interaction between a user and a web site or application. They allow users to send data to the website. Answer: HTML Forms CI method or code that display/echo error messages when form_validation->run() returns false. Answer: validation_errors() Symbol used to combine 2 sting values to create one string. Answer:. PHP varianbles start with what symbol? Answer: $ Area that can be specified by the cols and rows attributes, or even better; through CSS’ height and width properties. Answer: Textarea These are functions which are passed to another function and takes this “other function” as a parameter. Answer: callbacks This allows us to collect data from the htm file and display to the php script. Answer: $_POST A variable declared outside a function. Answer: Global Answer: Form helper IDENTIFICATION: __________ What do you call the 3rd, 4th segment of the URI? Answer: Parameters IDENTIFICATION: What do you call the 1st segment of the URI? Answer: Controller CodeIgniter is developed PHP Answer: False IDENTIFICATION: __________ Data Access Layer or Persistence Layer of the MVC Layered Architecture. Answer: Model IDENTIFICATION: __________ variables are just like session variables except it is only available on the next request. Answer: Flashdata IDENTIFICATION: __________ Meaning of URL. Answer: Uniform Resource Locator .htaccess file that will automatically route the index next to the Controller Answer: True CI, basically contains 4 main folders Application, System, User, Help Guide Answer: False FILL IN THE BLANK: __________ is the process of redirecting or remapping a controller class or method. Answer: Routing The Model represents your data structures. Typically your model classes will contain functions that help you retrieve, insert, and update information in your database. Answer: True FILL IN THE BLANK: __________ will be loaded by the controller passing the returned data from the model. The Model represents your data structures Answer: True Views classes will contain functions that help you retrieve, insert and update information in your database. Answer: False Whenever a request comes to CodeIgniter, it will first go to index page. Answer: True MVC ,means Modular_View, Controller Answer: False The controller must be called with lowercase letter. Answer: True Use the same name of the method as your parent class, Answer: False Before passing the request to Application Controller, the Security of the submitted data is checked. Answer: True MVC is a software approach that separates application logic from presentation. Answer: True The Models folder contains standard CodeIgniter libraries Answer: False The Controller will render the page with available data and pass it on for Caching. Answer: False Model classes are stored in application/models directory. Answer: True Route This folder contains files related to the log of the system Answer: False A View will normally be a web page, but in CodeIgniter, a view can also be a page fragment like Routes− The language folder contains language files. You can ignore it for now. Answer: False The Table folder contains core database drivers and other database utilities. Answer: False The Controller serves as an intermediary between the Model, the View, and any other resources needed to process the HTTP request and generate a web page. Answer: False Views – Application’s HTML files will be placed in this folder. Answer: True Config – This folder contains all the cached pages of your application. These cached pages will increase the overall speed of accessing the pages Answer: False Database – The database folder contains core database drivers and other database utilities. Answer: True Config – This folder contains various files to configure the application. With the help of config file, Answer: True 2nd_party – In this folder, you can place any plugins, which will be used for your application. Answer: False The libraries folder contains standard CodeIgniter libraries (to help you with e- mail, calendars, file uploads, and more). You can create your own libraries or extend (and even replace) standard ones, but those will be saved in the application/libraries fvto keep them separate from the standard CodeIgniter libraries saved in this particular folder. Answer: True The MVC represents your data structures