Search Header Logo

Strings II

Authored by Isaiah Mercado

Computers

10th Grade

Used 9+ times

Strings II
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What function allows you to check if a string is made up of numebrs and letters?

alnum()

alphonicNumeric()

alphonseElric()

weirdAl()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function will make an entire string uppercase?

uppercase()

make_upper()

all_upper()

upper()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function will allow you to swap out part of a string with something else?

switch()

swap()

switcheroo()

replace()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What do you use to get a character from a string?

( )

[ ]

?

-->

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function will tell you if an entire string is lowercase?

isall_lower()

islower()

ismystringlower()

lower()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What do you call it when you combine two strings together?

compilation

creatine

concatenation

correlation

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the index of the first "f" in this string?

my_string = "Out of the night that covers me"

4

5

6

7

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?