
Строки
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
travelling by train
Quiz
•
7th - 12th Grade
15 questions
present simple
Quiz
•
8th Grade
16 questions
ai & ay
Quiz
•
3rd - 8th Grade
10 questions
The Champion of Panjat Pinang
Quiz
•
8th Grade
16 questions
Abbreviations
Quiz
•
4th Grade - University
12 questions
School activities
Quiz
•
8th Grade
15 questions
English Test for children
Quiz
•
KG - University
14 questions
Hilda season 1 episode 1
Quiz
•
5th - 10th 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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
Discover more resources for English
15 questions
Making Inferences
Quiz
•
7th - 12th 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
25 questions
Making Inferences
Quiz
•
6th - 8th Grade
14 questions
Narrative of the Life of Frederick Douglass Review
Quiz
•
8th Grade
