JavaScript Basics 1

JavaScript Basics 1

6th - 8th Grade

30 Qs

quiz-placeholder

Similar activities

Class 6  ICT Practice Paper

Class 6 ICT Practice Paper

6th - 8th Grade

35 Qs

BLOCKLY GAMES MULTIPLE

BLOCKLY GAMES MULTIPLE

8th Grade

25 Qs

Revision Second Preparatory

Revision Second Preparatory

8th Grade

28 Qs

JavaScript

JavaScript

6th - 8th Grade

26 Qs

Full Stack Web and Mobile with Nuxt NodeJS and Flutter

Full Stack Web and Mobile with Nuxt NodeJS and Flutter

7th Grade

30 Qs

TDP112 Introduction to Laravel

TDP112 Introduction to Laravel

8th - 10th Grade

25 Qs

SDA uCertify Lesson 6

SDA uCertify Lesson 6

8th - 12th Grade

25 Qs

Assessment Term 2.2 - Y9 U4 Python Search algorithms

Assessment Term 2.2 - Y9 U4 Python Search algorithms

7th - 12th Grade

30 Qs

JavaScript Basics 1

JavaScript Basics 1

Assessment

Quiz

Computers

6th - 8th Grade

Hard

Created by

Tom Riherd

Used 45+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

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

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What type of variable is
var typeOfApples="Fuji";
Int
Float
Boolean
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 SELECT QUESTION

1 min • 1 pt

Which of the following platform(s) can be used to run Javascript Code

Google Chrome

Firefox

Microsoft Edge

Safari

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In JavaScript, you should include a semi-colon at the end of each statement.
yes
no

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What surrounds a string?

Quotations " "

Curly Brackets { }

Parenthesis ( )

Square Brackets [ ]

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct Javascript format for a comment?

// This is a comment

/ This is a comment /

*/ This is a comment /*

\\This is a comment

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?