Search Header Logo

Python Զանգվածներ և Ցուցակներ

Authored by Ruzan Karapetyan

Computers

7th Grade

Used 5+ times

Python Զանգվածներ և Ցուցակներ
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Ինչպես ստեղծել զանգված Python-ում:

my_array = (1, 2, 3, 4)

my_array = '1, 2, 3, 4'

my_array = {1, 2, 3, 4}

my_array = [1, 2, 3, 4]

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Ինչպիսի մեթոդներ կան ցուցակների համար Python-ում:

add

delete

append, extend, insert, remove, pop, sort, reverse, count

shuffle

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Ինչպես դասավորել զանգվածը աճման կարգով:

Դասավորել զանգվածը աճման կարգով օգտագործելով դասավորության ալգորիթմ:

Դասավորել զանգվածը նվազման կարգով օգտագործելով դասավորության ալգորիթմ

Դասավորել զանգվածը միայն ձեռքով

Դասավորել զանգվածը առանց ալգորիթմի

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

my_list * n, որտեղ n-ը կրկնման թիվն է

my_list + n, որտեղ n-ը գումարման թիվն է

my_list[n], որտեղ n-ը ցուցակի ինդեքսն է

my_list.append(n), որտեղ n-ը նոր տարր է

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

len(my_array)

size(my_array)

count(my_array)

my_array.length()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

list1.insert(0, list2)

list1 * list2

list1 + list2 կամ list1.extend(list2)

list1.append(list2)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Ինչպես ստեղծել դատարկ զանգված Python-ում:

empty_list = []

empty_list = ()

empty_list = {}

empty_list = None

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?