Search Header Logo

python 6 week

Authored by Alihan Nurpeisov

Professional Development

1st - 3rd Grade

Used 2+ times

python 6 week
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

S1 = 'spam'

S2 = 'eggs'

print(S1 + S2) ?

'spameggs'

eggs

spame

spam

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

print('spam' * 3)

spamspam

spamspamspam

spamspamspam

spamspamspam

spam

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

len('spam')

2

3

4

5

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

S = 'spam'

S[0]

's'

'p'

0

'a'

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

s = 'spameggs'

s[3:5]

'ameg'

pameggs'

'me'

'spameggs'

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

len(S) function of this operation?

the length of the string

Repeating a line

Extracting a slice

Address by index

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

S.replace function of this operator

Address by index

Extracting a slice

Replacing a template

the length of the string

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?

Discover more resources for Professional Development