
Arrays in Pseudocode

Quiz
•
Computers
•
5th Grade
•
Hard
Ryan Downie
Used 29+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The index of the first element in an array is:
1
First
0
[index]
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would this output?
array shopping = ["milk","eggs","apples"]
print(shopping[1])
milk
eggs
apples
milk, eggs, apples
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would this output?
array shopping = ["milk","eggs","apples"]
print(shopping[3])
apples
milk, eggs, apples
3
Error
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an array?
A block of adjacent memory locations, given an identifier, and each location has a numbered index
A sequence of numbers
An object that allows you to select an option and the algorithm branches from that point
A programming construct
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does PRIMM stand for?
Program, Run, Investigate, Modify, Make
Predict, Run, Implement, Modify, Make
Program, Run, Implement, Modify, Make
Predict, Run, Investigate, Modify, Make
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the length of this array?
array shopping = ["milk","eggs","apples"]
print(len(shopping))
3
4
2
Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would this output?
array shopping = ["milk","eggs","apples"]
print(shopping[0])
milk
eggs
apples
milk, eggs, apples
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the 'Modify' in PRIMM stand for?
Change the code to improve it
Change the code to fix errors
Change the code to add features
All of the above
Similar Resources on Wayground
10 questions
quiz 1

Quiz
•
1st - 5th Grade
8 questions
JS Talks, Quiz #4

Quiz
•
1st - 12th Grade
10 questions
Using commas and Citing Evidence

Quiz
•
5th Grade
12 questions
Computing Ethics

Quiz
•
KG - Professional Dev...
8 questions
Массив 9

Quiz
•
5th Grade
10 questions
C# lesson10

Quiz
•
1st - 10th Grade
13 questions
Dojo - Type Inference

Quiz
•
1st - 12th Grade
10 questions
Quiz_SBD

Quiz
•
1st - 5th Grade
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade