528,443 views
7 votes
7 votes
Giving 20 points cause its a large question.Help Me with my Coding Work: 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.

What are the four main components of programming languages, and why is each one needed?
Give your own examples for how list and dictionary data structures could keep track of some common information you might need. Your examples should be different from the ones in the unit.
Why would a programmer use a software artifact, such as a flowchart?
Finish identifying the data types of each of the following pieces of data:
TABLE Identify data types
Data Data Type
“Hermione”

String

13.5

-6

“18 Mingle Lane”

False

-20.4

“Bonjour”

12345

User Schubert
by
2.8k points

2 Answers

15 votes
15 votes
the answer is your tens js
User Dylan Hayes
by
2.9k points
26 votes
26 votes

Answer:In python, when we declare a float or an integer, we declare like below:

a=2 for int

b=2.0 for float

And when we do this operation in c++, we write

int a;

float b;

And when we write this in Pascal, we use:

a: integer

b: float

and we assign value like:

a:=2

b:=2.0

And you should know that if you will not follow the syntax, then the compiler or the interpreter will throw syntax error, and you will not be able to run your program. The syntax is very important.

Step-by-step explanation:

User MystyxMac
by
2.9k points