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
15 questions
ÔN TẬP HKII-02

Quiz
•
8th Grade
10 questions
Python Basics - Quiz

Quiz
•
8th - 11th Grade
15 questions
Milestone Exkul SMP SMA - Q8_2022_Python Exploration

Quiz
•
6th - 8th Grade
10 questions
Data

Quiz
•
8th Grade
11 questions
Quiz 5: Internet safety, cyber security and encryption

Quiz
•
7th - 8th Grade
11 questions
Kotlin

Quiz
•
1st - 12th Grade
10 questions
Q382-Formatif

Quiz
•
8th Grade
10 questions
Python

Quiz
•
8th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade