Search Header Logo

Python | STRING

Authored by informatika juz

Computers

University

Used 2+ times

Python | STRING
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Қандай функция Python-да жолдың ұзындығын анықтайды?

len()

length()

size()

str_len()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Қай оператор жолдарды біріктіру үшін қолданылады?

*

+

-

/

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python-да `my_string[0]` дегеніміз не білдіреді?

Соңғы символ

Бірінші символ

Барлық символдар

Ешбір символ

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

`string1 = "Python"`. `print(string1[-1])` нәтижесі қандай болады?

P

o

n

t

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

`string = "Hello, World!"`. `string[7:12]` мәні не болады?

Hello

World

Hello,

World!

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

`my_string = "abcabcabc"`. `my_string.count("abc")` мәні қандай?

1

2

3

0

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

`text = " Hello, World! "`. `text.strip()` мәні қандай?

"Hello, World!"

" Hello, World! "

"Hello,World"

"Hello, World"

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?