Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

MULTIPLE CHOICE 1. Which of the following give the result of 6 if num = 5.423? a parseInt(num) b. Math.round (num) C. Math.floor (num) d.

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

MULTIPLE CHOICE 1. Which of the following give the result of 6 if num = 5.423? a parseInt(num) b. Math.round (num) C. Math.floor (num) d. Math.ceil(num) 2. Which statement allows you to skip an iteration in a loop? a continue b. break C. isNaN() d. any of these 3. Which type of loop can be nested in a for loop? a for b. while c. do...while d any of these 4. 10. True/False: Selection structures can be nested inside a loop but a loop cannot be nested in a selection structure. 5. Which of the following will sum up all the integers between 1 and 10, inclusive? a b var sum = 0; for (var i = 1; i 14. Which image is displayed initially? a cat.jpg b. dog.jpg c. photo d. cannot tell 15. To see the image of the cat, you must... a. click the dog image C. roll your mouse over the cat image b. move your mouse off the dog image d. the image of the cat is already displayed so nothing needs to be done TRUE/FALSE 1. True/False: The break statement allows you to skip one iteration in a loop. 2. True/False: The continue statement is used to skip all or part of a loop iteration and then finishes the rest of the loop's iterations. 3. True/False: A for loop can be nested in a do...while loop. 4. True/False: A while loop cannot be nested in a do...while loop. 5. True/False: The accumulator is the variable that holds the total of a sum of values in a loop. 6. True/False: JavaScript events trigger actions in a browser. 7. True/False: The onmouseover event can only be used to swap one image for another

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

Advances In Databases And Information Systems Second East European Symposium Adbis 98 Poznan Poland September 1998 Proceedings Lncs 1475

Authors: Witold Litwin ,Tadeusz Morzy ,Gottfried Vossen

1st Edition

3540649247, 978-3540649243

More Books

Students also viewed these Databases questions

Question

c. What were you expected to do when you grew up?

Answered: 1 week ago

Question

4. Describe how cultural values influence communication.

Answered: 1 week ago

Question

3. Identify and describe nine cultural value orientations.

Answered: 1 week ago