
long quiz dstru1
Quiz
•
Computers
•
University
•
Practice Problem
•
Easy
JEWEL MORALES
Used 4+ times
FREE Resource
Enhance your content in a minute
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following best describes an array?
A. Contiguous memory storing elements of the same type
B. A dynamic structure connected by pointers
C. A list where insertion and deletion follow FIFO
D. A collection with both forward and backward traversal
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method removes all elements from an array in Python?
pop()
clear()
remove()
del()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will numbers.pop(0) remove from [5, 10, 15]?
A. 5
B. 10
C. 15
D. None, it errors
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which array method returns the index of the first occurrence of a value?
find()
count()
index()
locate()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method appends multiple items to the end of a list at once?
append()
insert()
extend()
addAll()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method reverses the order of elements in an array?
reverse()
sort()
clear()
flip()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method sorts an array in ascending order by default?
order()
sort()
arrange()
sequence()
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
35 questions
Endlish
Quiz
•
University
40 questions
Soal Pemograman Dasar
Quiz
•
12th Grade - University
39 questions
Eng-103 Vocab 4
Quiz
•
University
40 questions
Susulan Quizz PAT Pilihan Ganda Semester Genap Kelas XII
Quiz
•
12th Grade - University
40 questions
CompTIA Security+ SY0-601 Chapters 9 - 12
Quiz
•
University
40 questions
HTML
Quiz
•
University
44 questions
Movies
Quiz
•
2nd Grade - Professio...
40 questions
C&SE PRE-KNOWLEDGE SURVEY (A+ 1102-CORE 2)
Quiz
•
University - Professi...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
