All Sets - Pub II

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

__________ begins a single-line comment

//

Assume that the size of the base font on a system is 12 points. How big is 36-point font in ems? How big is a 9-point font in ems? How big is a 24-point font in picas? How big is a 12-point font in inches? How big is a 1-inch font in picas?

3 ems 0.75 ems 2 picas 1/6 inch 6 picas

The __________ pseudo-class is activated when the user moves the mouse cursor over the specified element

:hover

For the element being animated, the _________ defines the element's properties that will change during the animation, the values to which those properties will change, and when they'll change

@keyframes rule

To begin a block of styles that applies only to the print media type, you use the declaration __________print, followed by an opening curly brace ({)

@media

The __________ was the predecessor to the Internet

ARPANET

__________ is a smartphone operating system based on the Linux kernel and Java

Android

The company that popularized personal computing was ________________

Apple

Calculations are normally performed by __________ operators

Arthmetic

__________ is a type of computer language that uses Englishlike abbreviations for machine-language instructions.

Assembly Language

What type of computer language uses Englishlike abbreviations for machine-language instructions?

Assembly language

__________ are usually used as masking characters in a password box

Asterisks

The __________ attribute can be used on input types to automatically fill in the user's information based on previous input

Auto Complete

The information-carrying capacity of a communications medium like the internet is called __________

Bandwidth

__________ initially became widely known as the development language of the UNIX operating system

C

The __________ programming language was development by Bjarne Stroustrup in the early 1980s at Bell Laboratories

C++

Browsers often __________ webs pages for quick reloading

Cache

__________ are used to document a script and improve its readability

Comments

The programs that translate high-level language programs into machine language are called __________

Compilers

Identify and correct the errors: if(c=>7) window.alert("c is equal to or greater than 7");

Error: The relational operator => is incorrect. Correction: Change => to >=

Identify and correct the errors: if(c<7); window.alert("c is less than 7");

Error: there should not be a semicolon after the right parenthesis of the condition in the if statement Correction: Remove the semicolon after the right parenthesis

(T/F) Hyperlinks are denoted by link elements

False Hyperlinks are denoted by a elements

(T/F) The width of all data cells in a table must be the same

False, You can specify the width of any column, either in pixels or as a percentage of the table width

(T/F) You're limited to a maximum of five internal links per page

False, you can have an unlimited number of internal links

A web server maintains a database of hostnames and their corresponding IP addresses, and performs the translations automatically

False. A Domain Name System (DNS) server maintains a database of hostnames and their corresponding IP addresses, and performs the translations automatically

(T/F) A horizontal gradient gradually changes from top to bottom

False. A horizontal gradient gradually changes from left to right

(T/F) An ordered list cannot be nested inside an unordered list

False. An ordered list can be nested inside an unordered list and vice versa

(T/F) The expression ( x > y && a < b) is true if either x > y is true or a < b is true

False. Both of the relational expressions must be true for the entire expression to be true when using the && operator

Keeping page styling together with the page content and structure enables you to easily change the look and feel of the pages on an entire website, or portion of a website

False. By separating page styling from page content and structure, you can change the look and feel of the pages on an entire website, or a portion of a website, simply by swapping out one style sheet for another

(T/F) Comments cause the computer to print the text after the // on the screen when the script

False. Comments do not cause any action to be performed when the script is executed. They're used to document scripts and improve their readability

(T/F) Method parseInt converts an integer to a string

False. Function parseInt converts a string to an integer value

(T/F) HTML5 (HyperText Markup Language 5) is a high-level language designed to specify the content and structure of web pages in a portable manner

False. HTML is a markup language

(T/F) HTML 5 can validate whether an e-mail address entered by the user actually exists

False. HTML5 does not validate whether an email exists, rather it just validates that the information is in the proper format

(T/F) JavaScript considers the variables number and NuMbEr to be identical

False. JavaScript is case sensitive, so these variables are distinct

(T/F) The @font-face rule specifies that an embedded font will be used when the document is rendered on a computer screen

False. The @media screen rule specifies that an embedded font will be used when the document is rendered on a computer

(T/F) The highlight element enables you to highlight text

False. The HTML element represents highlighted text

(T/F) To add multiple background images to an element, use the background-position to specify where each image is places using the box model

False. The background-orgin specifies where each image is placed using the box model

(T/F) The break statement is required in the last case of a switch selection statement

False. The break statement is used to exit the switch statement. The break statement is not required for the last case in a switch statement

(T/F) The default case is required in the switch selection statement

False. The default case is optional. If no default action is needed, then there's no need for a default case.

(T/F) The caption element provides a caption for the image in a figure element

False. The figcaption element provides a caption for the image in the figure element

(T/F) The header element may be used only one time on a page

False. The header element may be used multiple times on a page and often includes HTML headings (<h1> through <h6>)

(T/F) HTML 5 self validates the tel input type

False. The length and format of telephone numbers varies greatly based on location, making validation quite complex, so HTML5 does not self validate the tel input. To ensure that the user enters a phone number in a proper format, we use the pattern attribute

(T/F) The nav element displays a drop down menu of hyperlinks

False. The nav element groups navigation links

(T/F) The arithmetic operators *, /, %, + and - all have the same level of precedence

False. The operators *,/, and % are on the same level of precedence, and the operators + and - are on a lower level of precedence

(T/F) Any particular HTML5 form input types must render identically in every HTML5-complant browser

False. The rendering of input types can vary among browsers

(T/F) The details element displays a right-pointing arrow next to a summary or caption when the document is rendered in a browser . When clicked, the arrow points downward and reveals the content in the summary element

False. The summary element displays a right pointing arrow next to summary or caption when the document is rendered in the browser. When clicked, the arrow points downward and reveals the content in the summary element.

(T/F) When the focus is placed in the text field (i.e., the cursor is in the text field), the placeholder text is submitted to the server

False. When the focus is placed in the text field, the placeholder text disappears. It's not "submitted" when the user clicks the Submit Button (unless the user types the same text)

(T/F) You can add lines between columns using the column-gap property

False. You can add lines between columns using the column-rule property

You might use the brk to prevent awkward word breaks

False. You might use the wbr to prevent awkward word breaks

The __________ element provides a caption for the image in the figure element

Figcaption

The Web 2.0 company _________ is the fast growing company ever

Groupon

The color input type enables the user to enter a color. At the time of this writing, most browsers render the color input type as a text field in which the user can enter a ______________

Hexadecimal code

The level of computer language at which it's most convenient for you to write programs quickly and easily is __________

High-Level Languages

__________ languages are most convenient to the programmer for writing programs quickly and easily.

High-level

__________ is the standard for transferring encrypted data on the web

Hypertext Transfer Protocol Secure (HTTPS)

An __________ is a numerical value that uniquely identifies the server on the Internet

IP (Internet Protocol) addresses

__________ is now used to develop large-scale enterprise applications, to enhance the functionality of web servers, to provide applications for consumer devices and for many other purposes

JAVA

__________ is a JavaScript library the simplifies JavaScript programming by making it easier to manipulate a web page's elements and interact with servers in portable manner across various web browsers

JQuery

__________ words are reserved for use by JavaScript

Keywords

The only language a computer can directly understand is that computer's __________

Machine Language

The only language that a computer directly understands is called that computer's __________

Machine Language

The process of analyzing and designing a system from an object-oriented point of view is called __________

Object-oriented analysis and design (OOAD)

__________ are reusable software components that model items in the real world

Objects

With __________ development, individuals and companies contribute their efforts in developing, maintaining and evolving software in exchange for the right to use that software for their own purposes, typically at no charge

Open-source

Computers process data under the control of sets of instructions called computer __________________

Programs

CSS3 includes two new ways to express color- __________ and __________

RGBA and HSLA

The __________ input type is inherently self-validating when it's rendered by the browser as a slider control, because the user is unable to move the slider outside the bounds of the minimum or maximum value

Range

Every JavaScript statement should end with a(n) __________

Semicolon (;)

When it's not known in advance how many times a set of statements will be repeated, a(n) __________ (or a(n) __________ , ___________ or __________) value can be used to terminate the repetition

Sentinel, signal, flag or dummy

All scripts ca the written in terms of three types of control statements: ___________ , ___________ and __________

Sequence, selection, and repetition

__________, or labeling content, is another key part of the collaborative theme of Web 2.0

Tagging

(T/F) The @media rule determines the type and size of device on which the page is rendered. When the browser looks at the rule, the result is either true or false. The rule's styles are applied only if the result is false

The @media rule's styles are applied only if the result is true

__________ founded an organization--called the World Wide Web Consortium (W2C)--devoted to developing non-proprietary, interoperable technologies for the World Wide Web

Tim Berners-Lee

The acronym TCP/IP stands for __________

Transmission Control Protocol/Internet Protocol

(T/F) An expression containing the II operator is true if either or both of its operands is true

True

(T/F) Browsers that render the color input type as a text field require the user to enter a color name

True

(T/F) Element br represents a line break

True

(T/F) If the user enters an improperly formatted URL in url input type, it will not validate. HTML5 does not validate that the URL entered actually exists

True

(T/F) The footer element describes content that usually appears at the bottom on the content or section element

True

(T/F) The nav elements can be nested in an aside element

True

(T/F) The new HTML 5 input types are self validating on the client side, eliminating the need to add complicated scripts to your forms to validate user input and reducing the amount of invalid data submitted

True

(T/F) The range input type is inherently self-validating when it's rendered by the browser as a slider control, because the user is unable to move the slider outside the bounds of the minimum or maximum value

True

(T/F) The remainder operator (%) can be used only with numeric operands

True

(T/F) The time element enables you to identify a date, a time, or both

True

(T/F) When a user enters data into a form then submits the form (typically, by clicking the submit button), the browser immediately checks that the data is correct

True

(T/F) You can add required to any of the input types

True

(T/F) You can enable autocomplete only for specific input elements

True

(T/F) You can use gradients in any property that accepts an image

True

(T/F) You do not need to include autofocus in your forms

True

___________ identify resources on the internet

URIs (Uniform Resource Identifiers)

The __________ allows computer users to locate and view multimedia-based documents on almost any subject over the Internet

World Wide Web

Write a statement or comment to accomplish each of the following tasks: a. State that a script will calculate the product of three integers b. Declare the variables x,y,z and result c. Declare the variables xVal,yVal, and zVal d. Prompt the user to enter the first value, and read the value from the user and store it in the variable xVal e. Prompt the user to enter the first value, and read the value from the user and store it in the variable yVal f.Prompt the user to enter the first value, and read the value from the user and store it in the variable zVal g. Convert the string xVal to an integer, and store the result in the variable x h.Convert the string yVal to an integer, and store the result in the variable y i.Convert the string zVal to an integer, and store the result in the variable z j. Compute the product of the three integers contained in variables x,y, and z, and assign the result to the variable result k.Write a line of HTML5 text containing the string "The product is " following by the value of the variable result.

a. //Calculate the product of three integers b. var x,y,z,result; c. var xVal,yVal,zVal d. xVal=window.prompt("Enter first integer: ","0"); e. yVal=window.prompt("Enter second integer: ", "0"); f. zVal=window.prompt("Enter third integer: ", "0"); g. x=parseInt(xVal); h. y=parseInt(yVal); i. z=parseInt(zVal); j. result = x*y*z; k. document.writeln("<h1>The product is " + result + "</h1>");

Method ___________ of object __________ displays a dialog with a message to the user

alert of object window

Web 2.0 embraces an __________--a design that encourages user interaction and community contributions

architecture of participation

The __________ element describes content that's separate from the main content of the page and could potentially be used or distributed elsewhere, such as a news article, forum post, or blog entry

article

The size, shape, color, and weight of an object are considered __________ of the object's class

attributes

The __________ attribute -- used in a single input element on a form -- automatically highlights the input element and, if appropriate, places the cursor in the text field after the browser loads and renders the page

autofocus attribute

The __________ divides the image into nine regions: four corners, four sides, and a middle, which is transparent unless otherwise specified

border-image-slice

The __________ property allows you to add rounded corners to any element

border-radius

In object-oriented programming languages, we create __________ to house the set of methods that perform tasks

classes

_________ is the concept that a large, diverse group of people create smart ideas

collective intelligence

To apply a CSS rule to more than one element at a time, separate the element names with a(n) ___________

comma

Repeating a set of instructions a specific number of times is called __________ repetition

counter controlled

The __________ element provides input options for a text input element

datalist

The summary element displays a right-pointing arrow next to a summary or caption when the document is rendered in a browser. When clicked, the arrow points downward and reveals the content in the __________ element

details

Write JavaScript statement: Output a line of HTML5 text that will display the message "This is JavaScript" in the HTML5 document

document.writeln("This is JavaScript");

The __________ element describes the text that usually appears at the bottom of the content or bottom of a section element

footer

The least significant heading element is __________ and the most significant heading element is ___________

h6, h1

The mark element enables you to

highlights parts of text

The __________ defines the number of pixels that the box-shadow will appear to the left of the right of the box

horizontal offset

The __________ element inserts a horizontal rule

hr

The __________operating system is used in the iPhone, iPad, and iPod Touch devices

iOS

A JavaScript statement that makes a decision is the ___________ statement

if

The __________ statement is used to make decisions

if

Write JavaScript statement: If the variable number is not equal to 7, display "The variable number is not equal to 7" in a message dialog

if (number !=7) window.alert("The variable number is not equal to 7");

The __________ double-selection statement is used to execute one action when a condition is true and another action when that condition is false

if...else

Objects have the property of _____________ -- although objects may know how to communicate with one another across well-defined interfaces, they normally are not allowed to know how other objects are implemente

information hiding

With _________, new classes of objects are derived by absorbing characteristics of existing classes, then adding unique characteristics of their own

inheritance

The animation-timing-function determines how the animation progresses in one cycle of its duration. Possible values include __________, __________, __________, __________, and __________

linear, ease, ease-in, ease-out, ease-in-out, cubic-bezier

Using the ___________ element allows you to use external style sheets in your pages

link

The __________ input type enables the user to enter a numerical value

number

Setting the ___________ property to scroll provides a mechanism for creating scrollable content without compromising an element's dimensions

overflow

Element __________ marks up a paragrapgh

p

The three components of the box model are the __________ , __________ and __________.

padding, border, margin

The __________ attribute allows you to place temporary text in a text field

placeholder

The process of instructing the computer to solve a problem is __________

programming

A dialog capable of receiving input from the user is displayed with method __________ of object

prompt of object window

__________ are similar to linear gradients, but the color changes gradually from an inner circle (the start) to an outer circle (the end)

radial gradients

Pixels are a(n) __________ -length measurement unit

relative

Setting property background-repeat to _________ tiles the specified background-image vertically

repeat-y

The __________ attribute forces the user to enter a value before submitting the form

required

__________ consist of one or more selectors followed by a declaration block in curly braces ( {} )

rules

In CSS3, you can use __________ to easily style attributes

selectors

The new HTML5 input types are _____ on the client slide

self-validating

CSS3 _________ allow you to move, rotate, scale, and skew elements

transformations

__________ is a generic inline element that applies no inherent formatting, and __________ is a generic block-level element that applies no inherent formatting

span, div

The _________ control is typically displayed for the number input type and includes only the valid numbers

spinner

If you want to bypass validation, you can add the formnovalidate attribute to input type __________

submit

A superscript is marked up using the __________ the element, and a subscript is marked up using the _________ element

sup, sub

The property allows you to indent the first line of text in an element

text-indent

The __________ property makes it easy to add a text shadow effect to any text

text-shadow

The __________ input enables the user to enter an hour, minute, second and fraction of second

time

The __________ element marks up a table row

tr

__________ are similar in concept to animations, but they allow you to specify only the starting and ending values of the CSS properties being changed. An animation's keyframes enable you to control intermediate states throughout the animation's duration

transitions

The __________ attribute in an input element inserts a button that, when clicked, resets the contents of the form

type = "reset"

Element __________ marks up an unordered list

ul

Write JavaScript statement: Display a dialog asking the user to enter an integer. Show a default value of 0 in the dialog

value = window.prompt("Enter an integer" , "0");

Write JavaScript statement: Convert a string to an integer, and store the converted value in variable age. Assume that the string is stored in stringValue

var age = parseInt(stringValue);

Write JavaScript statement: Declare variables c, thisIsAVariable, q76354 and number

var c, thisIsAVariable, q76354, number;

The __________ element indicates the appropriate place to break a word when the text wraps to multiple lines

wbr

The __________ object displays alert dialogs and prompt dialogs

window

Methods __________ and __________ of the __________ object write HTML5 text into an HTML5 document

write, writeln, document

Write four JavaScript statements that each add 1 variable x, which contains a number

x = x+1; x +=1; x++; ++x;


Kaugnay na mga set ng pag-aaral

NCLEX - PN End - of - Life - Care

View Set

Chapter 30: Basic Pediatric Nursing Care

View Set