Search Header Logo

JWD JS Test Bank 51-60

Authored by Lazaro Alsina

Computers

Professional Development

Used 19+ times

JWD JS Test Bank 51-60
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

51. With JavaScript, how do you define a numerical value?

var x=3;

var x=Math(3);

Math.x=3;

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

52. Which DOM method is supported by most browsers?

x.getElementById(id)

x.getElementByTagName(name)

both of the methods are supported by most browsers

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

53. With JavaScript, how can you find the browser name of the client?

navigator.appName

window.appName

browser.appName

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

54. With JavaScript, how do you read the first character in a string

stringName.charAt(0)

stringName.charAt(1)

stringName.substr(0)

stringName.substr(1)

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

55. The JavaScript international standard is called?

ECMAScript

Java

ISO-262

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

56. With JavaScript, what is the correct code to return a random number between 0 and 1?

document.write(Math.random());

document.write(Math.md());

document.write(random());

document.write(md());

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

57. JavaScript is same as Java.

True

False

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?