Application Development and Emerging Technology Source 345

Download as pdf or txt
Download as pdf or txt
You are on page 1of 18

The function of ci code to return a URI segment

$this->uri->segment

It is a URI Component that serve as persistent, location-independent identifiers


URN

The default file extension for PHP file is ".php"


True

Answer PHP version that uses void return type, class constant visibility modifiers, null
types.
7.1

PHP is one of the most widely used and recognizable web technology used on the Internet.
True

PHP 3 was released in 1998.


True

URN stands for?


Uniform Resource Name

The function or ci code to show or call the client-side "non-existing page" error
show_404()

PHP development began in 1995.


False

The first URI segment


Controller

The third URI Segment


Parameter

The page that displays a message that the requested page was not found.
Error 404

Andi Gutmans was the inventor of PHP.


False

The second URI segment


Method

URI stands for?


Uniform Resources Identifier

Answer What functionality was added to PHP 5.1 as interface for accessing databases?
PDO

It is the process of redirecting or remapping a controller class or method.


Routing
Answer Year that PHP was officially called Personal Home Page Tools.
1995

Answer Version of PHP that uses namespace support late static binding.
5.3

Answer Version of PHP that introduces the use of superglobals.


4.1

CI function code to load the database class.


$this->load->database();

Element can be placed onto a web page in a pre-checked fashion by setting the checked attribute.
Checkbox

CI method or code that display/echo error messages when form_validation->run() returns false.
Validation_errors()

It is a line that is not read/executed as part of the program.


Comment

CI method or code to set an error message in form validation.


$this->form_validation->set_message()

Query Builder class method that inserts record on the database.


$this->db->insert()

row_array() fetch the data as a single row and result_array() fetch the data as a multi-
dimensional array.
True

_construct() method executes when a class is created or instantiated.


True

PHP varianbles start with what symbol?


$

CI file directory where the database configuration settings and database groups is found.
Application/config/database.php

CI file directory where autoload classes and functions are defined.


Application/config/autoload.php

A variable declared within a function.


Local

Storage data in PHP


Variables

Define styles for your documents, including the design, layout and variations in display for
different devices and screen sizes.
CSS

A variable declared outside a function.


Global

Query Builder or Active Record pattern in CI replaces the traditional query string in php coding.
True

CI method or code to load the form validation library.


$this->load->library('form_validation')

These are functions which are passed to another function and takes this "other function" as a
parameter.
Callbacks

CI method or code to set a rule in form validation.


$this->form_validation->set_rules()

Form Helper method or code to return an HTML checkbox input type.


form_checkbox()
Matching Type. Choose the correct answer from the selection provided.

PHP’s superglobal type of variables that can


Answer
be accessed anywhere on the web application SESSION VARIABLES
because it is stored on the browser session. 1
A session variable name that checks if the Answer
user has privileges to the page. islogged
2
It is an algorithm that is used in security
Answer
hashing that transforms data into a 128 bit MD5
string. 3
These are session variables that are only Answer
available until the next request. FLASHDATA
4
CI method or code to remove a session Answer
variable. $this->session->unset_userdata(‘item’)
5
CI method or code to create a session Answer
variable. $this->session->set_userdata(‘item’, ‘value’)
6
Answer
CI method or code to load the session library. $this->load->library('session')
7
MySQL function to hash data into a 128 bit Answer
string. MD5()
8
CI method or code to access a session Answer
variable. $this->session->userdata(‘item’)
9
These are session variable that expires within Answer
a given time. TEMPDATA
10
.htaccess file that will automatically route the index.php next to the Controller

True
CI uses Model-Viewable-Controller architecture

False
To load the view, the function is like this: $this->load->view('name');
True
is the process of redirecting or remapping a controller class or method.
routing
CI, basically contains 4 main folders Application, System, User, Help Guide

False
variables are just like session variables except it is only available on the next request.
Flashdata
URI is the historical name that serve as persistent, location-independent identifiers allowing the
simple mapping of namespaces into a single URN namespace

False
What do you call the 3rd, 4th segment of the URI?
Parameters
Controller is also knows as the data access layer.

False
HTML is a requirement in Code igniter

True
IDENTIFICATION: What do you call the 1st segment of the URI?
Controller
Meaning of URN
Uniform resource name
Data Access Layer or Persistence Layer of the MVC Layered Architecture.
Model
functions to help you build your form easier and faster.

Form helper
Meaning of URL.
Uniform resource locator
CodeIgniter is developed PHP.org
False
Segment is the process of redirecting or remapping a controller class or method.
False
are function that is passed to another function and takes this "other function" as a parameter

callbacks
will be loaded by the controller passing the returned data from the model.

URI stands for Uniform Resource Identity

False

Answer
It can be said as the entry point of application.
Controller
1
Variables that can be accessed anywhere on the web application Answer
because it is stored on the browser session superglobal
2
Answer
Organization that sponsors CI
Ellislab
3
Answer
You can display the error 404 page by using what function
show_404()
4
Answer
What function can be used to access session variables on webpages?
session_start()
5
Answer
Function that fetch the data as a multi-dimentional array
result_array()
6
Answer
variables are session variables that expires with a given time limit.
Tempdata
7
Answer
Method will execute codes once the class is created or instantiated.
__construct
8
Answer
Function that fetch the data as a single row array
row_array()
9
File that will automatically route the index.php next to the Controller Answer 10
Form helper class helps us by returning formatted HTML form elements.

True
Method that accepts 'secondary recipients' that receives the mail just to keep them informed
matches form validation rule checks 3 fields that should have an equal or same value.
False
It is any process or technology that allows users who forgot their passwords authenticate and reset
the passwords of their account

Forgot password
Method that accepts the recipient's email address

An input required to verify the user's record existence in order to reset his/her password.

Method that accepts the email's body or content

Method that accepts the email's title or heading text

Method that returns a string containing any server messages, email header and email message.

Method that returns a string containing any server messages, email header and email message.

$this->db->insert_id() inserts an id in the database.

False

Web Application Development 2 (1T 19-20)

Year that PHP was officially called Personal Home Page Tools. 1994

URN stands for? Uniform Resource Name

Who is the inventor of PHP? Rasmus Lerdorf

PHP runs on various platforms operating system such as apache and IIS. True
Andi Gutmans was the inventor of PHP. False

The function of ci code to return a URI segment $this->uri->segment

The second URI segment method

PDO stands for Personal Data Objects. False

It is a URI Component that serve as persistent, location-independent identifiers URN

The third URI Segment parameter

Form Helper method or code to return an HTML button. form_button()

Can hold an unlimited number of characters, and the text renders in a fixed-width font. TextArea

Delimiter symbol for rules in form validation. "?" symbol

CI method or code to set a rule in form validation. $this->form_validation->set_rules()

Form Helper method or code to return an HTML radio input type form_radio()

CI file directory where the database configuration settings and database groups is found.
Application/config/database.php
Form Helper method or code to return an HTML password input type. form_password()

This allows us to collect data from the htm file and display to the php script. $_POST

CI method or code to load the form validation library. $this->load->library('form_validation')

Define styles for your documents, including the design, layout and variations in display for different
devices and screen sizes. CSS

Segment is the process of redirecting or remapping a controller class or method. False

CI uses Model-Viewable-Controller architecture False

CI function code to load a Model class. $this->load

What do you call the 3rd, 4th segment of the URI? parameters

It is a URI Component that locates the path or address. Root address

Version of PHP that uses namespace support late static binding. PHP 5

Meaning of URN Uniform Resource Name

functions to help you build your form easier and faster CodeIgniter

What do you call the 1st segment of the URI? controller


Query Builder or Active Record pattern in CI replaces the traditional query string in php coding. True

These are functions which are passed to another function and takes this "other function" as a
parameter. callbacks

CodeIgniter is developed PHP.org False

Form Helper method or code to return an HTML checkbox input type. form_checkbox()

CI method or code that display/echo error messages when form_validation->run() returns false.
validation_errors()

Query Builder class method that inserts record on the database. $this->db->insert()

Storage data in PHP variables

A variable declared outside a function. Global

It is a line that is not read/executed as part of the program. comment

Other term used for Option buttons? Radio Buttons

URI stands for? Uniform Resource Identifier

What is the meaning of URL? Uniform Resource Locator


.htaccess file that will automatically route the index.php next to the Controller True

_construct() method executes when a class is created or instantiated. True

PHP 3 was released in 1998. True

The function or ci code to load a view. $this->load->view

PHP version that uses void return type, class constant visibility modifiers, null types. PHP 4

php.org is the official php resource. False

PHP development began in 1995. False

It is a configuration file that is used for configuration of site-access issues, such as URL redirect, URL
shortening, Access-security control. .htaccess

PHP version that uses void return type, class constant visibility modifiers, null types. PHP 7.1

matches form validation rule checks 3 fields that should have an equal or same value False

Registration is an activity of deleting user information on the database. False

An input required to verify the user's record existence in order to reset his/her password. email
address
We should subject a user for approval on registration. True

$this->db->insert_id() inserts an id in the database. False

Method that accepts 'secondary recipients' that receives the mail just to keep them informed cc($cc)

Method that accepts the email's body or content message($message)

Method that accepts recipients that are not visible to the other recipients bcc($bcc, $limit)

Method that accepts the email's title or heading text subject($subject)

Method that accepts the sender's email address from($from, $name, $return_email)

Form helper class helps us by returning formatted HTML form elements. True

Database Normalization is the process of organizing records to minimize redundancy. True

is_uniques form validation rule checks if the input is unique from the table. False

It is any process or technology that allows users who forgot their passwords authenticate and reset
the passwords of their account Forgot password

Method that triggers the sending of email send($auto_clear)


Account registration can be approved through activation link sent from user's email or by an admin
approval. True

is_unique requires table and field name as parameter. True

valid_email form validation rule is used to check if an e-mail is valid or not. True

Method that returns a string containing any server messages, email header and email message. $this-
>email->print_debugger()

Method that accepts the recipient's email address to($to)


bcc stands for Black Carbon Copy False
CodeIgniter allows us to send email in a neat and simple way. We can load the email class by
Declaring $this->load->library('email'); True

SEARCH methods is very useful on getting pieces of data, one at a time particularly on multiple tables
and databases. False

$that->db->insert_id() function returns the auto incremented or last inserted id from the query. True

A Query is a formatted result of database queries and contain useful data for decision making and
analysis False

This command is used to get or set values from and to an input element particularly textboxes. val()

A structure made up of series of intersecting straight (vertical, horizontal and angular) or curved guide
lines used to structure content. Grid

MaterializeCSS class prefix for desktop or larger devices l


MaterializeCSS class prefix for mobile devices. s

This command is used creates a sliding up transition within a given time on a selected element
slideUp(interval)

This command is used to produce a fading out effect within a given time on a selected element
fadeOut(interval)

A materializeCSS class that provides a 70% space of the browser's full width and allows you to center
the content horizontally. Container

This command is used to toggle, switch or alternate the selected item's visibility: show and hide
toggle()

It is the horizontal dimension of the grid system that separate page contents line after line. Rows

This command is used to create a sliding down transition within a given time on a selected element
slideDown(interval)

This command is used to show selected element(s) show()

This command is used to get or set values from and to a non-input element like divs. text()

grid layout that adapts or resize columns depending on the device screen size. Responsive

This command is used to create a sliding to the left transition within a given time on a selected
element slideLeft(interval)

A grid layout that is used for static website designs because it has fixed/distributed column sizes.
Fixed
It is the vertical dimension of the grid system that hold the actual page contents and is limited into 12s
per line. Columns

MaterializeCSS class prefix for tablet devices. m

This command is used to hide selected element(s) hide()

This command is used to produce a fading in effect within a given time on a selected element
fadeIn(interval)

A materializeCSS class that extends up to 100% of the browser's width to hold page contents.
container-fluid grid

jQuery is a java library that makes web scripting easier for us. True

AJAX engine is an XMLHttpRequest object and jQuery makes it a lot more easier for us because of its
AJAX development API. True

simply a new method that we use to extend jQuery's prototype object jQuery plugin

It is used to get or set values from and to an input element particularly textboxes. val()

We used the base_url() function to return our domain or application path True

It helps us enable sorting, pagination and search to our table data. DataTable jQuery plugin

Who first use the term AJAX? Jesse James Garret


JQuery method used to hide selected element(s) hide()

AJAX stands for Asynchronous Java False

CSS stands for Cascading Style Sheets

In jQuery the scr tag is use for linking. True

DataTable jQuery plugin helps us enable sorting, pagination and search to our table data. True

$(document).ready() function calls if the browser contents has properly loaded its contents and is
browsing. True

Successful - this will be triggered upon the AJAX request and usually accepts the parameter response
response contains the loaded content from the URL requested. False

Name the university that created MaterialDesign CSS Carnegie Mellon University

CodeIgniter's Pagination class is very easy to use, but it is not 100% customizable, either dynamically
or via stored preferences. True

What do you call common functions or small snippets of code used in every or most Information
Systems helpers

In file upload the maximum size are set in _________ that the file can be. Set to zero for no limit
gigabytes
Which of the following has the correct syntax of active records. //this->db->select();

An upload helper method that returns an array containing all of the data related to the file you
uploaded. data

Originally, PHP is known as "Personal Home Pages"

True

Database group configuration in CI is stored in a multi-dimensional array.

False

You might also like