python 6 week

python 6 week

1st - 3rd Grade

8 Qs

quiz-placeholder

Similar activities

E-Governance

E-Governance

KG - 5th Grade

10 Qs

Plastic Pressure Pipe

Plastic Pressure Pipe

1st Grade

10 Qs

PROGRAMACION MODULAR DE VECTORES Y MATRICES

PROGRAMACION MODULAR DE VECTORES Y MATRICES

1st - 5th Grade

10 Qs

NGOBAR ABG - DIGITAL SAVVY - SESI 2

NGOBAR ABG - DIGITAL SAVVY - SESI 2

KG - Professional Development

10 Qs

Analytics: Advance Part 1

Analytics: Advance Part 1

1st Grade

10 Qs

Sopa de letrinhas

Sopa de letrinhas

1st - 12th Grade

12 Qs

Case Investigation Manual Training :)<3

Case Investigation Manual Training :)<3

1st Grade

11 Qs

Project Management Nexwave

Project Management Nexwave

1st Grade

10 Qs

python 6 week

python 6 week

Assessment

Quiz

Professional Development

1st - 3rd Grade

Practice Problem

Easy

Created by

Alihan Nurpeisov

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

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

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

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

S[i] function of this operator ?

the length

Extracting a slice

the length of the string

Address by index