Arrays & Strings  in programming

Arrays & Strings in programming

8th Grade

14 Qs

quiz-placeholder

Similar activities

9.1.5 - Starter Quiz

9.1.5 - Starter Quiz

7th - 11th Grade

14 Qs

Python Intro

Python Intro

8th - 9th Grade

10 Qs

Python Lists

Python Lists

7th - 11th Grade

9 Qs

Python: Syntax Quiz

Python: Syntax Quiz

7th - 12th Grade

13 Qs

Python lists

Python lists

8th Grade

10 Qs

Python II Lesson 2

Python II Lesson 2

5th - 9th Grade

12 Qs

LIST IN PYTHON

LIST IN PYTHON

8th - 10th Grade

15 Qs

Python Basics - Quiz

Python Basics - Quiz

8th - 11th 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?