HTML Tutorial 9

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

timed interval

A way to time JavaScript commands; instructs browsers to run the same command repeatedly at a specified interval; are applied using the setInterval() method

function

A _______________ is a collection of commands that performs an action or returns a value.

Boolean variable

Can hold only one of two values—true or false; Note that if no value is assigned to this variable, it is interpreted as having a value of false.

case sensitive

Distinguishing upper- and lowercase characters; With JavaScript you must pay attention to whether or not the letters of a JavaScript command are capitalized.

​object-based language

JavaScript _______ __________ that manipulates an object by changing one or more of its properties or by applying a method that affects the object's behavior within the web page or web browser.

Math.CONSTANT

The syntax to access mathematical constants is ______________ (supported by the Math object)

Math.ceil(x)

This method rounds x up to the next highest integer. For example, _______.______(3.58) returns 4.

Web based programming

______ __________ comes in two main types: server-side programming and client-side programming.

interpreted language

_________ ______ means that the program code is executed directly without requiring an application known as a compiler to translate the code into machine language. JavaScript is an example

Parameters

__________ are treated as variables within the function​

parseFloat(string)

​Identify a function that extracts the first numeric value from the text string.

script

​JavaScript code is attached to an HTML file using the _____ element; The __________ element can be placed anywhere within the HTML document.

object collections

​Objects are organized into groups called _____.

element.innerHTML

​The HTML code that is stored within a page element can be referenced using the following innerHTML property: _________.____________ where element is an object reference to an element within the web document.

defer

​The _____ attribute can be applied to the script element to ensure that an object can be referenced within a JavaScript program that runs only after the page has completed loading.

async

​The _____ attribute tells a browser to parse the HTML and JavaScript code together, only pausing to process the script before returning to the HTML file.

​textContent

​The _____ property should be used only when no markup tags are involved.

backslash

​To break a text string into several lines, which means that the text string continues on the next line, the _____ character should be used.

Debugging

​_____ is the process of locating and fixing a programming error.

JavaScript

​_____ is the programming language for client-side programs.

​Client-side

​_____ programming distributes the load to prevent a server from getting overloaded with program-related requests.

text string

A(n) _____ is any group of characters enclosed within either double or single quotation marks in JavaScript

new Date("month day, year hrs:mins:secs");

Date objects are defined using this expression.

return

For a function to provide a value, it must conclude with a _____________ statement

NaN

Not a Number

breakpoints

The technique for locating the source of an error is to set up _____, which are locations where the browser will pause the program, allowing the programmer to determine the error at that position.

logical error

​A _____ _____ is free from syntax and executable mistakes, but results in an incorrect result, such as the wrong name being returned from a database or an incorrect value being returned from a calculation.

run-time error

​A _____ ________occurs after a script has been successfully loaded with no syntax errors and is being executed by a browser.

semicolon

​A command that indicates an action for the browser to take should end with a _____.

src

​A user can create an embedded script by removing the _____ attribute and placing all of the JavaScript code within the script element.

object

​A video embedded on a web page is a(n) _____ and has properties such as source of the video file or the width and height of the video player.

variable

​A(n) _____ is a named item in a program that stores a data value, such as a number or text string, or an object, such as a part of the web browser or browser window; the first character must be either a letter or an underscore character ( _ ).

strict mode

​Developers advocate that JavaScript be run in _____ in which all lapses in syntax result in load-time or run-time errors.


संबंधित स्टडी सेट्स

Chapter 4- States Of Consciousness Quiz Review

View Set

Chapter 6: Table 6-1 - Warning Signs of Melanoma

View Set

Concepts of clinical decision making module 3 - Urinary

View Set

System Software (Operating System)

View Set

Quiz 3: Project Management Process Groups

View Set

Unit 6 - Communication with Clients

View Set