Search Header Logo

JavaScript Basics Q2

Authored by twin win

Computers

5th - 6th Grade

Used 7+ times

JavaScript Basics Q2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A string variable is a sequence of ________________ that can include letters, numbers, punctuations and spaces.

actions

characters

square brackets

quotations

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A ________________ is a value that simply is a value that is either true or false

Boolean

and

increment

quotation

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To get a character from a particular position in a string, use ______________________________ .

.slice

quotation

.length

square brackets

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The ‘II’ operator means ‘or’ while ‘&&’ means _________________.

characters

.slice

and

.length

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A String variable is defined using text within _______________________ marks

quotation

Boolean

characters

.length

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

_____________________ can be used to find the length of a string.

square brackets

.length

.slice

increment

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A string can be cut using _____________________________.

characters

.length

Boolean

.slice

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?