Naz Web Development Quiz

Naz Web Development Quiz

9th - 12th Grade

29 Qs

quiz-placeholder

Similar activities

HTML, CSS & JS

HTML, CSS & JS

11th - 12th Grade

25 Qs

JavaScript 4-7 20.03.2023.

JavaScript 4-7 20.03.2023.

12th Grade

25 Qs

Responsive Web Design - Assessment

Responsive Web Design - Assessment

9th - 12th Grade

25 Qs

Mwd theory practice

Mwd theory practice

1st - 12th Grade

32 Qs

JavaScript

JavaScript

9th - 12th Grade

29 Qs

JavaScript Quiz

JavaScript Quiz

9th - 12th Grade

29 Qs

Ass2-Quiz1-Programming

Ass2-Quiz1-Programming

11th Grade

34 Qs

Ass2-Quiz2-Programming

Ass2-Quiz2-Programming

11th Grade

31 Qs

Naz Web Development Quiz

Naz Web Development Quiz

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Troy Nasworthy

Used 4+ times

FREE Resource

29 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What is the console?

It’s a type of Web Browser.

It’s a debugging tool that is built into a Web Browser.

It’s a tag that allows programmers to write JavaScript.

It’s a command that prints a value onto the Browser.

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

If a programmer wants to get user input, which helper function would be most appropriate to use?

console.log()

alert()

script

prompt()

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is the best practice for implementing a script tag?

Media Image
Media Image
Media Image
Media Image

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is used to display a message to the user in a dialog box?

alert()

console.log()

document.write()

prompt()

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the purpose of the 'console.log()' function in JavaScript?

To write HTML content to the document.

To log messages to the web console for debugging purposes.

To display a message in a dialog box.

To prompt the user for input.

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Consider the code segment in the image:

What will be returned if the command document.getElementById("banner") is executed?

Media Image
Media Image
Media Image
Media Image

undefined

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Consider the code segment in the image:

What will be returned if the command document.getElementById("banner").innerHTML is executed?

Media Image
Media Image
Media Image
Media Image

undefined

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?