js basics

js basics

4th Grade - University

18 Qs

quiz-placeholder

Similar activities

HTML and CSS

HTML and CSS

7th - 8th Grade

15 Qs

Pemrograman Web

Pemrograman Web

11th Grade

20 Qs

[AP CSP] JavaScript Basics

[AP CSP] JavaScript Basics

9th - 12th Grade

14 Qs

Javascript Again 1114

Javascript Again 1114

10th Grade

14 Qs

HTML and CSS Review

HTML and CSS Review

3rd Grade - Professional Development

17 Qs

Structure of HTML page  Friday October 9 2020

Structure of HTML page Friday October 9 2020

9th - 12th Grade

13 Qs

HTML podstawy

HTML podstawy

8th Grade - University

17 Qs

podstawy języka html

podstawy języka html

5th Grade

20 Qs

js basics

js basics

Assessment

Quiz

Computers

4th Grade - University

Medium

Created by

Amany Ibrahim

Used 42+ times

FREE Resource

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>

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?