Search the courses, subjects, tracks, games and features, or jump straight to a page.
2 cards from this section. Quick, good the night before a test.
What is a fixed size array?
Think about whether you can add elements after creation.
Can an array hold multiple data types?
Consider how we define a variable in programming.
What does it mean for an array to have a fixed size?
Think about how you define an array in programming.
True or False: An array can hold different types of data.
Consider whether you can mix data types freely.
Create a program that initializes an integer array of size 5, and tries to add a 6th element, detailing the error received.
What does the error message say?
Evaluate different data structures you could use to manage a collection of products, each with varying attributes, that cannot fit into a homogeneous array.
Think about how you would define different characteristics of each product.
5 more questions in this section. Enroll free to practise them all.
Enroll free