You are on page 1of 17

Application Development and Emerging Technology

What functionality was added to PHP 5.1 as


PDO
interface for accessing databases?
The page that displays a message that the
Error 404
requested page was not found.
What is the meaning of URL? Uniform Resource Locator
PHP development began in 1995. False
php.org is the official php resource. False
Originally, PHP is known as "Personal Home
False
Pages"
PHP is one of the most widely used and
recognizable web technology used on the True
Internet.
The default file extension for PHP file is
True
".php"
PHP version that uses void return type, class
7.1
constant visibility modifiers, null types.
PHP runs on various platforms operating
False
system such as apache and IIS.
The function of ci code to return a URI
$this->uri->segment
segment
The first URI segment controller
It is the process of redirecting or remapping a
Routing
controller class or method.
Andi Gutmans was the inventor of PHP. False
Version of PHP that uses namespace
5.3
support late static binding. URN stands for?
URN stands for? Uniform Resource Name
PHP version currently in use on most
websites and included several new features
5
such as support for object-oriented
programming
What year did PHP began its development? 1994
Who is the inventor of PHP? Rasmus lerdorf
URI stands for? Uniform Resources Identifier
PDO stands for Personal Data Objects. False
Version of PHP that introduces the use of
4.1
superglobals.
Year that PHP was officially called Personal
1995
Home Page Tools.
It is a URI Component that locates the path
Web Address
or address.
Year that PHP 3 was released 1998
PHP version that enabled the filter extension
5.2
by default Native JSON default
CI file directory where autoload classes and Application/config/autoload.ph
functions are defined. p
CI method or code to load the form validation $this->load-
library. >library('form_validation')
Defines a multi-line text input control. //< textarea > tag
Query Builder class method that inserts
$this->db->insert()
record on the database.
Form Helper method or code to return an
form_radio()
HTML radio input type
CI function code to load the database class. $this->load->database();
The controller's $data["title"] variable will be
True
delivered in a view as $title.
Storage data in PHP variables
PHP varianbles start with what symbol? $
Query Builder or Active Record pattern in CI
replaces the traditional query string in php True
coding.
CI method or code to set a rule in form $this->form_validation-
validation. >set_rules()
row_array() fetch the data as a single row
and result_array() fetch the data as a multi- True
dimensional array.
Form Helper method or code to return an
form_password()
HTML password input type.
CI method or code to set an error message in $this->form_validation-
form validation. >set_message()
One of the main points of interaction between
a user and a web site or application. They HTML Forms
allow users to send data to the website.
Delimiter symbol for rules in form validation. "|" or pipe symbol
CI method or code that display/echo error
messages when form_validation->run() validation_errors()
returns false.
Define styles for your documents, including
the design, layout and variations in display CSS
for different devices and screen sizes.
A variable declared outside a function. Global
This allows us to collect data from the htm
$_POST
file and display to the php script.
CI file directory where the database
Application/config/database.ph
configuration settings and database groups is
p
found.
It is the Data Access Layer or Persistence
Model
Layer of the MVC Layered Architecture.
Area that can be specified by the cols and
rows attributes, or even better; through CSS' Textarea
height and width properties.
It is a line that is not read/executed as part of
comment
the program.
Form Helper method or code to return an
form_checkbox()
HTML checkbox input type.
_construct() method executes when a class
True
is created or instantiated.
Database group configuration in CI is stored
True
in a multi-dimensional array.
Form Helper method or code to return an
form_button()
HTML button.
Element can be placed onto a web page in a Checkbox
pre-checked fashion by setting the checked
attribute.
Form Helper method or code to return an
form_input()
HTML text input type.
CI uses Model-Viewable-Controller
False
architecture
To load the view, the function is like this:
True
$this->load->view('name');
Segment is the process of redirecting or
False
remapping a controller class or method.
CI, basically contains 4 main folders
False
Application, System, User, Help Guide
A variable declared within a function. Local
It is the Presentation Layer of the MVC
View
Architecture.
URI stands for Uniform Resource Identity False
Element represents a control that presents a
HTML select
menu of options.
Can hold an unlimited number of characters,
TextArea
and the text renders in a fixed-width font.
Meaning of URL. Uniform Resource Locator
Other term used for Option buttons? Radio Buttons
The function or ci code to load a view. $this->load->view
What do you call the 1st segment of the URI? Controller
CodeIgniter is developed PHP.org False
It is a configuration file that is used for
configuration of site-access issues, such as
.htaccess
URL redirect, URL shortening, Access-
security control.
Controller is also knows as the data access
False
layer.
It is a URI Component that serve as
URN
persistent, location-independent identifiers
These are functions which are passed to
another function and takes this "other Callbacks
function" as a parameter.
is the process of redirecting or remapping a
Routing
controller class or method.
URI is the historical name that serve as
persistent, location-independent identifiers
False
allowing the simple mapping of namespaces
into a single URN namespace
Symbol used to combine 2 sting values to
.
create one string.
.htaccess file that will automatically route the
True
index.php next to the Controller
Meaning of URN Uniform Resource Name
Data Access Layer or Persistence Layer of
Model
the MVC Layered Architecture.
PHP 3 was released in 1998. True
A vital part of a website or system UI
Forms
because it accepts inputs as data parameters
$this->db->insert_id() inserts an id in the
False
database.
Registration is an activity of deleting user
False
information on the database.
is_uniques form validation rule checks if the
False
input is unique from the table.
matches form validation rule checks 3 fields
False
that should have an equal or same value.
valid_email form validation rule is used to
True
check if an e-mail is valid or not.
Account registration can be approved
through activation link sent from user's email True
or by an admin approval.
Form helper class helps us by returning
True
formatted HTML form elements.
is_unique requires table and field name as
True
parameter.
We should subject a user for approval on
True
registration.
encrypted email as a key md5
It is very useful on web forms security
captcha
against online bots, crawlers and spammers.
variables that store values but it can only
constant
contain strings and numbers
functions that accepts input parameters and
form helper class
returns an HTML input form element.
methods is very useful on getting pieces of
data, one at a time particularly on multiple look up
tables and databases
is the process of organizing the
columns/records or attributes and tables of database normalization
the database to minimize data redundancy.
SSPR stands for self-service password reset
Name the configuration file needed to set
autoload config
helper
used as a function library that we can just
helper
load to the controller or view.
¬¬function returns the auto incremented or
$this->db->insert_id()
last inserted id from the query
application to help the program perform small
or simple task such as formatting a
single report page
parameter, computation or series of
commands
formatted result of database queries and
contain useful data for decision making and reports
analysis
are templates for reports queries
returns a string containing any server
messages, email header and the email $this->email->print_debugger()
message.
runs a back-end database query and
displays the information in organized and constant
informational manner
bcc stands for Black Carbon Copy False
$that->db->insert_id() function returns the
auto incremented or last inserted id from the False
query.
CodeIgniter allows us to send email in a neat
and simple way. We can load the email class True
by Declaring $this->load->library('email');
A Query is a formatted result of database
queries and contain useful data for decision False
making and analysis
variables are session variables that expires
tempdata
with a given time limit.
Organization that sponsors CI Ellislab
It can be said as the entry point of
Controller
application.
Variables that can be accessed anywhere on
the web application because it is stored on superglobal
the browser session
Function that fetch the data as a multi-
result_array()
dimentional array
File that will automatically route the
.htaccess
index.php next to the Controller
Method will execute codes once the class is
__construct
created or instantiated.
What function can be used to access session
session_start()
variables on webpages?
You can display the error 404 page by using
show_404()
what function
SEARCH methods is very useful on getting
pieces of data, one at a time particularly on False
multiple tables and databases.
Database Normalization is the process of
True
organizing records to minimize redundancy.
Self-survey password reset (SSPR) is
defined as any process or technology that
allows users who forgot their password False
authenticate their account and reset their
passwords without calling the help desk.
Database Normalization is the process of True
organizing the columns/records or attributes
and tables of the database to minimize data
redundancy.
A website layout that uses media queries to
change the site’s design for specified devices Adaptive layout
or window sizes.
An HTML5 standard that allows a web
application to be cached and available Appcache
offline.
A wireless technology networking protocol
Bluetooth
used to exchange data over short distances.
The idea of exposing to the end user the
change of data, provided the data is Data animation
changing quite a lot.
A sensor that measures the acceleration
(change in velocity) of an object in order to Accelerometer
determine movement of a mobile device.
A mobile platform-specific API that lets
applications access specific mobile hardware Device API
functionality.
A specification that defines the fifth major
HTML5
revision of HTML.
A mobile phone with internet access and
music playback that lacks the full functionality Feature phone
of a smartphone.
An instrument that measures the orientation
Gryoscope
of a device in order to orient display.
An application that duplicates the
functionality of hardware or operating Emulator
systems for testing purposes.
A wireless local area network that allows
smartphones, computers, and other devices wi-fi
to connect to the internet.
A network of physical objects embedded with
electronics, software, sensors, and
connectivity to enable it to achieve greater internet of things
value and service by exchanging data with
other connected devices.
Information that is delivered immediately
Real-time data
after collecting it without any delay.
A view that displays web pages within an
webview
application.
A feature for access control systems that
allows users to log in to (or log out of)
single ign-on(SSO)
multiple, independent software systems
using one set of credentials.
For mobile applications, this refers to
anything that encourages the user to stay stickiness
active in the app for a longer period of time.
A website layout based on a fluid grid,
allowing the site to have hundreds of
dynamically generated states with mostly responsive layout
minor differences based on browser window
size.
An abstraction layer that gives a non-
native bridge
application access to mobile device APIs.
A common XML-based open data format for security assertion markup
authentication. language(saml)
A development tool, sometimes including a
mobile middleware server, that builds hybrid
mobile application
or native apps for each mobile platform from
development platform(MADP)
a single codebase. IncludesMEAPs and
MCAPs.
A term to describe all aspects of the end
User Experience
user’s interaction with an application.
A set of programming tools and resources
built specifically to aid software development software developmentkit (SDK)
on a particular platform or technology.
A common open standard for authorization. Oauth
A term to describe the ways in which the end
user directly interacts with a device or User interface (UI)
application.
An application developed for use on small,
wireless devices such as tablets and mobile app
smartphones.
A component that packages a non-native app
native wrapper
so that it is viable for native distribution.
An architecture style that uses discrete service-oriented
software services (each with one clearly
defined business task) with well-defined,
loosely-coupled interfaces that are architecture(soa)
orchestrated to work as a complete system
by sharing functionality.
A mobile application that is written in a
programming language that is directly native app
compatible with the target platform.
A development process that works on a very
est-driven development(TDD)
short development cycle.
A text messaging service component of a
phone using standardized communication simple message service (SMS)
protocols to send short text messages.
A mobile application developed using web
web app
standards and accessed through a browser.
An operating system designed specifically to
mobile OS
run on mobile devices.
An HTML meta tag that tells the browser how
to behave when it renders the web page. The
viewport
viewport is also a term for the section of the
web page in view.
A mobile application written in HTML, CSS,
and JavaScript that uses a web-to-native
abstraction layer, allowing the application to hybrid app
access mobile device APIs that pure web
applications cannot access.
Short messages that mobile applications can
send to users even if the application isn’t Push notification
open.
$(document).ready() function calls if the
browser contents has properly loaded its False
contents and is browsing.
IDENTIFICATION: Name the university that
Carnegie Mellon University
created MaterialDesign CSS
DataTable jQuery plugin helps us enable
sorting, pagination and search to our table True
data.
.text() is used to get or set values from and to True
a non-input element like divs.
We used the base_url() function to return our
True
domain or application path
AJAX engine is an XMLHttpRequest object
and jQuery makes it a lot more easier for us True
because of its AJAX development API.
javascript library that makes web scripting
easier for us In jQuery the scr tag is use for jQuery
linking.
In jQuery the scr tag is use for linking. False
.vals() It is used to get or set values from and
False
to an input element particularly textboxes.
Successful - this will be triggered upon the
AJAX request and usually accepts the
False
parameter response response contains the
loaded content from the URL requested.
jQuery is a java library that makes web
False
scripting easier for us.
AJAX stands for Asynchronous Java False
Who first use the term AJAX? Jesse James Garrett
IDENTIFICATION: CSS stands for Cascading style sheets
Constructors do return a value and they can
False
do some default work.
This validation method permits you to set
set_rules
validation rules.
A configuration variables contain full URL to
the controller class/function containing your base_url
pagination
What do you call a structure made up of
series of intersecting straight (vertical,
grid
horizontal and angular) or curved guide lines
used to structure content?
A rule reference that returns FALSE if the
form element contains anything other than numeric
numeric characters.
A rule reference that returns FALSE if the is_unique
form element is not unique to the table and
field name in the parameter.
This helper file contains functions that assist
Form
in working with forms.
Which of the following do you think that is
//$this->db->like()
useful for searching?
This pattern allows information to be
retrieved, inserted, and updated in your Query Builder
database with minimal scripting
You can manually remove the index.php in
True
CodeIgniter by .htaccess file
This is used to emphasize a quote or citation
Blockquote
by putting a colored left border to the text
In file upload you'll need a destination
True
directory for your uploaded images.
It is used to get or set values from and to an
val
input element particularly textboxes.
In CodeIgniter the Calendar class enables
False
you to dynamically create calendars.
Code Igniter Query Builders (Active Records)
True
allows safer queries.
You cannot add a URL suffix in CodeIgniter. False
An email preference for mail sending protocol protocol
Function that redirect to other pages. redirect
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 overwrite
appended to the filename if another with the
same name exists.
Is a type of challenge-response test used in
computing to ensure that the response is not captcha
generated by a computer.
Constructors are useful if you need to set
some default values, or run a default process False
when your class is instantiated.
Given the URL
http://www.abc.com/student/record/20151234 controller
5 State the following student
To make a function private, simply add an
________ as the name prefix and it will not underscore
be served via a URL request.
CodeIgniter's Pagination class is very easy to
use, but it is not 100% customizable, either False
dynamically or via stored preferences.
Function when showing errors in CI page show_404
Variables that can be accessed anywhere on
the web application because it is stored on superglobal
the browser session
In order for the image class to be allowed to
do any processing, the folder containing the False
image files be write protected
A configuration variables that set number of
per_page
items you intend to show per page.
The default controller assigned to
CodeIgniter when first setup is set to Welcome
________.
It is used to produce a fading in effect within
fadeIn(interval)
a given time on a selected element
What file you need to edit so that a given
autoload.php
config file are automatically loaded.
The person that introduce MVC. Trygve Reenskaug
Ajax engine uses what type of object XMLHttpRequest
Permits you to set the value of an input form
set_value
or textarea and used in form validation.
Variables are session variables that expires
tempdata
with a given time limit.
How do you get the value of a config file item
//$this->config->load('author');
named 'author'.
This refers to the data access layer. Model
This method returns a single result row row()
Which of the following refers to the business
Controller
logic
CodeIgniter's Image Manipulation class lets
True
you perform Image Thumbnail Creation
A cart library method that permits you to
destroy()
destroy the cart.
Given the URL
http://www.abc.com/student/record/20151234 base_url
5 State the following www.abc.com
What do you call common functions or small
snippets of code used in every or most helpers
Information Systems
A cart library method that displays the total
total_items()
number of items in the cart.
What do you call variables are just like
session variables except it is only available Flashdata
on the next request
CodeIgniter's Image Manipulation class lets
False
you perform Image Watermaking.
It refers to the horizontal dimension of the
rows
grid system
The segment index value for the controller. 1
A method under the calendar library that will
generate()
display the calendar
This function will be called if the browser
contents has properly loaded its contents and //$(document).ready()
is ready.
Elements from a config.php file are only
False
locally accessible.
Given the URL
http://www.abc.com/student/record/20151234 data (ex. id)
5 State the following 201512345
It is an Application Development Framework
- a toolkit - for people who build web sites CodeIgniter
using PHP
CodeIgniter constants are defined in what
config
folder
In CodeIgniter the validation system supports
False
callforward to your own validation methods.
//$this->load-
Which is the right code for loading models
>model('model_name');
Which of the following has the correct syntax
//this->db->select();
of active records.
A query method used to returns the query
result as an array of objects, or an empty result()
array on failure
This permits you to extend the validation
Callbacks
class to meet your needs.
How many parameters does CAPCHA
3
requires
Which of the following statements will create
a form that points to your base URL plus the //form_open('x/y');
"x/y"
A cart library method that returns the total
total()
amount
Creator of CI Ellislab
It is a function that overrides the normal
behavior in which the URI determines which
//_remap()
function is called, allowing you to define your
own function routing rules.
This Class provides a means to retrieve
configuration preferences and it is Config
automatically initialized by the system.
MVC is a software architecture and
architectural. pattern used in software True
engineering
An algorithm that is used in security hashing
MD5
that transforms data into a 128 bit string
A rule reference that returns FALSE if the
required
form element is empty.
A configuration variables represents the total
rows in the result set you are creating total_rows
pagination for
It's a javascript library that makes web
JQuery
scripting easier
Runs the selection query and returns the
$this->db->get()
result.
When uploading file the form must be of type False
"file".
Which of the following is correct from the
//$this->db->limit(10);
given statement below:
This refers to the presentation layer View
Most web application frameworks are based
True
on the model-view-controller (MVC) pat tern.
Returns a validation error message from the
Form Validation Library, associated with the form_error()
specified field name
Web applications that use the WebForm
approach commingle Program Code and False
Page Design Code only.
A cart library method used to update the
update()
information of a specific cart item.
Null keywords should be written in Uppercase
Which of the following is correct from given
It will return only the given
the statement below: //$this->db->select('title,
fields title, content, and date of
content, date'); //$query = $this->db-
the records
>get('mytable'); //return $query->result();
CodeIgniter provides rich set of libraries for
True
commonly needed tasks.
In CI what does URI stands for uniform resource identifier
An upload helper method that returns an
array containing all of the data related to the data
file you uploaded.
In file upload the maximum size are set in
_________ that the file can be. Set to zero kilobytes
for no limit
This function retrieves the URL to your site,
along with the "index" value you've specified //$this->config->site_url();
in the config file.
Using custom routing rules, you have the
power to map any URI to any controller and
True
method, and break free from the normal
convention.
Given the URL method
http://www.abc.com/student/record/20151234
5 State the following record
In shopping cart if the quantity is set to
negative value, the item will be removed from True
the cart.
This wildcard type use to match a segment
(:num)
containing only numbers.
It is a software framework that is designed to
support the development of dynamic
Web Application Framework
websites, web applications, web services and
web resources.
File upload directory should set its file
777
permission to ____

You might also like