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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly