JavaScript Basics

JavaScript Basics

8th Grade

15 Qs

quiz-placeholder

Similar activities

JavaScript Fundamentals

JavaScript Fundamentals

8th Grade

15 Qs

Programming Quiz

Programming Quiz

1st - 10th Grade

20 Qs

python selection

python selection

8th Grade

11 Qs

Python

Python

8th Grade

13 Qs

Coding Conditionals

Coding Conditionals

6th - 8th Grade

10 Qs

JavaScript Practice Quiz

JavaScript Practice Quiz

8th Grade

15 Qs

Python basic commands

Python basic commands

8th Grade

20 Qs

Python

Python

7th - 10th Grade

20 Qs

JavaScript Basics

JavaScript Basics

Assessment

Quiz

Computers

8th Grade

Medium

Created by

Meenakshi Sharma

Used 3+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Message or Prompt can be displayed in MakeCode with

game.splash

game.askForNumber

game.askForString

game.SplashDialog

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A variable is a label that references a value.

What keyword is used to declare a variable in MakeCode?

let

var

const

function

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the symbol for 'not equal to' in MakeCode?

!===

=/=

<>

!=

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of 10 > 5 in MakeCode?

true

false

0

10

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of 5 == '5' in MakeCode?

null

false

true

undefined

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the syntax for the 'else if' statement in MakeCode?

else if condition

else if(condition)

else if: condition

else if{condition}

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In JavaScript we use the _____________to create a block that groups one or more simple statements.

Curly Braces {}

Circular braces ()

Square Braces []

None of these

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?