Question: can any one pleaseeeee answer this questions dont skip 31. After the statement that follows is executed, rateText represents var rateText = document.getElementById(rate); a. the

can any one pleaseeeee answer this questions dont skip

31. After the statement that follows is executed, rateText represents var rateText = document.getElementById("rate"); a. the string that was entered in the HTML element with rate as its id attribute b. the HTML element with rate as its id attribute c. the value that was entered in the HTML element with rate as its id attribute 32. When the statement that follows is executed, JavaScript var rate = parseFloat(document.getElementById("rate").value); a. executes the getElementById method, executes the value method of the resulting object, and executes the parseFloat method on that value b. executes the getElementById method, gets the value property of the resulting object, and executes the parseFloat method on that value c. executes the parseFloat method, executes the getElementById method, and executes the value method of the resulting object d. executes the parseFloat method, executes the getElementById method, and gets the value property of the resulting object

33. The following code var display_error = function ( message ) { alert("Error: " + message); } a. creates a function named display_error. b. creates a function and stores it in a variable named display_error. c. creates a function named message. d. calls a function named message.

34. After the statements that follow are executed, guest contains var guest = "Ray Harris"; var quest = guest.substr(0,3).toUpperCase(); a. "Ray Harris" c. "Ray" b. "RAY Harris" d. "RAY"

Code example A var add = function( x, y ) { return ( x + y ); } alert( add (5, 3) ); 35. (Refer to code example A) The function in this example a. accepts 2 parameters and returns 2 values. b. accepts 2 parameters and returns 1 value. c. accepts 2 parameters and does not return a value. d. does not accept a parameter and returns 1 value. 36. (Refer to code example A) The alert method in this example a. displays a dialog box with a value of 8. b. displays a dialog box with a value of 5, 3. c. displays a dialog box with a value of x + y. d. does not display a dialog box.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!