JavaScript Basics Q2

JavaScript Basics Q2

5th - 6th Grade

8 Qs

quiz-placeholder

Similar activities

PBO2

PBO2

6th Grade

13 Qs

PHST Software 1

PHST Software 1

1st Grade - University

11 Qs

Databases

Databases

6th - 10th Grade

12 Qs

Numbers and Symbols

Numbers and Symbols

6th Grade

10 Qs

Programming - Basic String Manipulation

Programming - Basic String Manipulation

2nd - 10th Grade

10 Qs

C# 11

C# 11

1st - 10th Grade

10 Qs

AppsLab_Q3

AppsLab_Q3

1st Grade - Professional Development

12 Qs

Dojo - Type Inference

Dojo - Type Inference

1st - 12th Grade

13 Qs

JavaScript Basics Q2

JavaScript Basics Q2

Assessment

Quiz

Computers

5th - 6th Grade

Easy

Created by

twin win

Used 7+ times

FREE Resource

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

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The ++ operator is used to show the _______________________ of a variable containing a number.

increment

square brackets

quotation

and