String 10th grade

String 10th grade

Assessment

Quiz

Computers

10th Grade

Practice Problem

Hard

Created by

Shadiyar Murtaza

Used 33+ times

FREE Resource

Student preview

quiz-placeholder

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

s="Procedure"

print(s[:5])

Келесі код нәтижесі қандай болады?

Proc

Proce

proce

Proced

2.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

s="definition"

print(len(s))

Келесі код нәтижесі қандай болады?

6

8

10

11

3.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

s="string"

print(s[::-1])

Келесі код нәтижесі қандай?

gstrin

gni

string

gnirts

4.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

Бүтін санға түрлендіруге қолданылатын функция?

str()

int()

float()

len()

5.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

s="do"

#код

Нәтиже:

dodododo

Код нәтижесіне сәйкес кодты табыңыз.

print(s)

print(ssss)

print(s*4)

print(s*s*s*s)

6.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

s="edit"

print(max(s))

Келесі код нәтижесін анықтаңыз.

e

d

i

t

7.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

s="length"

print(min(s))

Келесі код нәтижесін анықтаңыз.

e

l

t

h

Create a free account and access millions of resources

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 Computers