Quiz: Integers, Reals/Floats and When to Use Each
A-Level Computer Science - 7517
Ready to start this lesson?
Sign in to track your progress. 11 steps including 9 interactive questions.
Sign In to Start LearningStudents also studied
Browse allSteps in this lesson (11)
Building on what you've learned about data types, let's test your knowledge of integers, reals/floats, and when to use each!
Which of these is an integer?
Start the lesson to answer this multiple choice question
Which of the following are examples of real/float data types? (Select all that apply)
Start the lesson to answer this multi-select question
An {{blank0}} is used when whole numbers are needed, while a {{blank1}} is used when fractional values are required.
Start the lesson to answer this fill in the blank question
Match the items on the left with their correct pairs on the right
Start the lesson to answer this matching question
What is the result of adding the integer 5 to the float 2.75?
Start the lesson to answer this math equation question
Which data type would be most suitable for storing someone's height in metres?
Start the lesson to answer this multiple choice question
Match the items on the left with their correct pairs on the right
Start the lesson to answer this code completion question
Match the items on the left with their correct pairs on the right
Which of these scenarios requires using an integer?
Start the lesson to answer this multiple choice question
Which of the following statements about integers and floats are true? (Select all that apply)
Start the lesson to answer this multi-select question

Want to Learn More?
Get personalised lessons, quizzes, and instant feedback from your AI tutor.
Explore More Topics