Data Types - Arrays, Lists and Tuples

Data Types - Arrays, Lists and Tuples

12th Grade

18 Qs

quiz-placeholder

Similar activities

Lecture Exercise Topic 1.3

Lecture Exercise Topic 1.3

12th Grade

21 Qs

Logika & Pemrograman (ID)

Logika & Pemrograman (ID)

10th Grade - Professional Development

20 Qs

Quiz ASJ

Quiz ASJ

12th Grade

20 Qs

4.6.4 Logic Gates

4.6.4 Logic Gates

10th Grade - Professional Development

15 Qs

quiz_G10

quiz_G10

12th Grade

20 Qs

Google

Google

7th - 12th Grade

20 Qs

TMK TAHUN 5 2018(MODUL 1/ UNIT 1)

TMK TAHUN 5 2018(MODUL 1/ UNIT 1)

10th - 12th Grade

20 Qs

Five Nights At Freddy's: Security Breach Quiz

Five Nights At Freddy's: Security Breach Quiz

KG - Professional Development

13 Qs

Data Types - Arrays, Lists and Tuples

Data Types - Arrays, Lists and Tuples

Assessment

Quiz

Computers

12th Grade

Practice Problem

Hard

Created by

Michelle Semmens

Used 33+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?