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
16 questions
Higher SDD 1

Quiz
•
12th Grade
13 questions
Data Structures - Arrays

Quiz
•
12th Grade
20 questions
APCS A - Array 6.1,6.2,6.3,6.

Quiz
•
9th - 12th Grade
23 questions
Intro to Algorithms

Quiz
•
9th - 12th Grade
21 questions
Data Structures

Quiz
•
9th - 12th Grade
15 questions
CPM9.1-9.3 Quiz Review

Quiz
•
9th - 12th Grade
14 questions
Arrays, lists, tuples, stacks and queues

Quiz
•
11th - 12th Grade
20 questions
Pointers

Quiz
•
12th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
6 questions
Maier - AMDM - Unit 1 - Quiz 1 - Estimation

Quiz
•
12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade
21 questions
9th Grade English Diagnostic Quiz

Quiz
•
9th - 12th Grade
7 questions
Characteristics of Life

Interactive video
•
11th Grade - University