answers, 100% Accurate. VERIFIED.
What is the term for a piece of data that is to be operated upon or manipulated in some manner? - ✔✔-
Operand
Kwan is using JavaScript extensively to add interactivity to his Web site.
Contained within his script is a counter object that calculates a date based on a number input by the
user.
Which term describes the action that Kwan's counter object performs? - ✔✔-Method
Which JavaScript event occurs when the mouse pointer leaves from a link, image or other visible
element on the page? - ✔✔-mouseout
Which JavaScript object can trigger the onerror event handler? - ✔✔-image
Which JavaScript object can be affec ted by the onchange event handler as value changes? - ✔✔-select
Which JavaScript object can be affected by the onabort event handler ? - ✔✔-image
Which JavaScript event handler runs when a user closes a browser window ? - ✔✔-onunload
Which JavaScript even t handler is triggered when a user clicks her mouse button outside of a particular
field after typing input there? - ✔✔-onblur
Nevine wants to improve her JavaScript program's efficiency and scalability by defining her own
processes, or functions. Why are functions such an integral part of writing JavaScript code? - ✔✔-
Because they perform specific tasks repeatedly throughout your program, as needed
1 / 2
alert("Good morning, " + prompt("What is your name?", "") + "!"); - ✔✔-It concatenates two methods to
displ ay a message, then request and capture user input.
Which of the following methods returns a value in the form of a text string ? - ✔✔-prompt()
When you define a named function in JavaScript, you must begin the function block with what? - ✔✔-
The keyword fu nction followed by the function name
What is the basic code you would need to define a named function that returns a value? - ✔✔-function
myFunction() { return value; }
When you load a page containing your JavaScript code into a browser, how can you ensure that your
functions will be available before any user event can occur that might call a function? - ✔✔-Define all
your functions in the <head> section of your HTML page .
What will occur if you define all your functions in the <body> section of your HTML page? - ✔✔-The
functions will load when the browser reaches the script point in the page or when the appropriate user
event occurs.
You are creating user -defined functi ons in your JavaScript code. What must you include immediately
after each function name? - ✔✔-Parentheses ( ) that encompass the arguments to be used in the
function
What is a user -defined function? - ✔✔-A named set of statements that performs a task or c alculates a
value
What is the term for a script block that transfers program execution to a subroutine, procedure or
another function? - ✔✔-Calling statement
When you define a named function in JavaScript, you begin the function block with the keyword fu nction
followed by the function name. The rest of the statements that form the function must be enclosed in: -
✔✔-curly brace { } characters. Powered by TCPDF (www.tcpdf.org)
2 / 2