Answer:
I only have three answered but I hope this helps.
Explanation:
1. You learned that there are many different programming languages, just like there are many different spoken languages throughout the world. And programming languages have certain syntax, or rules, they have to follow in order for the computer to understand the commands. Give one example of syntax for one of the programming languages listed in the unit. Then give two examples of syntax from a language you know. Describe what will happen if you do not follow these rules in your language.
In python, when we declare a float or an integer, we declare like this:
a=2 for int
b=2.0 for float
4. Why would a programmer use a flowchart?
Programmers use flowcharts because the help the programmer see where the data will end up. Flow charts help programmers figure out where a potential problem area is and helps them with debugging or cleaning up code that is not working.
5. Finish identifying the data types of each of the following pieces of data:
Data Data Type
“Hermione” String
13.5 Float
-6 Integer
“18 Mingle Lane” String
False Boolean
-20.4 Float
“Bonjour” String
12345 Integer