Programming - data types Flashcards
1
Q
What are the data types for programming?
A
Character - a single letter or number String - A combination of letters, numbers, symbols and spaces Integer - A whole number Real - A number with fractions Boolean - True or false
2
Q
Why should code be annotated for maintenance?
A
Code should be annotated for maintenance because this will make it easier for others to make changes at a later data.
Changes may be needed to remove bugs that are found or upgrade the program to add more functionality.