157,156 views
37 votes
37 votes
Pls help! 50 points! (And the subject is coding)

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.

2. What are the four main components of programming languages, and why is each one needed?

3. 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.

4. Why would a programmer use a flowchart?

5. Finish identifying the data types of each of the following pieces of data:

Pls help! 50 points! (And the subject is coding) 1. You learned that there are many-example-1
User Jason Young
by
2.7k points

2 Answers

14 votes
14 votes

Answer:

What the other person said

Step-by-step explanation:

User Blaine
by
2.8k points
13 votes
13 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 Satbir
by
2.9k points