Exam 8: Lists and Arrays
Exam 1: Introduction to Alice and Objects52 Questions
Exam 2: Programming in Alice48 Questions
Exam 3: Variables, Functions, Math, and Strings46 Questions
Exam 4: Decision Structures30 Questions
Exam 5: Repetition Structures20 Questions
Exam 6: Methods, Functions, and More About Variables46 Questions
Exam 7: Events46 Questions
Exam 8: Lists and Arrays48 Questions
Exam 9: Recursion28 Questions
Select questions type
A(n) ___________________ holds a group of items and can be added to while the world is running.
(Short Answer)
4.9/5
(44)
The Do together instruction is used to have each element of a list execute the same instructions simultaneously.
(True/False)
4.9/5
(40)
An array can have additional elements added to it while the world is running.
(True/False)
5.0/5
(43)
What is the index of the last position in an array that contains 10 items?
(Multiple Choice)
4.8/5
(43)
What is the index of the first position in an array that contains 10 items?
(Multiple Choice)
4.9/5
(33)
Given an array, animalArray, that contains the objects: cat, dog, tiger, lion, monkey; item 2 from animalArray would refer to ___________________.
(Short Answer)
4.9/5
(39)
The ___________________ function is used to get the number of items stored in a list.
(Short Answer)
4.8/5
(45)
The first position in a list or array is position ___________________.
(Short Answer)
4.9/5
(39)
You can only remove an item that is currently in an array by replacing it with some other value.
(True/False)
5.0/5
(35)
Which instruction is used to step through each element of a list?
(Multiple Choice)
4.8/5
(39)
A(n) ___________________ holds a group of items and has a fixed size so new items cannot be added while the world is running.
(Short Answer)
4.9/5
(34)
Given a list, animalList, that contains the objects: cat, dog, tiger, lion; the function first item from list would return which object?
(Multiple Choice)
4.8/5
(31)
The last position in a list or array that contains 5 elements is position ___________________.
(Short Answer)
4.7/5
(41)
Which instruction is used when you want all of the elements of a list to execute the same instruction(s) simultaneously?
(Multiple Choice)
4.8/5
(44)
Given an array, animalArray, that contains the objects: cat, dog, tiger, lion; item 3 from animalArray would refer to which object?
(Multiple Choice)
4.8/5
(38)
The ___________________ instruction is used to step through each element of an array.
(Short Answer)
4.8/5
(46)
Given a list, animalList, that contains the objects: cat, dog, tiger, lion; the function ith item from list, given an index of 1, would return which object?
(Multiple Choice)
4.8/5
(39)
Showing 21 - 40 of 48
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)