
Строки
Quiz
•
English
•
8th Grade
•
Practice Problem
•
Medium
Feliks Bekeshov
Used 1+ times
FREE Resource
Enhance your content in a minute
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)
Access all questions and much more by creating a free account
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
14 questions
Passive voice
Quiz
•
6th - 8th Grade
11 questions
степени сравнения (5-8) - genshin impact
Quiz
•
6th - 8th Grade
9 questions
Present Simple Active / Passive
Quiz
•
7th - 8th Grade
10 questions
Reported speech
Quiz
•
8th Grade
16 questions
Education
Quiz
•
8th Grade
10 questions
Ability and Willingness
Quiz
•
8th Grade
15 questions
209 NMMS પ્ર22 અંગ્રેજીસમરૂપતા
Quiz
•
8th Grade
17 questions
There Will Come Soft Rains
Quiz
•
6th - 8th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for English
5 questions
Legends, Leaders, & Changemakers: Maya Angelou
Interactive video
•
6th - 8th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
20 questions
Figurative Language Review
Quiz
•
8th Grade
12 questions
Final Figurative Language Review
Lesson
•
6th - 8th Grade
20 questions
Sentences, Fragments, and Run-ons
Quiz
•
8th Grade
5 questions
Text Structures
Lesson
•
6th - 8th Grade
15 questions
ethos pathos logos
Quiz
•
8th Grade
11 questions
Prepositions
Lesson
•
6th - 8th Grade
