String Formats Quiz

String Formats Quiz

9th Grade

7 Qs

quiz-placeholder

Similar activities

behaviorism

behaviorism

1st - 10th Grade

10 Qs

RBT: Bab 1 Mekatronik

RBT: Bab 1 Mekatronik

7th - 12th Grade

10 Qs

Summer School Religious Studies Midterm

Summer School Religious Studies Midterm

8th - 12th Grade

10 Qs

Java Arrays

Java Arrays

5th Grade - University

10 Qs

ตัวดำเนินการทางคณิตศาสตร์ //ทดสอบหลังเรียน

ตัวดำเนินการทางคณิตศาสตร์ //ทดสอบหลังเรียน

9th Grade

10 Qs

Java Script Pro

Java Script Pro

3rd Grade - University

12 Qs

QUIZ KOMPOSISI BADAN

QUIZ KOMPOSISI BADAN

1st - 10th Grade

10 Qs

Friendship Bracelet Vocab Review

Friendship Bracelet Vocab Review

9th - 12th Grade

10 Qs

String Formats Quiz

String Formats Quiz

Assessment

Quiz

Other

9th Grade

Practice Problem

Medium

Created by

Teetreeo Pittman

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is string concatenation?

Splitting a string into multiple smaller strings.

Combining two or more strings together to create a new string.

Converting a string into a number.

Removing all spaces from a string.

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which operator is used for string concatenation in Python?

*

+

-

/

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the result of 'Hello' + 'World' in Python?

WorldHello

HW

HelloWorld

Hello World

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is string formatting?

String formatting is the process of converting a string to uppercase.

String formatting is the process of creating a formatted string by substituting placeholders with values.

String formatting is the process of removing all whitespace from a string.

String formatting is the process of reversing the characters in a string.

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Complete the following code to make the string lowercase:

name = "Billy Bob"

print(____.lower())

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Complete the following code to format the input statement to uppercase:

points = int(input("How many points did you score?")._____())

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Complete the following code to format the input statement to convert all upper case to lower case, and lower case to upper case :

myvar = input("Who's your favorite artist?").________()

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?