
Строки
Quiz
•
English
•
8th Grade
•
Medium
Feliks Bekeshov
Used 1+ times
FREE Resource
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой способ правильно сравнить две строки на равенство в Java?
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как можно объединить две строки в Java?
str1 - str2
str1.concat(str2)
str1.append(str2)
str1.concatenate(str2)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что делает метод trim() в Java?
Удаляет все символы пробела в начале и конце строки.
Обрезает строку до указанной длины.
Удаляет ведущие нули из числовой строки.
Преобразует строку в нижний регистр.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой метод используется для преобразования строки в верхний регистр в Java?
str.upper()
str.toUppercase()
str.toUpperCase()
str.caseUpper()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какова цель метода charAt(int index) в Java?
Возвращает ASCII-значение символа по указанному индексу.
Возвращает символ по указанному индексу.
Проверяет, присутствует ли конкретный символ в строке.
Преобразует строку в массив символов.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
В Java, какой метод используется для проверки, начинается ли строка с указанного префикса?
str.startWith(prefix)
str.startsWith(prefix)
str.beginsWith(prefix)
str.commenceWith(prefix)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Каков правильный способ заменить символ в строке в Java?
str.replace(oldChar, newChar)
str.swap(oldChar, newChar)
str.update(oldChar, newChar)
str.replaceChar(oldChar, newChar)
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
16 questions
ai & ay
Quiz
•
3rd - 8th Grade
16 questions
Морфемы
Quiz
•
5th - 11th Grade
16 questions
Abbreviations
Quiz
•
4th Grade - University
12 questions
School activities
Quiz
•
8th Grade
15 questions
English Test for children
Quiz
•
KG - University
10 questions
The Champion of Panjat Pinang
Quiz
•
8th Grade
14 questions
Hilda season 1 episode 1
Quiz
•
5th - 10th Grade
14 questions
travelling by train
Quiz
•
7th - 12th Grade
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
MINERS Core Values Quiz
Quiz
•
8th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
Discover more resources for English
20 questions
Figurative Language Review
Quiz
•
8th Grade
8 questions
Plot Vocabulary
Quiz
•
6th - 8th Grade
10 questions
Identifying and Using Sentence Structures
Interactive video
•
6th - 10th Grade
10 questions
Citing Textual Evidence in Reading Comprehension
Interactive video
•
6th - 10th Grade
10 questions
Demonstrative Pronouns
Lesson
•
5th - 8th Grade
20 questions
Coordinating Conjunctions
Quiz
•
6th - 8th Grade
13 questions
Understanding Claim, Evidence, and Reasoning
Quiz
•
6th - 8th Grade
10 questions
Exploring Figurative Language Concepts
Interactive video
•
6th - 10th Grade
