Pages

UGRD-ITE6200 Application Development and Emerging Technology

 


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

PDO

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

Error 404

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 Pages"

False

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

True

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

True

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

7.1

PHP runs on various platforms operating system such as apache and IIS.

False

The function of ci code to return a URI segment

$this->uri->segment

The first URI segment

controller

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

Routing

Andi Gutmans was the inventor of PHP.

False

Version of PHP that uses namespace support late static binding. URN stands for?

5.3

URN stands for?

Uniform Resource Name

PHP version currently in use on most websites and included several new features such as support for object-oriented programming

5

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 superglobals.

4.1

Year that PHP was officially called Personal Home Page Tools.

1995

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

Web Address

Year that PHP 3 was released

1998

PHP version that enabled the filter extension by default Native JSON default

5.2

CI file directory where autoload classes and functions are defined.

Application/config/autoload.php

CI method or code to load the form validation library.

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

Defines a multi-line text input control.

//< textarea > tag

Query Builder class method that inserts record on the database.

$this->db->insert()

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

form_radio()

CI function code to load the database class.

$this->load->database();

The controller's $data["title"] variable will be delivered in a view as $title.

True

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 coding.

True

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

$this->form_validation->set_rules()

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

True

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

form_password()

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

$this->form_validation->set_message()

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

Delimiter symbol for rules in form validation.

"|" or pipe symbol

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

validation_errors()

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

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

It is the Data Access Layer or Persistence Layer of the MVC Layered Architecture.

Model

Area that can be specified by the cols and rows attributes, or even better; through CSS' height and width properties.

Textarea

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

comment

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

form_checkbox()

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

True

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

True

Form Helper method or code to return an HTML button.

form_button()

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

Checkbox

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

form_input()

CI uses Model-Viewable-Controller architecture

False

To load the view, the function is like this: $this->load->view('name');

True

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

False

CI, basically contains 4 main folders Application, System, User, Help Guide

False

A variable declared within a function.

Local

It is the Presentation Layer of the MVC Architecture.

View

URI stands for Uniform Resource Identity

False

Element represents a control that presents a menu of options.

HTML select

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

TextArea

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 URL redirect, URL shortening, Access-security control.

.htaccess

Controller is also knows as the data access layer.

False

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

URN

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

Callbacks

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

Routing

URI is the historical name that serve as persistent, location-independent identifiers allowing the simple mapping of namespaces into a single URN namespace

False

Symbol used to combine 2 sting values to create one string.

.

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

True

Meaning of URN

Uniform Resource Name

Data Access Layer or Persistence Layer of the MVC Layered Architecture.

Model

PHP 3 was released in 1998.

True

A vital part of a website or system UI because it accepts inputs as data parameters

Forms

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

False

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

False

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

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

True

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

True

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

True

is_unique requires table and field name as parameter.

True

We should subject a user for approval on registration.

True

encrypted email as a key

md5

It is very useful on web forms security against online bots, crawlers and spammers.

captcha

variables that store values but it can only contain strings and numbers

constant

functions that accepts input parameters and returns an HTML input form element.

form helper class

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

look up

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

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

¬¬function returns the auto incremented or last inserted id from the query

$this->db->insert_id()

application to help the program perform small or simple task such as formatting a parameter, computation or series of commands

single report page

formatted result of database queries and contain useful data for decision making and analysis

reports

are templates for reports

queries

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

$this->email->print_debugger()

runs a back-end database query and displays the information in organized and informational manner

constant

bcc stands for Black Carbon Copy

False

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

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

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

False

variables are session variables that expires with a given time limit.

tempdata

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 multi-dimentional array

result_array()

File that will automatically route the index.php next to the Controller

.htaccess

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()

You can display the error 404 page by using what function

show_404()

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

False

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

Database Normalization is the process of organizing the columns/records or attributes and tables of the database to minimize data redundancy.

True

A website layout that uses media queries to change the site’s design for specified devices or window sizes.

Adaptive layout

An HTML5 standard that allows a web application to be cached and available offline.

Appcache

A wireless technology networking protocol used to exchange data over short distances.

Bluetooth

The idea of exposing to the end user the change of data, provided the data is changing quite a lot.

Data animation

A sensor that measures the acceleration (change in velocity) of an object in order to determine movement of a mobile device.

Accelerometer

A mobile platform-specific API that lets applications access specific mobile hardware functionality.

Device API

A specification that defines the fifth major revision of HTML.

HTML5

A mobile phone with internet access and music playback that lacks the full functionality of a smartphone.

Feature phone

An instrument that measures the orientation of a device in order to orient display.

Gryoscope

An application that duplicates the functionality of hardware or operating systems for testing purposes.

Emulator

A wireless local area network that allows smartphones, computers, and other devices to connect to the internet.

wi-fi

A network of physical objects embedded with electronics, software, sensors, and connectivity to enable it to achieve greater value and service by exchanging data with other connected devices.

internet of things

Information that is delivered immediately after collecting it without any delay.

Real-time data

A view that displays web pages within an application.

webview

A feature for access control systems that allows users to log in to (or log out of) multiple, independent software systems using one set of credentials.

single ign-on(SSO)

For mobile applications, this refers to anything that encourages the user to stay active in the app for a longer period of time.

stickiness

A website layout based on a fluid grid, allowing the site to have hundreds of dynamically generated states with mostly minor differences based on browser window size.

responsive layout

An abstraction layer that gives a non-application access to mobile device APIs.

native bridge

A common XML-based open data format for authentication.

security assertion markup language(saml)

A development tool, sometimes including a mobile middleware server, that builds hybrid or native apps for each mobile platform from a single codebase. IncludesMEAPs and MCAPs.

mobile application development platform(MADP)

A term to describe all aspects of the end user’s interaction with an application.

User Experience

A set of programming tools and resources built specifically to aid software development on a particular platform or technology.

software developmentkit (SDK)

A common open standard for authorization.

Oauth

A term to describe the ways in which the end user directly interacts with a device or application.

User interface (UI)

An application developed for use on small, wireless devices such as tablets and smartphones.

mobile app

A component that packages a non-native app so that it is viable for native distribution.

native wrapper

An architecture style that uses discrete software services (each with one clearly defined business task) with well-defined, loosely-coupled interfaces that are orchestrated to work as a complete system by sharing functionality.

service-oriented architecture(soa)

A mobile application that is written in a programming language that is directly compatible with the target platform.

native app

A development process that works on a very short development cycle.

est-driven development(TDD)

A text messaging service component of a phone using standardized communication protocols to send short text messages.

simple message service (SMS)

A mobile application developed using web standards and accessed through a browser.

web app

An operating system designed specifically to run on mobile devices.

mobile OS

An HTML meta tag that tells the browser how to behave when it renders the web page. The viewport is also a term for the section of the web page in view.

viewport

A mobile application written in HTML, CSS, and JavaScript that uses a web-to-native abstraction layer, allowing the application to access mobile device APIs that pure web applications cannot access.

hybrid app

Short messages that mobile applications can send to users even if the application isn’t open.

Push notification

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

False

IDENTIFICATION: Name the university that created MaterialDesign CSS

Carnegie Mellon University

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

True

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

True

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

True

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

True

javascript library that makes web scripting easier for us In jQuery the scr tag is use for linking.

jQuery

In jQuery the scr tag is use for linking.

False

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

False

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 is a java library that makes web scripting easier for us.

False

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 do some default work.

False

This validation method permits you to set validation rules.

set_rules

A configuration variables contain full URL to the controller class/function containing your pagination

base_url

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 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 not unique to the table and field name in the parameter.

is_unique

This helper file contains functions that assist in working with forms.

Form

Which of the following do you think that is useful for searching?

//$this->db->like()

This pattern allows information to be retrieved, inserted, and updated in your database with minimal scripting

Query Builder

You can manually remove the index.php in CodeIgniter by .htaccess file

True

This is used to emphasize a quote or citation by putting a colored left border to the text

Blockquote

In file upload you'll need a destination directory for your uploaded images.

True

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

val

In CodeIgniter the Calendar class enables you to dynamically create calendars.

False

Code Igniter Query Builders (Active Records) allows safer queries.

True

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 appended to the filename if another with the same name exists.

overwrite

Is a type of challenge-response test used in computing to ensure that the response is not generated by a computer.

captcha

Constructors are useful if you need to set some default values, or run a default process when your class is instantiated.

False

Given the URL http://www.abc.com/student/record/201512345 State the following student

controller

To make a function private, simply add an ________ as the name prefix and it will not be served via a URL request.

underscore

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

False

Function when showing errors in CI page

show_404

Variables that can be accessed anywhere on the web application because it is stored on the browser session

superglobal

In order for the image class to be allowed to do any processing, the folder containing the image files be write protected

False

A configuration variables that set number of items you intend to show per page.

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 a given time on a selected element

fadeIn(interval)

What file you need to edit so that a given config file are automatically loaded.

autoload.php

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 or textarea and used in form validation.

set_value

Variables are session variables that expires with a given time limit.

tempdata

How do you get the value of a config file item named 'author'.

//$this->config->load('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 logic

Controller

CodeIgniter's Image Manipulation class lets you perform Image Thumbnail Creation

True

A cart library method that permits you to destroy the cart.

destroy()

Given the URL http://www.abc.com/student/record/201512345 State the following www.abc.com

base_url

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

helpers

A cart library method that displays the total number of items in the cart.

total_items()

What do you call variables are just like session variables except it is only available on the next request

Flashdata

CodeIgniter's Image Manipulation class lets you perform Image Watermaking.

False

It refers to the horizontal dimension of the grid system

rows

The segment index value for the controller.

1

A method under the calendar library that will display the calendar

generate()

This function will be called if the browser contents has properly loaded its contents and is ready.

//$(document).ready()

Elements from a config.php file are only locally accessible.

False

Given the URL http://www.abc.com/student/record/201512345 State the following 201512345

data (ex. id)

It is an Application Development Framework - a toolkit - for people who build web sites using PHP

CodeIgniter

CodeIgniter constants are defined in what folder

config

In CodeIgniter the validation system supports callforward to your own validation methods.

False

Which is the right code for loading models

//$this->load->model('model_name');

Which of the following has the correct syntax of active records.

//this->db->select();

A query method used to returns the query result as an array of objects, or an empty array on failure

result()

This permits you to extend the validation class to meet your needs.

Callbacks

How many parameters does CAPCHA requires

3

Which of the following statements will create a form that points to your base URL plus the "x/y"

//form_open('x/y');

A cart library method that returns the total amount

total()

Creator of CI

Ellislab

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 Class provides a means to retrieve configuration preferences and it is automatically initialized by the system.

Config

MVC is a software architecture and architectural. pattern used in software engineering

True

An algorithm that is used in security hashing that transforms data into a 128 bit string

MD5

A rule reference that returns FALSE if the form element is empty.

required

A configuration variables represents the total rows in the result set you are creating pagination for

total_rows

It's a javascript library that makes web scripting easier

JQuery

Runs the selection query and returns the result.

$this->db->get()

When uploading file the form must be of type "file".

False

Which of the following is correct from the given statement below:

//$this->db->limit(10);

This refers to the presentation layer

View

Most web application frameworks are based on the model-view-controller (MVC) pat tern.

True

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

A cart library method used to update the information of a specific cart item.

update()

Null keywords should be written in

Uppercase

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

CodeIgniter provides rich set of libraries for commonly needed tasks.

True

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 file you uploaded.

data

In file upload the maximum size are set in _________ that the file can be. Set to zero for no limit

kilobytes

This function retrieves the URL to your site, along with the "index" value you've specified in the config file.

//$this->config->site_url();

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

Given the URL http://www.abc.com/student/record/201512345 State the following record

method

In shopping cart if the quantity is set to negative value, the item will be removed from the cart.

True

This wildcard type use to match a segment containing only numbers.

(:num)

It is a software framework that is designed to support the development of dynamic websites, web applications, web services and web resources.

Web Application Framework

File upload directory should set its file permission to ____

777

 

 


No comments:

Post a Comment

Data Communications and Networking 3

  In case a router is powered on, where will the router first search for a valid IOS image to load by default? flash memo...