CIT 382 Midterm Review (quick facts/buzzwords from ch 2-6)

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

for loop

A JavaScript function for repeating computations

QUOTA_EXCEEDED_ERROR

A constant that corresponds to the error, when the quota for local storage is objected

$.mobile.changePage()

A jQuery Mobile method to change the control to another page

extended operators

Abbreviation of operations such as x = x + y as x + = y

data-role = button

An <a> element can be made to look like a button using this data-role attribute value, provided by jQuery Mobile

<!DOCTYPE>

An HTML5 tag to tell the type of the document

<br>

An HTML5 tag used to add a line break in an HTML document

Boolean algebra

An algebra that is used to operate on values that are either true or false

data-icon

An attribute that is used to specify how a button will appear, provided by jQuery Mobile

ftp

File Transfer Protocol for transmitting files on the internet

Anonymous JavaScript functions

Functions with no name that are passed to a number of event methods such as button clicks or form submits

special symbols

HTML5 defines special code to include special characters such as &deg; used in the Temperature conversion app

<legend>

HTML5 tag to define a caption for <fieldset> elements

<fieldset>

HTML5 tag to include related radio buttons

http

HyperText Transfer Protocol for transmitting web pages on the internet

data-role

JQuery-specific attribute for the <div> tag that allows us to specify specific roles such as page, footer, header, footer, content

JSON

JavaScript Object Notation for storing JavaScript objects in a name/value pair

High-level languages

Languages that use English-like words for computer programming. They need to be translated to the binary languages before they can be run on a device.

Variable

Memory location in a program to store value that is used in computations

onload

Property of <body> element that is used to specify the function that will be executed when the web page is loaded

Web server

Refers to a computer or a software that provides access to web pages over the internet

scp

Secure Copy Protocol, a secure alternative to ftp

password

This is an input type that is used to accept text that should be secret, which will not be displayed as it is being typed. Only a dot appears when a character is entered.

getElementById

a JavaScript function to access an HTML5 element using its id attribute value

localStorage.setItem()

a JavaScript function to add or replace an item in localStorage

localStorage.getItem()

a JavaScript function to retrieve an item in localStorage

addEventListener()

a JavaScript function to specify actions when an event takes place for an HTML5 element

JQuery Mobile

a JavaScript library that simplifies mobile app programming

Array object

a JavaScript object to store a sequence of values

Date object

a JavaScript object type that stores dates

click()

a Method that is called when a button is clicked

panel-body

a class that is used to contain the body of a panel

panel-heading

a class that is used to contain the header of a panel

JSON.stringify()

a method for converting a JSON object to a string

JSON.parse()

a method for converting a string to JSON format

html()

a method to add html code to an HTML5 element such as a <div> section or <table>

splice()

a method to add or delete elements from an array

append()

a method to append html code to an HTML5 element

button('refresh')

a method to make a button visible. We can also use it to change the control to the page which contains the button

attr()

a method to set attributes of an HTML5 element

submit()

a method to submit a form element

<sup> </sup>

a pair of HTML5 tags that are used to display a superscript in an HTML document

<p> </p>

a pair of HTML5 tags that enclose a paragraph in an HTML document

<body> </body>

a pair of HTML5 tags that enclose the body section of an HTML document

<html> </html>

a pair of HTML5 tags that enclose the head section of an HTML document

<script> </script>

a pair of HTML5 tags to include a script (program) in the web page

<input> </input>

a pair of HTML5 tags to include widgets that facilitate input from the user

<button> </button>

a pair of HTML5 tags to produce a button in a web page

<label> </label>

a pair of HTML5 tags to produce a label in a web page, usually associated with a widget

<small> </small<

a pair of HTML5 tags to reduce the font size of enclosed text

<a> . . . </a>

a pair of HTML5 tags used to include a hyperlink to other web resources

Function

a program snippet that performs a particular task

JavaScript

a programming language popularly used for web programming

secure ftp

a secure alternative to ftp

localStorage

an HTML5 facility to save up to 5MB of information on a device

class

an attribute for an HTML5 element that is used in a CSS file to define a particular look and feel

data-close-btn

an attribute of <div> section with data-role = "page", provided by jQuery Mobile. When set to "none", the user cannot close the page. We used it so that the user cannot get out of a page without accepting the disclaimer

data-iconpos

an attribute that can be used to specify where the icon for the element will appear such as "left", right", "top", "bottom", or "notext", provided by jQuery Mobile

data-mini

an attribute that can be used to tell if the element should appear smaller on mobile devices, provided by jQuery Mobile

data-inline

an attribute that is used when you want multiple buttons to appear side by side, provided by jQuery Mobile

id

an attribute used in conjunction with a number of HTML5 elements to uniquely identify the element

conditional expression

an expression whose value depends on whether a condition is true or false

Shortcut on desktop/home screen

an icon on a device's desktop/home screen that can be tapped to directly access the web page

Math object

an object in JavaScript that has useful properties and methods for complex mathematical computations such as Math.PI or Math.cos()

exception handling using try/catch

an object-oriented approach for handling errors/exceptional situtations

data-role field

contains jQuery convention to assign a data-role to a <div> element to wrap a number of related form fields

High-level languages

language that use English-like words for computer programming

Boolean operators

operations on Boolean values such as || (or), && (and), ! (not)

increment and decrement operators

operators ++ and - to increment or decrement the values of a variable

comparison operators

operators to compare the values of variables such as ==, !=, <=, >=, <, >.

Compiled programs

programs that are translated once and translated copy is run many times

Interpreted programs

programs that are translated one instruction at a time every time they are run

Client-side programming

programs that run on the user (client) device

Server-side programming

programs that run on the web server

Widget

refers to various elements in the web page such as buttons, text boxes, or sliders

HTML tags

special instructions in angled brackets to the browser to display a web page

panel type

this attribute is used to specify how a panel will appear. the possible values include panel-primary, panel-info, panel-success, panel-warning, and panel-danger

panel

this is a class for the <div> section provided by Bootstrap that is used to put contents in a box

Bootstrap

this is an open source collection of tools containing templates for a number of user interface components including forms, buttons, navigation widgets, and aesthetically pleasing typography

HTML5

version 5 of HyperText Markup Language


Ensembles d'études connexes

SIE missed simulated exam questions (day before)

View Set

Relevant Costs for Decision Making

View Set