![[Quiz 4] JavaScript string](https://cf.quizizz.com/img/wayground/activity/activity-square.jpg?w=200&h=200)
[Quiz 4] JavaScript string

Quiz
•
Other
•
University
•
Hard
suntana_school comp_sci
Used 3+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
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
Is the below JavaScript variables valid?
valid, valid
valid, invalid
invalid, valid
invalid, invalid
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What will be the console output of the below JavaScript code?
angoO
Mang
Mango
Mango,
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
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
Select the correct JavaScript code to replace the word "Maimi" with "California":
A
B
C
D
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the output of the given snippet?
Hello
,
true
false
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Tech quiz Round 1

Quiz
•
University
15 questions
R programming

Quiz
•
University
10 questions
Quiz Javascript

Quiz
•
University
11 questions
Tema 8 (informatica)

Quiz
•
University
15 questions
LECCIÓN # 2 - Programación Móviles

Quiz
•
University
18 questions
PWA's Quizz

Quiz
•
University
10 questions
Java set 1

Quiz
•
University
10 questions
web viva

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University