Data Types - Arrays, Lists and Tuples

Quiz
•
Computers
•
12th Grade
•
Hard

Michelle Semmens
Used 33+ times
FREE Resource
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Complete this sentence: Arrays are ……………… data structures.
Linear, homogenous and static
Linear, homogeneous and dynamic
Non-Linear, homogenous and static
Non-linear, non-homogenous and dynaic
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is TRUE about arrays?
Arrays store data in a certain order
All data in an array are of the same data type
Each element has a corresponding index value
All of the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Complete this sentence: ……………… module is initiated from Python library to work with arrays.
array
data structures
index
none of the above
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Complete this sentence: Index of an array starts with ………………
0
1
-1
2
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
An array number_of_students represents 10 students’ marks. Which of the following represents this array declaration?
number_of_students=array('i', range(10))
number_of_students=array.array('i', range(1,10))
number_of_students=array.array('i', range(10))
None of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A program prompts the user to input values to an array. What programming structure is required for this?
Case Structures
if... else...
Iteration
None of the above
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
An array student mark consists of data: [90,85,70,75,80]. What is the output of print(student mark[3])?
70
75
80
Create a free account and access millions of resources
Similar Resources on Wayground
14 questions
Arrays, lists, tuples, stacks and queues

Quiz
•
11th - 12th Grade
15 questions
2D Lists and Arrays

Quiz
•
10th - 12th Grade
13 questions
1.3.1. Compression, Encryption and Hashing

Quiz
•
12th Grade
16 questions
CSA Unit 3 Review

Quiz
•
10th - 12th Grade
19 questions
3D MODELING & ANIMATION_B

Quiz
•
9th - 12th Grade
20 questions
Java, part I

Quiz
•
11th Grade - University
15 questions
Area and Arrays

Quiz
•
10th - 12th Grade
20 questions
Uji Pemahaman Struktur Data

Quiz
•
9th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade