Application Development and Emerging Technology Complete Key Answers
Application Development and Emerging Technology Complete Key Answers
Prelims:
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.1
Originally, PHP is known as “Personal Home Pages”
Answer: False
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
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
Answer: False
Hooks – The files in this folder provide a means to
tap into and modify the inner workings of the
framework without hacking the core files.
Answer: True
CodeIgniter is based on the Model-View-Controller
(MVC) development pattern.
Answer: True
The helpeme folder contains standard CodeIgniter
helpers (such as date, cookie, and URL helpers).
Answer: False
Model- This folder contains CodeIgniter’s core class.
Do not modify anything here. All of your work will
take place in the application folder.
Answer: False
Midterms:
Answer: False
IDENTIFICATION: __________ Method that accepts
the recipient’s email address
Answer: to()
is_unique requires table and field name as
parameter.
Answer: True
valid_email form validation rule is used to check if
an e-mail is valid or not.
Answer: True
matches form validation rule checks 3 fields that
should have an equal or same value.
Answer: False
is_uniques form validation rule checks if the input is
unique from the table.
Answer: False
IDENTIFICATION: __________ Method that accepts
the sender’s email address
Answer: from()
Answer: False
We can load the email class by:
declaring $this-> retrieve->library(‘email’);
Answer: False
You can declare your own session variable on the
$_SESSION superglobal.
Answer: True
When you no longer need the session variable you
have set, you can remove it by using $this->session-
>unset_userdata()
Answer: True
Flashinfo are session variables that are only
available until the next request.
Answer: False
SSL is defined as any process or technology that
allows users who forgot their password
authenticate their account and reset their
passwords without falling the help des
Answer: False
Answer: True
Matching Type. Choose the correct answer from the
selection.
variables are session variables that expires with a
given time limit.
Answer: Tempdata
Variables that can be accessed anywhere on the
web application because it is stored on the browser
session
Answer: superglobal
What function can be used to access session
variables on webpages?
Answer: session_start()
It can be said as the entry point of application.
Answer: Controller
Function that fetch the data as a multi-dimentional
array
Answer: result_array()
Answer: False
$(document).ready() function calls if the browser
contents has properly loaded its contents and is
browsing.
Answer: False
IDENTIFICATION: It helps us enable sorting,
pagination and search to our table data.
Answer: DataTable jQuery
CAPTCHA uses randomly generated text on an
image which users type to confirm
Answer: True
A report module is typically a front-end web page
that contains various figures of interpreted database
table records.
Answer: False
To avoid repetitive function declarations on
controllers and modules, we should use Helper
classes.
Answer: True
Answer: True
CAPTCHA is very useful on web forms security
against online bots, crawlers and spammers
Answer: True
Constants are like variables that store values but it
can only contain strings and numbers
Answer: True
CodeIgniter constants are defined in
application/viewer/constants.php
Answer: False
HTML Helper is a codeigniter 3 helper class
Answer: True
A Queries is a formatted result of database queries
and contain useful data for decision making and
analysis.
Answer: False
A query module contains a form that will pass
parameters to the controller suggesting on how you
want the data to be showed
Answer: True
The helper is used as a function library that we can
just load to the controller or view
Answer: True
Sessions in native PHP are the “superglobal”
variables that can be accessed anywhere on the
web application because it is stored on the browser
session.
Answer: True
Log In modules are needed to limit users from
accessing off-limits and restricted webpages or
content
Answer: False
You can declare your own session variable on the
$_SESSION superglobal
Answer: True
A query module contains a form that will pass
parameters to the controller suggesting on how you
want the data to be showed.
Answer: True
A report module is typically a back-end web page
that contains various figures of interpreted
database table records.
Answer: True
To avoid repetitive function declarations on
controllers and modules, we should use Look up
method classes.
Answer: False
The helper libraries all located in system/controller.
After loading the helper class to be used, its
functions is ready to be used.
Answer: False
To avoid repetitive function declarations on
controllers and modules, we should use Helper
classes
Answer: True
Constants are like variables that store values but it
can only contain strings and numbers.
Answer: True
Log In modules are needed to limit users from
accessing off-limits and restricted webpages or
content.
Answer: False
Model (the module) are templates for reports.
Queries
Answer: False
Database Synchronization is the process of
organizing the columns/records or attributes and
tables of the database to minimize data redundancy.
Answer: True
CodeIgniter constants are defined in
application/config/controller.php.
Answer: False
.CAPTCHAIt is very useful on web forms security
against online bots, crawlers and spammers.
Answer: True
Finals:
Answer: Container-fluid
IDENTIFICATION: _____ This command is used to
create a sliding to the left transition within a given
time on a selected element
Answer: slideLeft()
IDENTIFICATION: _____ MaterializeCSS class prefix
for mobile devices.
Answer: s
IDENTIFICATION: _____ This command is used to
create a sliding down transition within a given time
on a selected element
Answer: slideDown()
IDENTIFICATION: _____ MaterializeCSS class prefix
for desktop or larger devices
Answer: i
IDENTIFICATION: _____ A grid layout that is used for
static website designs because it has
fixed/distributed column sizes.
Answer: Fixed layout
Answer: data
This Class provides a means to retrieve
configuration preferences and it is automatically
initialized by the system.
Answer: Config
It is a software framework that is designed to
support the development of dynamic websites, web
applications, web services and web resources.
Answer: Web Application Framework
In file upload you’ll need a destination directory for
your uploaded images.
Answer: True
You cannot add a URL suffix in CodeIgniter.
Answer: False
An email preference for mail sending protocol
Answer: protocol
What do you call a structure made up of series of
intersecting straight (vertical, horizontal and
Answer: JQuery
A configuration variables contain full URL to the
controller class/function containing your pagination
Answer: base_url
It is an Application Development Framework – a
toolkit – for people who build web sites using PHP
Answer: CodeIgniter
A cart library method that displays the total number
of items in the cart.
Answer: total_items()
In CodeIgniter the Calendar class enables you to
dynamically create calendars.
Answer: False
This pattern allows information to be retrieved,
inserted, and updated in your database with
minimal scripting
Answer: Query Builder
Answer: False
A query method used to returns the query result as
an array of objects, or an empty array on failure
Answer: result()
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();
Answer: It will return only the given fields title,
content, and date of the records
This function retrieves the URL to your site, along
with the “index” value you’ve specified in the config
file.
Answer: //$this->config->site_url();
Code Igniter Query Builders (Active Records) allows
safer queries.
Answer: True
Answer: numeric
What do you call variables are just like session
variables except it is only available on the next
request
Answer: Flashdata
You can manually remove the index.php in
CodeIgniter by .htaccess file
Answer: True
A configuration variables represents the total rows
in the result set you are creating pagination for
Answer: total_rows
The default controller assigned to CodeIgniter when
first setup is set to ________.
Answer: Welcome
What do you call common functions or small
snippets of code used in every or most Information
Systems
Answer: helpers
Answer: True
IDENTIFICATION: CSS stands for
Answer: Cascading Style Sheets
Every CSS Framework has each unique style and
some of them offer Material Design.
Answer: True
The Material Design codenamed is Quantum void
Answer: False
Material Design Was developed by Yahoo in 2014
and designed by Matias Duarte
Answer: False
According to MaterializeCSS’ documentation, we
should include the Google Material Icon font for our
fontsusing its CDN and the materializecss’ css file.
Answer: True
HTML framework are pre-prepared website
components styling that is used to create web
design with standards-compliant features that is
built on Cascading Style Sheets(CSS).
Answer: False
jQuery is a javascript library that makes web
scripting easier for us.
Answer: True
.text()
It is used to get or set values from and to a non-
input element like divs.
Answer: True
Before a specific jQuery action execute, we call the
Event Handlers to trigger the action.
Answer: True
Model design is a design language or design
convention for modern applications and websites.
Answer: False
Columns are used to separate page contents, line
after line horizontally.
Answer: False
A graph, defined by Wikipedia as “a structure made
up of series of intersecting straight (vertical,
Answer: False
Flow text is a responsive text class that change the
text size depending on the screen size
Answer: True
Material Design is know for a flat design.
Answer: False
Helper classes are used to assist in providing some
common functionality
Answer: True
Add the responsive-table class to the table element
tag to make the table horizontally scrollable on
small screen widths
Answer: True
The most popular CSS Frameworks are Bootstrap
and Foundation.
Answer: True
Floats specify an element on where to place, either
using left or right classes accordingly
Answer: True