Search Header Logo

Prog. no Des. de Sistemas - Manipulando strings

Authored by GILSON MARCONDES

Computers

12th Grade

Used 2+ times

Prog. no Des. de Sistemas - Manipulando strings
AI

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?