chatbot

chatbot

6th - 8th Grade

12 Qs

quiz-placeholder

Similar activities

Computer Quiz

Computer Quiz

7th Grade - University

15 Qs

Website Development

Website Development

6th - 12th Grade

14 Qs

TEKWILL WEBMASTER

TEKWILL WEBMASTER

6th Grade

13 Qs

E14 by Ja

E14 by Ja

KG - University

16 Qs

JavaScript Practice Quiz

JavaScript Practice Quiz

8th Grade

15 Qs

Biến và hằng trong chương trình

Biến và hằng trong chương trình

8th Grade

13 Qs

HTML, Javascript, CSS Homework Week 6

HTML, Javascript, CSS Homework Week 6

7th - 12th Grade

17 Qs

Java Script 1.4. Массивы

Java Script 1.4. Массивы

1st - 12th Grade

12 Qs

chatbot

chatbot

Assessment

Quiz

Computers

6th - 8th Grade

Hard

Created by

Eman Albanna

Used 15+ times

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How to add the image URL

<img src=https://app.bsd.education/resources/cat.png />

<img src="https://app.bsd.education/resources/cat.png" />

<img src="https://app.bsd.education/resources/cat.png">

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

One way to make a button work is to add an onclick attribute to call a JavaScript function:

<button onclick="popup()">Click me!<button>

<button onclick="popup()">Click me!</button>

<button onclick="popup">Click me!</button>

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A JavaScript function is a block of code used to perform a specific action

false

True

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How to create a function ?

function greetUser()

function greetUser() {

}

function "greetUser"() {

}

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In JavaScript, an alert() is a type of pop-up message box with an input field.

True

false

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How to create a prompt ?

prompt(What is 2 + 2?);

prompt("What is 2 + 2?");

prompt("What is 2 + 2?")

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

variable is being used to store the user's answer. This allows the program to remember what the user typed.

const q1 = prompt("What is 2 + 2?")

const q1 = prompt(What is 2 + 2?);

const q1 = prompt("What is 2 + 2?");

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?