
N5 SDD - 1D Arrays Revision
Authored by Tracy Mutter
Computers
10th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a 1D array?
A. A collection of elements arranged in multiple rows and columns
B. A collection of elements arranged in a single row
C. A collection of elements arranged in a single column
D. A collection of elements arranged in a circular pattern
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you access the third element in a 1D array named scores in most programming languages?
A. scores[2]
B. scores[3]
C. scores[1]
D. scores[0]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a correct way to traverse a 1D array in Python?
A. for i in range(len(array)): print(array[i])
B. for i in array: print(array[i])
C. for i in range(array): print(array[i])
D. for i in len(array): print(array[i])
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the index of the last element in a 1D array with 10 elements?
A. 9
B. 10
C. 8
D. 11
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements is true about 1D arrays?
A. All elements must be of different data types
B. The size of the array can change dynamically
C. All elements must be of the same data type
D. Arrays cannot store integer values
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of traversing a 1D array?
A. To delete all elements in the array
B. To access and process each element in the array
C. To sort the elements in descending order
D. To merge the array with another array
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
Network Security
Quiz
•
9th - 11th Grade
10 questions
What is a program slides(6:16)
Quiz
•
8th - 12th Grade
10 questions
ExamenHojasdecalculo
Quiz
•
10th Grade
10 questions
𝐂𝐡𝐚𝐩𝐭𝐞𝐫 𝟐—The Blueprints for Modern Computers
Quiz
•
10th Grade
10 questions
Java: repetition control structure for & while
Quiz
•
10th - 12th Grade
10 questions
BÀI KIỂM TRA GIỮA KÌ 2 - LỚP 3
Quiz
•
1st - 10th Grade
10 questions
Alapismeretek
Quiz
•
7th - 12th Grade
10 questions
Scratch
Quiz
•
KG - Professional Dev...
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade