js basics

js basics

4th Grade - University

18 Qs

quiz-placeholder

Similar activities

Evaluacion Final periodo 1 DE 2019 Informatica grados 7

Evaluacion Final periodo 1 DE 2019 Informatica grados 7

7th Grade

20 Qs

Trắc nghiệm Tin học 9 (Phần mềm trình chiếu)

Trắc nghiệm Tin học 9 (Phần mềm trình chiếu)

9th Grade

20 Qs

On-tap-chu-de-C

On-tap-chu-de-C

6th Grade

20 Qs

Cyber Skills Quiz 1 - Y9

Cyber Skills Quiz 1 - Y9

9th Grade

19 Qs

kiểm tra 15p tin 8 ki 2

kiểm tra 15p tin 8 ki 2

6th - 8th Grade

21 Qs

Bridge course with C

Bridge course with C

University

20 Qs

MOTD 2 DSE-C

MOTD 2 DSE-C

University

20 Qs

Revision quiz

Revision quiz

5th - 6th Grade

15 Qs

js basics

js basics

Assessment

Quiz

Computers

4th Grade - University

Practice Problem

Medium

Created by

Amany Ibrahim

Used 42+ times

FREE Resource

AI

Enhance your content in a minute

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

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

//

\\

*/ */

<!-- -->

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of variable is var typeOfApples="Fuji"

numeric

boolen

string

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do I declare a new variable?

var newVariable = 5

Variable int = new Variable()

var 5 = myVariable

int var = 5

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What surrounds an if/else statement?

Quotations " "

Curly Brackets { }

Parenthesis ( )

Square Brackets []

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What surrounds a string or words?

Quotations " "

Curly Brackets { }

Parenthesis ( )

Square Brackets []

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why do we use if/else statements in JavaScript?

To repeat something for a fixed number of times

To either do something if a condition is true or do something else

To break out of some block of code

To repeat something while a condition is true

7.

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>

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?