IT6315 Web Application Development 2
It is a line that is not read/executed
as part of the program. |
comment |
URI stands for
Uniform Resource Identity |
False |
URI stands for? |
Uniform Resources Identifier |
CI function code to
load a Model class. |
$this->load |
A variable declared
within a function. |
Local |
The function of ci
code to return a URI segment |
$this->uri->segment |
CI uses
Model-Viewable-Controller architecture |
False |
Area that can be
specified by the cols and rows attributes, or even better; through CSS'
height and width properties. |
Textarea |
Other term used for
Option buttons? |
Radio Buttons |
CI function code to
load the database class. |
$this->load->database(); |
Controller is also
knows as the data access layer. |
False |
A variable declared
outside a function. |
Global |
CI method or code
to set an error message in form validation. |
$this->form_validation->set_message() |
CI method or code
to load the form validation library. |
$this->load->library('form_validation') |
It is the Data
Access Layer or Persistence Layer of the MVC Layered Architecture. |
Model |
Query Builder or
Active Record pattern in CI replaces the traditional query string in php
coding. |
True |
Form Helper method
or code to return an HTML radio input type |
form_radio() |
Element can be
placed onto a web page in a pre-checked fashion by setting the checked
attribute. |
Checkbox |
CI file directory
where autoload classes and functions are defined. |
Application/config/autoload.php |
CI method or code
that display/echo error messages when form_validation->run() returns
false. |
validation_errors() |
PHP varianbles
start with what symbol? |
$ |
It is a URI
Component that serve as persistent, location-independent identifiers |
URN |
It refers to the
horizontal dimension of the grid system |
rows |
It's a javascript
library that makes web scripting easier |
JQuery |
Null keywords
should be written in |
Uppercase |
It is a function
that overrides the normal behavior in which the URI determines which function
is called, allowing you to define your own function routing rules. |
//_remap() |
The function or ci
code to load a view. |
$this->load->view |
Version of PHP that
uses namespace support late static binding. |
5.3 |
The second URI
segment |
method |
The first URI
segment |
controller |
Year that PHP 3 was
released |
1998 |
The default file
extension for PHP file is ".php" |
True |
The third URI
Segment |
parameter |
Year that PHP was
officially called Personal Home Page Tools. |
1995 |
It is the
Presentation Layer of the MVC Architecture. |
View |
php.org is the
official php resource. |
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 |
What year did PHP
began its development |
1994 |
Andi Gutmans was
the inventor of PHP. |
False |
It is a URI
Component that serve as persistent, location-independent identifiers |
URN |
PHP runs on various
platforms operating system such as apache and IIS. |
False |
PHP 3 was released
in 1998. |
True |
PHP is one of the
most widely used and recognizable web technology used on the Internet. |
True |
Who is the inventor
of PHP? |
Rasmus Lerdorf |
PDO stands for
Personal Data Objects. |
False |
It is a URI
Component that locates the path or address. |
Web Address |
URN stands for? |
Uniform Resource Name |
Originally, PHP is
known as "Personal Home Pages" |
False |
PHP version
currently in use on most websites and included several new features such as
support for object-oriented programming. |
PHP 5 |
PHP version that
uses void return type, class constant visibility modifiers, null types. |
7.1 |
URI stands for? |
Uniform Resources Identifier |
The function or ci
code to show or call the client-side "non-existing page" error |
show_404() |
Version of PHP that
introduces the use of superglobals. |
4.1 |
It is the process
of redirecting or remapping a controller class or method. |
Routing |
The page that
displays a message that the requested page was not found. |
Error 404 |
What functionality
was added to PHP 5.1 as interface for accessing databases? |
PDO |
PHP version that
enabled the filter extension by default Native JSON default |
5.2 |
PHP development
began in 1995. |
False |
PHP is one of the
most widely used and recognizable web technology used on the Internet. |
True |
PHP version that
uses void return type, class constant visibility modifiers, null types. |
7.1 |
What is the meaning
of URL? |
Uniform Resource Locator |
PHP runs on various
platforms operating system such as apache and IIS. |
False |
Version of PHP that
uses namespace support late static binding. |
5.3 |
The second URI
segment |
method |
The function or ci
code to load a view. |
$this->load->view |
The controller's
$data["title"] variable will be delivered in a view as $title. |
True |
Query Builder class
method that inserts record on the database. |
$this->db->insert() |
|
|
This allows us to
collect data from the htm file and display to the php script. |
$_POST |
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 |
Can hold an
unlimited number of characters, and the text renders in a fixed-width font. |
TextArea |
CI method or code
that display/echo error messages when form_validation->run() returns
false. |
validation_errors() |
Symbol used to
combine 2 sting values to create one string. |
. |
Form Helper method
or code to return an HTML button. |
form_button() |
A variable declared
outside a function. |
Global |
PDO stands for
Personal Data Objects. |
False |
Andi Gutmans was
the inventor of PHP. |
False |
Defines a
multi-line text input control. |
//< textarea > tag |
Database group
configuration in CI is stored in a multi-dimensional array. |
True |
PHP 3 was released
in 1998. |
True |
Segment is the
process of redirecting or remapping a controller class or method. |
False |
Form Helper method
or code to return an HTML text input type. |
form_input() |
CI file directory
where the database configuration settings and database groups is found. |
Application/config/database.php |
Storage data in PHP |
variables |
CI method or code
to load the form validation library. |
$this->load->library('form_validation') |
PHP development
began in 1995. |
False |
The function or ci
code to load a view. |
$this->load->view |
Form Helper method
or code to return an HTML checkbox input type. |
form_checkbox() |
Meaning of URN |
Uniform Resource Name |
Meaning of URL. |
Uniform Resource Locator |
Controller is also
knows as the data access layer. |
False |
.htaccess file that
will automatically route the index.php next to the Controller |
True |
A variable declared
outside a function. |
Global |
CI method or code
to set a rule in form validation. |
$this->form_validation->set_rules() |
URI stands for? |
Uniform Resources Identifier |
Element can be
placed onto a web page in a pre-checked fashion by setting the checked
attribute. |
Checkbox |
Delimiter symbol
for rules in form validation. |
"|" or pipe symbol |
will be loaded by
the controller passing the returned data from the model. |
view |
This allows us to
collect data from the htm file and display to the php script. |
$_POST |
Form Helper method
or code to return an HTML password input type. |
form_password() |
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() |
Can hold an
unlimited number of characters, and the text renders in a fixed-width font. |
TextArea |
These are functions
which are passed to another function and takes this "other
function" as a parameter. |
callbacks |
Database
Normalization is the process of organizing records to minimize redundancy. |
True |
Self-survey
password reset (SSPR) is defined as any process or technology that allows
users who forgot their password authenticate their account and reset their
passwords without calling the help desk. |
False |
A Query is a
formatted result of database queries and contain useful data for decision
making and analysis |
False |
Database
Normalization is the process of organizing the columns/records or attributes and
tables of the database to minimize data redundancy. |
True |
Registration is an
activity of deleting user information on the database. |
False |
$this->db->insert_id()
inserts an id in the database. |
False |
Form helper class
helps us by returning formatted HTML form elements. |
True |
$that->db->insert_id()
function returns the auto incremented or last inserted id from the query. |
False |
Method that returns
a string containing any server messages, email header and email message. |
Print_debugger() |
We should subject a
user for approval on registration. |
True |
valid_email form
validation rule is used to check if an e-mail is valid or not. |
True |
matches form
validation rule checks 3 fields that should have an equal or same value. |
False |
Method that accepts
the email's title or heading text |
subject($subject) |
is_uniques form
validation rule checks if the input is unique from the table. |
False |
is_unique requires
table and field name as parameter. |
True |
Account
registration can be approved through activation link sent from user's email
or by an admin approval. |
True |
We should subject a
user for approval on registration. |
True |
bcc stands for
Black Carbon Copy |
False |
Account
registration can be approved through activation link sent from user's email
or by an admin approval. |
True |
SEARCH methods is
very useful on getting pieces of data, one at a time particularly on multiple
tables and databases. |
False |
File that will
automatically route the index.php next to the Controller |
.htaccess |
Organization that
sponsors CI |
Ellislab |
It can be said as
the entry point of application. |
controller |
Variables that can
be accessed anywhere on the web application because it is stored on the
browser session |
superglobal |
Function that fetch
the data as a single row array |
row_array() |
You can display the
error 404 page by using what function |
show_404() |
variables are
session variables that expires with a given time limit. |
tempdata |
Method will execute
codes once the class is created or instantiated. |
__construct |
What function can
be used to access session variables on webpages? |
session_start() |
Function that fetch
the data as a multi-dimentional array |
result_array() |
is_unique requires
table and field name as parameter. |
True |
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 |
variables that
store values but it can only contain strings and numbers |
constant |
¬¬function returns
the auto incremented or last inserted id from the query |
$this->db->insert_id() |
returns a string
containing any server messages, email header and the email message. |
$this->email->print_debugger() |
methods is very
useful on getting pieces of data, one at a time particularly on multiple
tables and databases |
look up |
formatted result of
database queries and contain useful data for decision making and analysis |
reports |
Name the
configuration file needed to set helper |
autoload config |
used as a function
library that we can just load to the controller or view. |
helper |
is the process of
organizing the columns/records or attributes and tables of the database to
minimize data redundancy. |
Database Normalization |
SSPR stands for |
Self-service password reset |
runs a back-end
database query and displays the information in organized and informational manner |
single report page |
functions that
accepts input parameters and returns an HTML input form element. |
form helper class |
encrypted email as
a key |
md5 |
application to help
the program perform small or simple task such as formatting a parameter,
computation or series of commands |
autoloaded |
are templates for
reports |
queries |
It is very useful
on web forms security against online bots, crawlers and spammers. |
CAPTCHA |
Database
Normalization is the process of organizing records to minimize redundancy. |
True |
Method that returns
a string containing any server messages, email header and email message. |
$this->email->print_debugger() |
We should subject a
user for approval on registration. |
True |
Method that accepts
the sender's email address |
from() |
Account
registration can be approved through activation link sent from user's email
or by an admin approval. |
True |
Database
Normalization is the process of organizing records to minimize redundancy. |
True |
Method that accepts
recipients that are not visible to the other recipients |
bcc() |
Registration is an
activity of deleting user information on the database. |
False |
We should subject a
user for approval on registration. |
True |
Account
registration can be approved through activation link sent from user's email
or by an admin approval. |
True |
Method that accepts
'secondary recipients' that receives the mail just to keep them informed |
$cc |
An input required
to verify the user's record existence in order to reset his/her password. |
Email Address |
Method that accepts
the email's title or heading text |
$subject |
It is any process
or technology that allows users who forgot their passwords authenticate and
reset the passwords of their account |
Self-service password reset |
Method that returns
a string containing any server messages, email header and email message. |
$this->email->print_debugger() |
valid_email form
validation rule is used to check if an e-mail is valid or not. |
True |
Method that accepts
the email's body or content |
$message |
$this->db->insert_id()
inserts an id in the database. |
True |
Method that
triggers the sending of email |
send() |
is_uniques form
validation rule checks if the input is unique from the table. |
False |
matches form
validation rule checks 3 fields that should have an equal or same value. |
False |
is_unique requires
table and field name as parameter. |
True |
Form helper class
helps us by returning formatted HTML form elements. |
True |
Method that accepts
the sender's email address |
from() |
Method that accepts
the recipient's email address |
to() |
It's a javascript
library that makes web scripting easier |
JQuery |
CodeIgniter's
Pagination class is very easy to use, but it is not 100% customizable, either
dynamically or via stored preferences. |
False |
What do you call a
structure made up of series of intersecting straight (vertical, horizontal
and angular) or curved guide lines used to structure content? |
grid |
A method under the
calendar library that will display the calendar |
generate() |
CodeIgniter
provides rich set of libraries for commonly needed tasks. |
True |
In shopping cart if
the quantity is set to negative value, the item will be removed from the
cart. |
True |
Which of the
following is correct from the given statement below: //$query -
$this->db->get('mytable'); //return
$query->result(); |
Select all records and return as
an array of objects |
Given the URL http://www.abc.com/student/record/201512345 State the following www.abc.com |
base_url |
What do you call variables
are just like session variables except it is only available on the next
request |
Flashdata |
In CodeIgniter the
Calendar class enables you to dynamically create calendars. |
False |
This refers to the
presentation layer |
View |
A cart library
method used to add item to the shopping cart. |
add() |
Web applications
that use the WebForm approach commingle Program Code and Page Design Code
only. |
False |
Which of the
following refers to the business logic |
Controller |
You can manually
remove the index.php in CodeIgniter by .htaccess file |
True |
In CI what does URI
stands for |
uniform resource identifier |
Creator of CI |
Ellislab |
Constructors are
useful if you need to set some default values, or run a default process when
your class is instantiated. |
False |
A cart library
method that returns the total amount |
total() |
Which of the
following do you think that is useful for searching? |
//$this->db->like() |
Which of the
following is correct from given the statement below: //$this->db->select('title,
content, date'); //$query -
$this->db->get('mytable'); //return
$query->result(); |
It will return only the given
fields title, content, and date of the records |
Given the URL http://www.abc.com/student/record/201512345 State the following record |
data (ex. id) |
CodeIgniter constants are
defined in what folder |
config |
Null keywords
should be written in |
Uppercase |
Function when
showing errors in CI page |
show_404 |
Given the URL http://www.abc.com/student/record/201512345 State the following 201512345 |
data (ex. id) |
This pattern allows
information to be retrieved, inserted, and updated in your database with
minimal scripting |
Query Builder |
Code Igniter Query
Builders (Active Records) allows safer queries. |
True |
The segment index
value for the controller. |
1 |
Variables that can
be accessed anywhere on the web application because it is stored on the
browser session |
superglobal |
If set to true, if
a file with the same name as the one you are uploading exists, it will be
overwritten. If set to false, a number will be appended to the filename if
another with the same name exists. |
overwrite |
A cart library
method that permits you to destroy the cart. |
destroy() |
A configuration
variables contain full URL to the controller class/function containing your
pagination |
base_url |
A cart library
method that displays the total number of items in the cart. |
total_items() |
In CodeIgniter the
validation system supports callforward to your own validation methods. |
False |
Function that
redirect to other pages. |
redirect |
An email preference
for mail sending protocol |
protocol |
It is used creates
a sliding down transition within a given time on a selected element |
//.slideUp(interval) //.slideRight(interval) //.slideDown(interval) //.toggle() |
To make a function
private, simply add an ________ as the name prefix and it will not be served
via a URL request. |
underscore |
Most web
application frameworks are based on the model-view-controller (MVC) pat tern. |
True |
This helper file
contains functions that assist in working with forms. |
Form |
When uploading file
the form must be of type "file". |
False |
File upload
directory should set its file permission to ____ |
777 |
Constructors do
return a value and they can do some default work. |
False |
A query method used
to returns the query result as an array of objects, or an empty array on
failure |
result() |
It is an
Application Development Framework - a toolkit - for people who build web
sites using PHP |
CodeIgniter |
A rule reference
that returns FALSE if the form element contains anything other than numeric
characters. |
numeric |
A rule reference
that returns FALSE if the form element is empty. |
required |
In file upload
you'll need a destination directory for your uploaded images. |
True |
A cart library
method used to update the information of a specific cart item. |
replace() |
CSS stands for |
Cascading Style Sheets |
This command is
used to get or set values from and to an input element particularly
textboxes. |
val() |
This command is
used to create a sliding down transition within a given time on a selected
element |
slideDown() |
This command is
used to show selected element(s) |
show() |
This command is
used to produce a fading out effect within a given time on a selected element |
fadeOut() |
A structure made up
of series of intersecting straight (vertical, horizontal and angular) or
curved guide lines used to structure content. |
Grid |
This command is
used creates a sliding up transition within a given time on a selected
element |
slideUp() |
This command is
used to get or set values from and to a non-input element like divs. |
text() |
This command is
used to create a sliding to the left transition within a given time on a
selected element |
slideLeft() |
Who first use the
term AJAX? |
Jesse James Garrett |
JQuery method used
to creates a sliding to the left transition within a given time on a selected
element |
.slideLeft(interval) |
We used the
base_url() function to return our domain or application path |
True |
.text() is used to
get or set values from and to a non-input element like divs. |
True |
jQuery is a java
library that makes web scripting easier for us. |
False |
In jQuery the scr
tag is use for linking. |
False |
DataTable jQuery
plugin helps us enable sorting, pagination and search to our table data. |
True |
It is used to get
or set values from and to an input element particularly textboxes. |
.val() |
Name the university
that created MaterialDesign CSS |
Carnegie Mellon University |
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 |
is a design
language or design convention for modern applications and website |
Material Design |
$(document).ready()
function calls if the browser contents has properly loaded its contents and
is browsing. |
True |
It helps us enable
sorting, pagination and search to our table data. |
DataTable jQuery plugin |
AJAX stands
for Asynchronous Java |
False |
AJAX engine is an
XMLHttpRequest object and jQuery makes it a lot more easier for us because of
its AJAX development API. |
True |
.vals() It is used
to get or set values from and to an input element particularly textboxes. |
False |
JQuery method used
to hide selected element(s) |
.hide() |
simply a new method
that we use to extend jQuery's prototype object |
jQuery Plugin |
javascript library
that makes web scripting easier for us |
jQuery |
It is the
horizontal dimension of the grid system that separate page contents line
after line. |
Rows |
It is the vertical
dimension of the grid system that hold the actual page contents and is
limited into 12s per line. |
Columns |
A structure made up
of series of intersecting straight (vertical, horizontal and angular) or
curved guide lines used to structure content. |
Grid |
This command is
used to toggle, switch or alternate the selected item's visibility: show and
hide |
.toggle() |
MaterializeCSS
class prefix for mobile devices. |
.s |
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 |
MaterializeCSS
class prefix for desktop or larger devices |
l |
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 |
No comments:
Post a Comment