
Kuis JavaScript String
Quiz
•
Computers
•
11th Grade
•
Practice Problem
•
Medium
Ghaluh Kusuma Ningrum
Used 11+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 6 pts
Apa fungsi dari metode substring() dalam JavaScript?
Menghapus seluruh string
Menggabungkan dua string
Mengubah string menjadi array
Mengembalikan bagian dari string berdasarkan indeks yang ditentukan.
2.
MULTIPLE CHOICE QUESTION
1 min • 7 pts
Manakah dari berikut yang merupakan contoh penggabungan kata dalam JavaScript?
Function *
Operator +
Variable /
Method -
3.
MULTIPLE CHOICE QUESTION
1 min • 6 pts
Berapakah hasil dari 'hello world'.slice(6, 11) dalam JavaScript?
space
hello
planet
world
4.
MULTIPLE CHOICE QUESTION
1 min • 7 pts
Bagaimana cara mengganti kata 'sangat' dengan 'sangat sekali' dalam sebuah string di JavaScript?
const newString = oldString.replace(/sangat/g, 'sangat sekali');
const newString = oldString.replace('sangat', 'sangat sekali');
const newString = oldString.replace(/sangat/, 'sangat sekali');
const newString = oldString.replaceAll('sangat', 'sangat sekali');
5.
MULTIPLE CHOICE QUESTION
1 min • 6 pts
Apakah hasil dari 'coding is fun'.substring(2, 6) dalam JavaScript?
isfu
codi
ding
fun
6.
MULTIPLE CHOICE QUESTION
1 min • 6 pts
Contoh penggunaan metode concat() dalam JavaScript adalah...
Metode concat() digunakan untuk mengubah tipe data array.
Metode concat() digunakan untuk mengurutkan array.
Metode concat() dalam JavaScript digunakan untuk menggabungkan dua atau lebih array menjadi satu array baru.
Metode concat() digunakan untuk membagi array menjadi beberapa bagian.
7.
MULTIPLE CHOICE QUESTION
1 min • 6 pts
Berapakah panjang dari string 'JavaScript'?
15
12
10
8
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
SOAL ULANGAN MYOB PERUSAHAAN DAGANG
Quiz
•
11th Grade
10 questions
TIN 11- KIỂU XÂU
Quiz
•
11th Grade
16 questions
IBA Chapter 8B
Quiz
•
8th - 12th Grade
16 questions
Boolean and Search Operators
Quiz
•
9th - 12th Grade
10 questions
Recursion Practice, Recursion Practice, Recursion Practice...
Quiz
•
10th Grade - University
16 questions
DATA SCIENCE Assessment (April)
Quiz
•
8th - 12th Grade
15 questions
AP Computer Science Principles - Module 3 Review
Quiz
•
10th - 12th Grade
13 questions
JavaScript Variables
Quiz
•
3rd Grade - University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
