Search Header Logo

Python ցուցակների գնահատում

Authored by Narine Baghdasaryan

Information Technology (IT)

5th Grade

Used 2+ times

Python ցուցակների գնահատում
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Ինչպես ստեղծել Python ցուցակ:

my_list = '1, 2, 3'

my_list = [1, 2, 3]

my_list = {1, 2, 3}

my_list = (1, 2, 3)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Ինչպիսի տվյալներ կարող են լինել Python ցուցակում:

Only integers and floats

Only strings and booleans

Only tuples and dictionaries

Python lists can contain integers, floats, strings, booleans, lists, tuples, dictionaries, and custom objects.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Ինչպես մուտքագրել տվյալներ Python ցուցակում:

my_list.extend(տվյալ)

my_list.add(տվյալ)

my_list.insert(0, տվյալ)

my_list.append(տվյալ)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Ինչպես ստանալ ցուցակի երկարությունը Python-ում:

length(my_list)

my_list.length()

count(my_list)

len(my_list)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Ինչպես ավելացնել նոր տարր Python ցուցակում:

my_list.extend('նոր տարր')

my_list.append('նոր տարր')

my_list.add('նոր տարր')

my_list.insert('նոր տարր', 0)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Ինչպես հեռացնել տարր Python ցուցակից:

my_list.add('տարր')

my_list.insert(0, 'տարր')

Օրինակ՝ my_list.remove('տարր') կամ del my_list[0]

my_list.clear()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Ինչպես փոխել տարրի արժեքը Python ցուցակում:

my_list[0] = 5

my_list[1] = 5

my_list.append(5)

my_list[1] = 'five'

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?