JavaScript

JavaScript

University

30 Qs

quiz-placeholder

Similar activities

Quizz-medicina

Quizz-medicina

University

25 Qs

Midterm Exam

Midterm Exam

University

25 Qs

Seminar Quiz

Seminar Quiz

12th Grade - University

25 Qs

Bài tập Access 1

Bài tập Access 1

2nd Grade - University

25 Qs

Pemrograman Dasar untuk SMK/SMA/MA

Pemrograman Dasar untuk SMK/SMA/MA

University

25 Qs

Pemrograman Web - UNIB

Pemrograman Web - UNIB

University

25 Qs

Macromedia Flash

Macromedia Flash

8th Grade - Professional Development

26 Qs

2022年度藥劑部4月份月考

2022年度藥劑部4月份月考

University

26 Qs

JavaScript

JavaScript

Assessment

Quiz

Computers, Other

University

Medium

Created by

Kevin Albania

Used 16+ times

FREE Resource

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()

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?