Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
What is an array?
Think about how data is organized.
How do you access the first element of an array?
Remember that indices start at zero.
What does an array store?
Consider what it means for data to be similar.
True or False: The first index of an array is always 1.
Think about how arrays are structured.
Create a program that stores a set of numbers in an array and returns the sum of all numbers.
Think about how you would accumulate totals using a loop.
Design a function that takes an integer array as an input and finds its smallest value.
You will need to loop through the elements and compare each one.
6 more questions in this section. Enroll free to practise them all.
Enroll free