Quiz #7

This quiz deals mostly with questions about JavaScript

Question #1: How do you code the statement to add amt1 and amt2 and store the result in ans?

Question #2: Explain the assignment sign.

Question #3: In an if statement, how do you test amt1 being equal to 100?

Question #4: What are the two things the + sign can mean?

Question #5: What do the { } do in an if statement?

Question #6: What is the statement in JavaScript that puts the words The grade is and the result of a calculation stored in mygrade up on the screen?

Question #7: How do you tell HTML that you are using JavaScript?

Question #8: Which loop structure executes the loop code at least once?

Question #9: Which loop structure can be set up so that you may or may not enter the loop code?>/p>