Primitive data types

Variables and types are two concepts shared by most programming languages. Variables are kind of like reserved spaces for values of certain type. Each variable has a name and associated value, which can be an

Different programming languages expose different primitive data types, for example, Python has list (a list of objects) and dict (a hash table of objects) and many more types.

Example

variable namevariable typeexample value (of variable)
counterint2
hello_textstr"Hello, world!"
PIfloat3.1415926
list_of_intslist[4, 1, 2, 0]

The choice of variable name lies with the programmer. The code is only readable when names are chosen wisely.

Task

Your task is to get familiar with basic data types that are available in almost all programming languages, regardless of your preference.

Read the full Wiki article on topic and possibly follow all the linked pages too.

Use LibreOffice Calc (a solid Microsoft Excel replacement) to create a spreadsheet of tabular information comparing different popular types.

Some of the information you MUST include is:

You are welcome to include your own notes and remarks. Once finished, submit the spreadsheet for evaluation.