Массивке енгізу және өшіру

Quiz
•
Computers
•
9th Grade
•
Hard
Shadiyar Murtaza
Used 25+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
a=arr.array('i', [5,6,7,8,9,10]). 10 санын қай код өшіреді?
a.remove(10)
a.pop(10)
del a[6]
a.insert(10)
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Қай жауап del, remove, pop кілт сөз бен әдістеріне ортақ?
олар енгізу әдістері
олар массивке элемент кіріктіру әдістеру
олар массив элементін өшіруге қолданылады
олар массив атаулары
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
a=arr.array('i',[1,2,3,4,5])
a.insert(1,6)
Тізбек қалай өзгерді?
1 2 6 3 4 5
1 6 2 3 4 5
6 1 2 3 4 5
1 2 3 4 5 6
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Array модулінің сұрыптау әдісі қайсысы?
a.Sort()
a.Sorted()
a.sort
a.sort()
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Керісінше сұрыптау үшін қайсы әдіс дұрыс?
a.sort()
a.sort(reverse=True)
a.reversesort()
a.reverse()
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
a=arr.array('i',[1,3,6,7,8])
t=a[0]
a[0]=a[3]
a[3]=t
Массив тізбегі өзгерістен соң қайсысы дұрыс?
3 1 6 7 8
7 3 6 1 8
6 3 1 7 8
8 3 6 7 1
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
a=arr.array('i')
a.extend([6,8,9,4,5,3])
a.append(0)
print(len(a))
Осы кодтардан соң программа нәтижесі қандай?
len()-массив өлшемі
7
6
8
5
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
AP CS A Unit 6 Quiz PRACTICE

Quiz
•
9th - 12th Grade
10 questions
9-сынып. Python массив.

Quiz
•
1st - 9th Grade
15 questions
Unit 8 Javascript Quiz

Quiz
•
9th - 12th Grade
10 questions
C Programming - Dia Aberto - EPC

Quiz
•
9th - 12th Grade
12 questions
APCSA Unit 7

Quiz
•
9th - 12th Grade
15 questions
9 сынып массив2

Quiz
•
9th Grade
10 questions
Sorting Algorithms

Quiz
•
9th - 12th Grade
15 questions
Unit 8 - Searching and Sorting

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade