Quelle méthode retourne la longueur d'une chaîne ?

QCM – Méthodes de chaînes en JavaScript

Quiz
•
Information Technology (IT)
•
12th Grade
•
Medium
Hajar Hardi
Used 2+ times
FREE Resource
21 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
length()
size()
length
count()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quelle méthode retourne une partie d’une chaîne en utilisant deux indices (début et fin) ?
substring()
substr()
slice()
trim()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quelle méthode accepte un index de départ et une longueur ?
substring()
slice()
substr()
trim()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quelle méthode convertit tout le texte en majuscules ?
toUpper()
toUpperCase()
uppercase()
makeUpper()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quelle méthode convertit tout le texte en minuscules ?
toLower()
lowercase()
toLowerCase()
makeLower()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quelle méthode retourne un caractère à une position donnée ?
get()
charAt()
character()
getChar()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quelle méthode retourne le code UTF-16 d’un caractère ?
charCodeAt()
getCode()
unicodeAt()
codePoint()
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Informatique et nouvelles technologies, le saviez-vous ?

Quiz
•
1st Grade - University
20 questions
Python

Quiz
•
9th - 12th Grade
20 questions
Quiz sur SonarQube

Quiz
•
12th Grade
20 questions
Quiz sur les Concepts de base de l'informatique

Quiz
•
12th Grade
20 questions
Excel / Spreadsheet Basic fo Coding Juara

Quiz
•
9th - 12th Grade
25 questions
SAS 1 Informatika 7

Quiz
•
7th Grade - University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University