Search the courses, subjects, tracks, games and features, or jump straight to a page.
5 cards from this section. Quick, good the night before a test.
What is an integer? Provide an example.
Think of numbers like 1, 0, and -5.
What characters can a character data type hold?
Remember it's only one character, not a word.
What type of data does an integer represent?
Think of counting numbers.
True or False: A boolean can contain multiple values.
Remember, a boolean is like a light switch.
Create a function that takes an integer and a float, and returns their sum. What will the return type be?
Consider how different data types interact when added.
Why is it a problem to store a string as an integer? Provide a specific example.
Think about how data types need to match for proper storage.
6 more questions in this section. Enroll free to practise them all.
Enroll free