Data Types Quiz

When using variables and constants in your programs it is important to use the correct data types.

The main data types are:

  • Integer: for whole numbers only such as 7,
  • Float/Real: for numbers with decimals only such as 9.81,
  • String: for piece of text. It can also include number digits and punctuation signs. e.g. “IP4 5HD”, “Hello world!”,
  • Boolean: for values which are either True or False,
  • Date & Time: for dates! (With or without a time): e.g. 31/12/2015 00:00:00, 25/12/2015

Test your knowledge of Data Types (open full screen):

Did you like this challenge?

Click on a star to rate it!

Average rating 2.7 / 5. Vote count: 290

No votes so far! Be the first to rate this post.

As you found this challenge interesting...

Follow us on social media!

Tagged with: