Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

QUESTION 16 Using JavaScript to add dynamic behavior to a web page is called _____. client-side scripting server-side scripting remote procedure calls (RPC) document modification

QUESTION 16

  1. Using JavaScript to add dynamic behavior to a web page is called _____.

    client-side scripting

    server-side scripting

    remote procedure calls (RPC)

    document modification analysis (DMA)

2 points

QUESTION 17

  1. function code will normally execute ____

    when the function is called

    automatically when the page loads

2 points

QUESTION 18

  1. In this statement x = 22.5

    22.5 is called a literal value

    22.5 is called a moniker

2 points

QUESTION 19

  1. A JavaScript program can access the elements on a web page in the user's browser and do things to those elements.

    True

    False

2 points

QUESTION 20

  1. the comparison operator != means not equal to.

    True

    False

2 points

QUESTION 21

  1. This code

    x = 5 % 2;

    assigns 1 to x

    assigns 2 to x

    assigns 2.5 to x

2 points

QUESTION 22

  1. What happens when this code executes?

    x = 76 + "trombones";

    the string "76trombones" is assigned to x

    a new variable named 76trombones is created

    you will get an error for trying to add a non-number.

    the string "76 trombones" is assigned to x

2 points

QUESTION 23

  1. JavaScript can detect user actions like _____.

    mouse clicks and keyboard action

    imagining what a vanilla milkshake would taste like

    trip the lights fantastic

    make lemonade out of lemons

2 points

QUESTION 24

  1. Your book's description of the array slice method is not correct. Answer this question as true for 2 easy points. (this is not a trick)

    True

    False

2 points

QUESTION 25

  1. This code

    x += 1;

    adds one to the previous value of x

    makes x = 1 no matter what it was before

2 points

QUESTION 26

  1. Variables declared in a function have _____ scope.

    local

    global

    all of the above

    intermediate

2 points

QUESTION 27

  1. A browser loads a web page from top to bottom. The stuff at the top will be seen by the browser before the stuff at the bottom.

    True

    False

2 points

QUESTION 28

  1. JavaScript does not have much, if anything, to do with the Java programming language.

    True

    False

2 points

QUESTION 29

  1. Your html form is named f1. The form has a textbox with an id = 'age' and a name = 'userAge'. Assume the user types a number into the textbox. Which of the following would successfully assign the value entered to the variable x?

    x = document.f1.userAge.value;

    x = document.form1.userAge.value;

    x = document.getElementByid("userage").value;

    x = document.getElementByid("f1.age").value;

2 points

QUESTION 30

  1. Functions are one of the basic building blocks of JavaScript.

    True

    False

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