Arrays & Strings  in programming

Arrays & Strings in programming

8th Grade

14 Qs

quiz-placeholder

Similar activities

9-сынып. Python массив.

9-сынып. Python массив.

1st - 9th Grade

10 Qs

Python - Loops & Lists

Python - Loops & Lists

7th - 11th Grade

15 Qs

Python

Python

7th - 8th Grade

13 Qs

Python Lists

Python Lists

7th - 11th Grade

9 Qs

K3MT 201920 SC 025 (Array 1)

K3MT 201920 SC 025 (Array 1)

KG - University

11 Qs

Sortiranje

Sortiranje

8th - 9th Grade

16 Qs

Seberapa pengetahuanmu tentang analisis data ? Kita uji kuy !

Seberapa pengetahuanmu tentang analisis data ? Kita uji kuy !

1st - 12th Grade

15 Qs

Python Data Structures

Python Data Structures

8th - 12th Grade

10 Qs

Arrays & Strings  in programming

Arrays & Strings in programming

Assessment

Quiz

Computers

8th Grade

Medium

Created by

SILJA DXB)

Used 14+ times

FREE Resource

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How are data items added to an array?

Items are appended to the next free index

In alphabetical order

Whichever way you want

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In names=["Mohamed","John","Arjun"] Index value 1 is?

Mohamed

John

Arjun

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To declare an array, you must use............

brackets[ ]

parenthesis()

curly braces{ }

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The location of an item in an array is called............

element

index

value

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which code is used to add an item to a list?

variable.add()

variable.append()

append.variable()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following are advantages of arrays?

Easier to store elements of similar data type

Elements stored in an array cannot be sorted

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which code is used to REMOVE an item to an array?

pop()

append()

sort()

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?