
Arrays in Programming
Quiz
•
Other
•
11th Grade
•
Practice Problem
•
Medium
Evans Jeremiah
Used 2+ times
FREE Resource
Enhance your content in a minute
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an array?
A single variable that holds only one value
A special function in programming
A data structure that holds multiple values of the same type
A text formatting tool
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the index of the first element in most programming languages?
0
1
-1
100
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In QBASIC, how is an array declared?
ARRAY scores(5)
NEW scores[5]
DIM scores(5)
scores = ARRAY(5)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid array name?
1array
array-name
arr_1
array@123
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you assign a value to the third element of an array named scores in QBASIC?
scores[3] = 90
scores(3) = 90
scores = 90(3)
SET scores(3) = 90
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following best describes a one-dimensional array?
A table with rows and columns
A single row of data
A list with multiple types of values
A loop
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of using arrays in programming?
To slow down programs
To reduce memory
To store multiple values efficiently
To create functions
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
50 questions
Computer Hardware
Quiz
•
11th - 12th Grade
50 questions
Culinary Measuring
Quiz
•
9th - 12th Grade
50 questions
W!SE Practice Test 3
Quiz
•
9th - 12th Grade
50 questions
AP Unit 1 Foundations of Democracy
Quiz
•
9th - 12th Grade
45 questions
Promotion Enlisted Rank
Quiz
•
11th - 12th Grade
50 questions
Workplace Readiness Test
Quiz
•
9th - 12th Grade
46 questions
Constructive/Destructive Landforms and Processes
Quiz
•
6th - 12th Grade
50 questions
Mixed Review
Quiz
•
9th Grade - University
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
Discover more resources for Other
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
15 questions
Making Inferences
Quiz
•
7th - 12th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
7 questions
How James Brown Invented Funk
Interactive video
•
10th Grade - University
15 questions
Atomic Habits: Career Habits
Lesson
•
9th - 12th Grade
16 questions
ACT English - Grammar Practice #2
Quiz
•
11th Grade
20 questions
Banking
Quiz
•
9th - 12th Grade
