[Quiz 4] JavaScript string

[Quiz 4] JavaScript string

University

14 Qs

quiz-placeholder

Similar activities

Pemrograman Visual

Pemrograman Visual

University

15 Qs

Quiz 1 - Pemrograman Berbasis Obyek

Quiz 1 - Pemrograman Berbasis Obyek

University

17 Qs

How do you understand your country?

How do you understand your country?

University

10 Qs

Equipment And Accessories In Archery

Equipment And Accessories In Archery

University

18 Qs

Activity 3

Activity 3

University

10 Qs

Purchase Options

Purchase Options

University

15 Qs

All India Virtual Visit - SKUASTJ

All India Virtual Visit - SKUASTJ

University

15 Qs

HIMSI Webinar Series 4

HIMSI Webinar Series 4

University

15 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?