Arrays & Strings in programming

Quiz
•
Computers
•
8th Grade
•
Medium
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
Similar Resources on Wayground
14 questions
Lists, Subroutines and Sequence in Pseudocode - Python

Quiz
•
1st - 11th Grade
10 questions
9-сынып. Python массив.

Quiz
•
1st - 9th Grade
11 questions
Python strings

Quiz
•
8th - 9th Grade
15 questions
coding

Quiz
•
KG - Professional Dev...
12 questions
9.1.6 - Starter Quiz

Quiz
•
8th - 9th Grade
13 questions
python для новичков

Quiz
•
4th - 11th Grade
10 questions
Data Representation - Instructions

Quiz
•
3rd - 12th Grade
9 questions
Python Lists

Quiz
•
7th - 11th Grade
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade