JavaScript

JavaScript

University

30 Qs

quiz-placeholder

Similar activities

Tes Asisten Intro to OS

Tes Asisten Intro to OS

University

25 Qs

Final Exam - Audit Sistem Informasi 2022

Final Exam - Audit Sistem Informasi 2022

University

26 Qs

Zasady i przepisy gry w piłkę ręczną

Zasady i przepisy gry w piłkę ręczną

7th Grade - University

28 Qs

Molecular Docking

Molecular Docking

University

25 Qs

Debugging Showdown

Debugging Showdown

University

25 Qs

8-2 PTS INFORMATIKA

8-2 PTS INFORMATIKA

8th Grade - University

25 Qs

Lovligt forfald – Ferie

Lovligt forfald – Ferie

University

25 Qs

Kuiz Informasi Sukan UiTM Kelantan

Kuiz Informasi Sukan UiTM Kelantan

University

25 Qs

JavaScript

JavaScript

Assessment

Quiz

Computers, Other

University

Practice Problem

Medium

Created by

Kevin Albania

Used 16+ times

FREE Resource

AI

Enhance your content in a minute

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

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 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

45 sec • 1 pt

A JavaScript file has an extension name of

.jscp
.js
.css
.Jp

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which keyword do we need to define a function?

function
method
onclick
functionName()

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

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

\\
^
?
//

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What type of variable is
var typeOfApples="Fuji";

Int
Float
Boolean
String

6.

MULTIPLE CHOICE QUESTION

45 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

45 sec • 1 pt

How do we generate a random number?

Math.random()
random.number()
number.random()
Random.math()

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?

Discover more resources for Computers