[Quiz 4] JavaScript string

[Quiz 4] JavaScript string

University

14 Qs

quiz-placeholder

Similar activities

QUIZ 2: Fundamental Concepts of IAS 2

QUIZ 2: Fundamental Concepts of IAS 2

University

15 Qs

Donor's Tax

Donor's Tax

University

12 Qs

AMONG US

AMONG US

3rd Grade - Professional Development

10 Qs

Java Arrays

Java Arrays

5th Grade - University

10 Qs

Multimedia and Text in multimedia

Multimedia and Text in multimedia

University

10 Qs

Preparation of Stocks

Preparation of Stocks

University

10 Qs

Java Script Pro

Java Script Pro

3rd Grade - University

12 Qs

Critical Thinking Fallacies

Critical Thinking Fallacies

University

10 Qs

[Quiz 4] JavaScript string

[Quiz 4] JavaScript string

Assessment

Quiz

Other

University

Practice Problem

Hard

Created by

suntana_school comp_sci

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

Which of the following is the correct statement for string declaration in JavaScript?

Only A

Only B

Only C

All are correct

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is the correct statement that finds the string length in JavaScript?

let a = 'hello';

a.length();

a.length;

a.getLength();

String.length(a);

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

Is the below JavaScript variables valid?

valid, valid

valid, invalid

invalid, valid

invalid, invalid

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

What will be the console output of the below JavaScript code?

angoO

Mang

Mango

Mango,

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

Which statement produces ", kiwi"?

substr(str(9,12));

str.subString(9,13);

str.substr(9,4);

subString(str(9,5));

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

Select the correct JavaScript code to replace the word "Maimi" with "California":

A

B

C

D

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

What is the output of the given snippet?

Hello

,

true

false

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?