Search Header Logo

MakeCode(JavaScript) Basics

Authored by Meenakshi Sharma

Computers

8th Grade

Used 5+ times

MakeCode(JavaScript) Basics
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

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?