JavaScript Practices #5

JavaScript Practices #5

12th Grade

12 Qs

quiz-placeholder

Similar activities

GMetrix Session 2 JavaScript Exam

GMetrix Session 2 JavaScript Exam

10th - 12th Grade

12 Qs

javascript_1

javascript_1

10th - 12th Grade

10 Qs

Quiz de JavaScript

Quiz de JavaScript

9th - 12th Grade

9 Qs

Programming Knowledge Quiz (Medium)

Programming Knowledge Quiz (Medium)

5th Grade - Professional Development

10 Qs

JavaScript Variables

JavaScript Variables

3rd Grade - University

13 Qs

Cuestionario de Certificación JS 2024

Cuestionario de Certificación JS 2024

12th Grade

17 Qs

JavaScript Fundamentals

JavaScript Fundamentals

9th Grade - Professional Development

10 Qs

Javascript Basics

Javascript Basics

9th - 12th Grade

16 Qs

JavaScript Practices #5

JavaScript Practices #5

Assessment

Quiz

Computers

12th Grade

Easy

Created by

Nixon Lopez

Used 5+ times

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

You are writing a program that includes an update() function. The function must update a paragraph element with input from the user and then hide the input box. 

Media Image
Media Image
Media Image
Media Image

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Internal JavaScript can be placed within the <head> tag.

True

False

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Placing your scripts at the bottom of the page body lets the browser load the other elements of the page first. 

True

False

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Internal JavaScript is linked using the tag <script src=”internal” type=”text/javascript”>. 

True

False

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

You need to determine whether a string named str is empty. 

What is the correct syntax? 

str == null

str == “null”

str == “”

str == “empty”

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Analyze the following code. Line numbers are included for reference only. 

The call to the multiply function on line 19 returns 100  

True

False

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the data type for line 05?

string

boolean

number

null

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?