JavaScript Basics

JavaScript Basics

12th Grade - University

15 Qs

quiz-placeholder

Similar activities

Latex

Latex

University

11 Qs

Tree and Planar Graph

Tree and Planar Graph

University

10 Qs

Bài 25 tin 10

Bài 25 tin 10

9th Grade - University

10 Qs

Teknik Pengolahan Audio dan Video

Teknik Pengolahan Audio dan Video

12th Grade

20 Qs

HTML

HTML

8th - 12th Grade

15 Qs

MPB Week 7

MPB Week 7

University

10 Qs

BB

BB

University

10 Qs

JavaScript Basics

JavaScript Basics

Assessment

Quiz

Computers, Professional Development

12th Grade - University

Medium

Created by

gowri d

Used 948+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Indicates the beginning  and the end of a JavaScript section.
<html> </html>
<style> </style>
<article> </article>
<script> </script>

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A JavaScript file has an extension name of
.jscp
.js
.css
.Jp

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword do we need to define a function?
function
method
onclick
functionName()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which 1 of the following symbols is used for JavaScript comments?
\\
^
?
//

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of variable is
var typeOfApples="Fuji";
Int
Float
Boolean
String

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can a developer show a pop-up message to the user?

alert

prompt

console.log

<p> tag

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
Which message will the user see?
"Hello user"
No message
"Goodbye user"
"message + user"

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?

Discover more resources for Computers