
Prog. no Des. de Sistemas - Manipulando strings
Authored by GILSON MARCONDES
Computers
12th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Qual é a função em Python usada para encontrar a frequência de uma letra específica dentro de uma string?
replace()
find()
count()
upper()
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Qual método em Python é utilizado para localizar a posição de uma letra dentro de uma string?
upper()
replace()
find()
count()
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Qual função em Python é usada para converter uma string inteira para maiúscula?
count()
find()
upper()
replace()
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Qual método em Python permite substituir uma parte da string por outra?
replace()
find()
count()
upper()
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Qual função da string em Python você usaria para substituir todas as ocorrências da palavra 'Python' por 'JavaScript' em uma string?
replace('Python', 'JavaScript')
upper()
find('JavaScript')
count('Python', 'JavaScript')
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Qual método em Python retorna a primeira posição de uma sub-string dentro de uma string?
upper()
find()
count()
replace()
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Qual função importante de string em Python é usada para dividir o texto em palavras?
upper()
split()
lower()
replace()
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?