4. String
Quiz
•
Computers
•
Professional Development
•
Medium
Lê Thành
Used 12+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trên màn hình console sẽ in ra thông tin gì?
false
true
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Giả sử biến a và b đều thuộc kiểu chuỗi, để so sánh xem hai chuỗi a và b có bằng nhau không thì ta dùng lệnh nào dưới đây?
a == b
a.equal(b)
a.compareTo(b)
a.equals(b)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để tách một chuỗi ra thành mảng các ký tự ta phương thức nào để tương tác với chuỗi?
split()
getBytes()
toCharArray()
convertToCharArray()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dùng phương thức nào để lấy ra số lượng ký tự của chuỗi?
size()
count()
numberOfChar()
length()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dùng phương thức nào để tách chuỗi đã cho theo chuỗi đầu vào?
substring()
split()
convert()
substringBy()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Giả sử biến a và b đều thuộc kiểu chuỗi, để nối hai chuỗi a và b lại với nhau ta dùng lệnh nào?
a.concats(b)
a.combine(b)
a + b
a.combines(b)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để cắt ra chuỗi "def" từ chuỗi trong hình đã cho ta dùng phương thức nào?
substring(3)
substring(3, 5)
substring(3, 6)
substring(4, 6)
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
13 questions
MindSpace Computers C Quiz-1 2025
Quiz
•
Professional Development
10 questions
networking quiz
Quiz
•
Professional Development
15 questions
QUIZ HSE TownHall Meeting Desember 2021
Quiz
•
Professional Development
14 questions
Programming terms
Quiz
•
Professional Development
14 questions
IC3_Test1
Quiz
•
Professional Development
10 questions
Ôn tập gõ các chữ Ă, Â, Đ, Ê, Ô, Ơ, Ư
Quiz
•
3rd Grade - Professio...
13 questions
ÔN THI HỌC KỲ 2 - LỚP 3
Quiz
•
Professional Development
10 questions
FP2: 01 - MODULOS
Quiz
•
Professional Development
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Computers
10 questions
Halloween
Quiz
•
Professional Development
16 questions
Spooky Season Quiz
Quiz
•
Professional Development
5 questions
11.4.25 Student Engagement & Discourse
Lesson
•
Professional Development
50 questions
ASL Colors and Clothes
Quiz
•
KG - Professional Dev...
15 questions
Ohms Law
Quiz
•
Professional Development
10 questions
Halloween Trivia
Quiz
•
Professional Development
10 questions
Halloween Trivia
Quiz
•
Professional Development
