Application Development and Emerging Technology Source 43512
Application Development and Emerging Technology Source 43512
QUIZ 1
app dev
-Routing
What functionality was added to PHP 5.1 as interface for accessing databases?
- $this->load->view
PHP is one of the most widely used and recognizable web technology used on the Internet.
-True
-False
-1998
-parameter
-URN
The function or ci code to show or call the client-side "non-existing page" error
-show()_404
-True
-False
PHP version that uses void return type, class constant visibility modifiers, null types.
- 7.1
- 4.1.0
-Web Address
-controller
-view
The page that displays a message that the requested page was not found.
-error 404
-Rasmus Lerdorf
It is a configuration file that is used for configuration of site-access issues, such as URL redirect, URL
shortening, Access-security control.
-.htpaccess (wrong)
-httptaccess (wrong)
-.htaccess(ata)
PHP version that enabled the filter extension by default Native JSON default
- 5.2.0
-1994
-False
-False
PHP runs on various platforms operating system such as apache and IIS.
-False
PHP is one of the most widely used and recognizable web technology used on the Internet.
-True
PHP version currently in use on most websites and included several new features such as support for
object-oriented programming.
-PHP 5.6
-PHP 5.3.0
Year that PHP was officially called Personal Home Page Tools.
-1994 (wrong)
-method
QUIZ 2!
-form_radio()
- ..
It is the Data Access Layer or Persistence Layer of the MVC Layered Architecture.
Select one:
-Model
CI method or code to set a rule in form validation.
-$this->form_validation->set_rules()
-Global
This allows us to collect data from the htm file and display to the php script.
- $_POST
These are functions which are passed to another function and takes this "other function" as a parameter.
-callbacks
Area that can be specified by the cols and rows attributes, or even better; through CSS' height and width
properties.
-TextArea
-form_checkbox()
-form_button()
PRELIM!
variables are just like session variables except it is only available on the next request.
-Flashdata
-False
HTML is a requirement in Code igniter
-True
-False
These are functions which are passed to another function and takes this "other function" as a parameter.
-callbacks
-$
- form_input()
-variables
row_array() fetch the data as a single row and result_array() fetch the data as a multi-dimensional array.
-True
-False
-form_password()
CI function code to load a Model class.
-False
It is the Data Access Layer or Persistence Layer of the MVC Layered Architecture.
-Model
-comment
CI method or code that display/echo error messages when form_validation->run() returns false.
-validation_errors()
-True
-$this->load->library('form_validation')
-controller
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.
-HTML Forms
To load the view, the function is like this: $this->load->view('name');
-True
CI file directory where the database configuration settings and database groups is found.
-Application/config/database.php
Define styles for your documents, including the design, layout and variations in display for different
devices and screen sizes.
-CSS
-Radio
URI is the historical name that serve as persistent, location-independent identifiers allowing the simple
mapping of namespaces into a single URN namespace
-False
-$this->uri->segment
QUIZ 3!
-message ()
Account registration can be approved through activation link sent from user's email or by an admin
approval.
-True
matches form validation rule checks 3 fields that should have an equal or same value.
-False
-subject () (wrong)
-message()(wrong)
-set_header()(wrong)
-cc(wrong)
-bcc (wrong)
It is any process or technology that allows users who forgot their passwords authenticate and reset the
passwords of their account
-Forgot password
-True
-False
-True
is_uniques form validation rule checks if the input is unique from the table.
-False
Method that returns a string containing any server messages, email header and email message.
-print_debugger()
-send()
-True
Method that accepts 'secondary recipients' that receives the mail just to keep them informed
-cc()
-from()
An input required to verify the user's record existence in order to reset his/her password.
-email address
-True
-True
-False
Method that accepts the recipient's email address
-to()
Method that accepts recipients that are not visible to the other recipients
-bcc()
QUIZ 4!
variables that store values but it can only contain strings and numbers
-constant
is the process of organizing the columns/records or attributes and tables of the database to minimize
data redundancy.
-Normalization
methods is very useful on getting pieces of data, one at a time particularly on multiple tables and
databases
-Look Up
used as a function library that we can just load to the controller or view.
-helper
It is very useful on web forms security against online bots, crawlers and spammers.
-CAPTCHA
-Queries
runs a back-end database query and displays the information in organized and informational manner
application to help the program perform small or simple task such as formatting a parameter,
computation or series of commands
-autoloaded
functions that accepts input parameters and returns an HTML input form element.
function returns the auto incremented or last inserted id from the query
-$this->db->insert_id()
-autoload config
formatted result of database queries and contain useful data for decision making and analysis
-reports
returns a string containing any server messages, email header and the email message.
-$this->email->print_debugger()
-md5
MIDTERM!
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
-False
-Ellislab
variables are session variables that expires with a given time limit.
-Tempdata
Variables that can be accessed anywhere on the web application because it is stored on the browser
session
-superglobal
- _construct
-row_array()
-result_array()
-session_start()
File that will automatically route the index.php next to the Controller
-.htaccess
It can be said as the entry point of application.
-controller
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
A Query is a formatted result of database queries and contain useful data for decision making and
analysis
-False
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.
-False
QUIZ 5!
This command is used to create a sliding down transition within a given time on a selected element
-slideDown()
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 produce a fading out effect within a given time on a selected element
-fadeOut()
A materializeCSS class that extends up to 100% of the browser's width to hold page contents.
-container-fluid
This command is used to toggle, switch or alternate the selected item's visibility: show and hide
-toggle()
A grid layout that is used for static website designs because it has fixed/distributed column sizes.
-Fixed
This command is used to get or set values from and to a non-input element like divs.
-text()
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 produce a fading in effect within a given time on a selected element
-fadeIn()
It is the vertical dimension of the grid system that hold the actual page contents and is limited into 12s
per line.
-column
This command is used to get or set values from and to an input element particularly textboxes.
-val()
-hide()
It is the horizontal dimension of the grid system that separate page contents line after line.
-row
-m
- l (wrong)
-l12(wrong)
-hide()
This command is used to create a sliding to the left transition within a given time on a selected element
-slideLeft()
-s
-show()
This command is used creates a sliding up transition within a given time on a selected element
-slideUp()
A grid layout that adapts or resize columns depending on the device screen size.
-Fluid
This command is used creates a sliding right transition within a given time on a selected element
-slideRight()
QUIZ 6!
jQuery is a java library that makes web scripting easier for us.
-False
JQuery method used to creates a sliding to the left transition within a given time on a selected element
.slideLeft(interval)
-True
AJAX engine is an XMLHttpRequest object and jQuery makes it a lot more easier for us because of its
AJAX development API.
-True
-False
-Material Design
$(document).ready() function calls if the browser contents has properly loaded its contents and is
browsing.
-False
IDENTIFICATION: It is used to get or set values from and to an input element particularly textboxes.
- .val()
-False
-jQuery plugin
DataTable jQuery plugin helps us enable sorting, pagination and search to our table data.
-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
-jQuery
.text() is used to get or set values from and to a non-input element like divs.
-True
IDENTIFICATION: It helps us enable sorting, pagination and search to our table data.
-DataTable jQuery
.vals() It is used to get or set values from and to an input element particularly textboxes.
-False
- .hide()
DataTable jQuery plugin helps us enable sorting, pagination and search to our table data.
-True
FINALS!
-False
This function will be called if the browser contents has properly loaded its contents and is ready.
-//$(document).ready()
-Model
A configuration variables contain full URL to the controller class/function containing your pagination
-base_url
-View
Constructors are useful if you need to set some default values, or run a default process when your class
is instantiated.
-False
Function when showing errors in CI page
-show_404
-redirect
This Class provides a means to retrieve configuration preferences and it is automatically initialized by the
system.
-Config
- 777
It is an Application Development Framework - a toolkit - for people who build web sites using PHP
-CodeIgniter
CodeIgniter's Pagination class is very easy to use, but it is not 100% customizable, either dynamically or
via stored preferences.
-False
-count_all()
This is used to emphasize a quote or citation by putting a colored left border to the text
-Blockquote
Returns a validation error message from the Form Validation Library, associated with the specified field
name
- form_error()
Web applications that use the WebForm approach commingle Program Code and Page Design Code only.
-False
- rowed
-False
-required
A rule reference that returns FALSE if the form element is not unique to the table and field name in the
parameter.
- is_unique
-destroy()
-3
record
-Query Builder
It is a software framework that is designed to support the development of dynamic websites, web
applications, web services and web resources.
-(:num)
This function retrieves the URL to your site, along with the "index" value you've specified in the config
file.
- //$this->config->site_url();
-False
-//$this->load->model('model_name');
In file upload you'll need a destination directory for your uploaded images.
-True
CodeIgniter's Image Manipulation class lets you perform Image Thumbnail Creation
-True
A configuration variables that set number of items you intend to show per page.
-per_page
This permits you to extend the validation class to meet your needs.
-Callbacks
//$this->db->limit(10);
An algorithm that is used in security hashing that transforms data into a 128 bit string
-MD5
How do you get the value of a config file item named 'author'.
- //$this->config->load('author');
Permits you to set the value of an input form or textarea and used in form validation.
- set_value
-fadeIn(interval)
-True
- set_rules
-False
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()
-//$this->db->like()
A cart library method that displays the total number of items in the cart.
-total_items()
-False
In file upload the maximum size are set in _________ that the file can be. Set to zero for no limit
-kilobytes
A method under the calendar library that will display the calendar
-generate()
-False
A rule reference that returns FALSE if the form element contains anything other than numeric characters.
- numeric
//$query = $this->db->get('mytable');
//return $query->result();
Using custom routing rules, you have the power to map any URI to any controller and method, and break
free from the normal convention.
-True
//$query = $this->db->get('mytable');
//return $query->result();
- It will return only the given fields title, content, and date of the records
www.abc.com
-base_url
student
-controller
In CodeIgniter the validation system supports callforward to your own validation methods.
-False
Creator of CI
-Ellislab
Is a type of challenge-response test used in computing to ensure that the response is not generated by a
computer.
-captcha
A query method used to returns the query result as an array of objects, or an empty array on failure
-result()
This helper file contains functions that assist in working with forms.
-Form
It is used creates a sliding down transition within a given time on a selected element
- //.slideUp(interval) (wrong)
- //.toggle() (wrong)
-Trygve Reenskaug
-True
In order for the image class to be allowed to do any processing, the folder containing the image files be
write protected
-False
-uppercase
What do you call common functions or small snippets of code used in every or most Information Systems
-helpers
In shopping cart if the quantity is set to negative value, the item will be removed from the cart.
-True
Similarly to the form_error() function, returns all validation error messages produced by the Form
Validation Library.
-validation_errors()
A configuration variables represents the total rows in the result set you are creating pagination for
-total_rows
-insert() (wrong)
-input(wrong)
-add(wrong)
-config
-protocol
201512345
-data (ex.id)
The default controller assigned to CodeIgniter when first setup is set to ________.
-Welcome
-XMLHttpRequest
-Controller
-True
A rule reference that returns FALSE if the form element does not match the one in the parameter.
-matches
A cart library method used to update the information of a specific cart item.
-update()
- row()
This helper file contains functions that assist in working with URLs.
-URL
What file you need to edit so that a given config file are automatically loaded.
-autoload.php
//this->db->select();
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
Most web application frameworks are based on the model-view-controller (MVC) pat tern.
-True
-True
-total()
-1
To make a function private, simply add an ________ as the name prefix and it will not be served via a
URL request.
-underscore
-$this->db->get()
An upload helper method that returns an array containing all of the data related to the file you
uploaded.
-data
-row (wrong)
-grid_rows (wrong)
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
-jQuery
Which of the following statements will create a form that points to your base URL plus the "x/y"
-//form_open('x/y');
-add()