Arrays & Strings in programming
Quiz
•
Computers
•
8th Grade
•
Practice Problem
•
Medium
SILJA DXB)
Used 14+ times
FREE Resource
Enhance your content in a minute
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()
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Computer Languages
Quiz
•
KG - University
17 questions
ICT-CE-Chapter 2 Part 1
Quiz
•
6th - 8th Grade
10 questions
Code HS Tracy Phyton Quiz
Quiz
•
6th - 8th Grade
10 questions
Python Variables
Quiz
•
7th - 12th Grade
15 questions
computer language
Quiz
•
5th - 10th Grade
15 questions
Latihan Soal Sistem Komputer
Quiz
•
8th Grade
15 questions
Programación
Quiz
•
7th - 9th Grade
14 questions
Advanced Functions
Quiz
•
6th - 8th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
