
Pseudocode - Arrays
Authored by Sam Knott
Computers
8th - 11th Grade
Used 29+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the labels show the array index?
A
B
C
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which index is label C pointing to?
7
8
9
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the labels points to the representation of a memory address?
A
B
C
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the image above show?
An array
A 2D array
An IF statement
No idea!
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the labels points to the index {r1, c3}?
A
B
C
D
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the labels points to the 'rows' arrow?
A
B
C
D
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is the correct pseudocode to read (and print) all elements from an array?
FOR i = 1 TO LENGTH(array)
variable <-- array[i]
OUTPUT: array[i]
ENDFOR
FOR i = 1 TO LENGTH(array)
variable <-- array[i]
OUTPUT: variable
ENDFOR
FOR i = 1 TO LENGTH(array)
array[i] <-- variable
OUTPUT: variable
ENDFOR
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?