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
12 questions
Python Fundamentals

Quiz
•
8th Grade
15 questions
JAVA: Level-1

Quiz
•
5th - 12th Grade
10 questions
Python Lists

Quiz
•
8th - 9th Grade
15 questions
Python Lists

Quiz
•
8th - 12th Grade
12 questions
9.1.6 - Starter Quiz

Quiz
•
8th - 9th Grade
15 questions
Grade 8 End of Unit Revision

Quiz
•
8th Grade - University
10 questions
Week 6 Homework - Python Revision

Quiz
•
8th Grade
11 questions
Quiz: Python Débutant Niveau 1

Quiz
•
6th - 8th Grade
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Afterschool Activities & Sports

Quiz
•
6th - 8th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
15 questions
Cool Tool:Chromebook

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
20 questions
Bullying

Quiz
•
7th Grade
18 questions
7SS - 30a - Budgeting

Quiz
•
6th - 8th Grade