Software Design and Development - Data types and structures
No description yet. This curated deck is ready for daily study.
Card preview (6)
In programming, what are data types?
Data types identify the type of data held by a variable: • Character • String • Integer • Real • Boolean
In programming, what is a character?
A character is a single letter, number or symbol. Examples: A ! 7 The character data type is used to store one single character only
In programming, what is a string?
A string is a group of characters held together. To store more than one character, use the string data type. String is used more often than character. A firstname would be held as a string e.g.Hannah
In programming, what is an integer?
An integer is a whole positive or negative number. To store a whole number, use the Integer data type. E.g. 14 -21 223
In programming, what is a real?
A real number is a number that includes a decimal value. The real data type is often called ‘Single’ when using a programming language. Real numbers are used to store positive or negative numbers that include a decimal value e. g. 21. 54 - 54.12423
In programming, what is a boolean?
The Boolean data type is used to store either true or false