Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

7 What does the following statement do? Math.floorMath.random 12 a) This creates a random number from 0 up to and including 12. b) This creates

image text in transcribed
7 What does the following statement do? Math.floorMath.random 12 a) This creates a random number from 0 up to and including 12. b) This creates a random number from 0 up to but not including 12. c) This creates a random number from 1 up to and ineluding 12. d) This creates a random number from 1 up to but not including 12 8 What does the variable string contain after the following code is executed? var string "Good luck on the test" string-string.split a) an array containing the strings "Good", "luck "on "the" and "test" b) the string Good.1uck.on.the.test c) the string Good,1uck, on,the,test" d) Nothing, the string conversion will generate an error. are stored by the browser on the user's computer to maintain client- specific information during and between browser sessions a) Files b) Documents c) Cookies d) Substrings 10 What does the following script do? Here pid is an id of a paragraph element on the web page. var value 0: function startTiner window.setInterval ( "updateTime)", 1000 function updateTine0 value+4 document.getElementByld( "pid".innerHLvalue a) It counts the number of seconds elapsed while loading the page b) It counts the number of milliseconds elapsed while loading the page c) It counts the number of seconds elapsed viewing the page. d) It counts the number of milliseconds elapsed while viewing the page. 11. Event a) mousedrages fires whenever a mouse cursor moves into an element. b) mouseover c) mouseout d) all of these 12. The function convert a string into integer in Javascript. a) parseInt b) converInt e) transfer Int d) int

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Murach's SQL Server 2012 For Developers

Authors: Bryan Syverson, Joel Murach, Mike Murach

1st Edition

1890774693, 9781890774691

More Books

Students also viewed these Databases questions