Arrays & Strings  in programming

Arrays & Strings in programming

8th Grade

14 Qs

quiz-placeholder

Similar activities

MẢNG

MẢNG

6th - 8th Grade

10 Qs

TIN HOC LOP 8 L2

TIN HOC LOP 8 L2

6th - 9th Grade

9 Qs

ÔN TẬP CHKII_01

ÔN TẬP CHKII_01

8th Grade

15 Qs

Java Data Structures

Java Data Structures

1st - 10th Grade

10 Qs

Tipos de Variables

Tipos de Variables

8th Grade

16 Qs

Advanced Functions

Advanced Functions

6th - 8th Grade

14 Qs

Python Introduction Quiz

Python Introduction Quiz

8th - 9th Grade

12 Qs

AV1\R1 3TEC_BE_Acesso a Propriedades em JavaScript 1 a 16

AV1\R1 3TEC_BE_Acesso a Propriedades em JavaScript 1 a 16

1st Grade - University

15 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?