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

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

7th Grade

15 Qs

quiz-placeholder

Similar activities

HTML codes

HTML codes

6th - 8th Grade

10 Qs

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

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

7th Grade

15 Qs

Berezhnoy

Berezhnoy

7th Grade

11 Qs

Mastering Python List Operations

Mastering Python List Operations

7th Grade

10 Qs

Python Tuples

Python Tuples

7th - 8th Grade

10 Qs

Arrays and Lists

Arrays and Lists

6th - 12th Grade

10 Qs

Code.org: Express Course -> Lesson 1 and 2

Code.org: Express Course -> Lesson 1 and 2

5th - 7th Grade

13 Qs

GCSE J277 - 2.1.3 - Sorting Algorithms

GCSE J277 - 2.1.3 - Sorting Algorithms

7th Grade

20 Qs

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

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

Assessment

Quiz

Computers

7th Grade

Hard

Created by

Ruzan Karapetyan

Used 3+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?