Can a syntax error occur in a block-based code? Why or why not?
What are some strategies that you can use when you debug a program?
How would you describe the difference between a syntax error and a logic error?
What are some real-life situations that require a program that is iterative? Include at least three examples in your answer.
How would you describe the relationship between blocks of code and commands?

Respuesta :

If you don’t know the answer, don’t try to answer, *sigh* some people these days...

Can a syntax error occur in a block-based code? Why or why not?

No. Because block code is not actual code, it’s like a simplified version.

What are some strategies that you can use when you debug a program?

When there is a bug, don’t look through the whole code, you should focus on the area that may be causing the bug.

How would you describe the difference between a syntax error and a logic error?

Syntax error is when the rules of the language aren’t followed (like using a variable wrong or forgetting a colon.)

A logic error is a bug within the structure or algorithm of a code.

What are some real-life situations that require a program that is iterative? Include at least three examples in your answer.

Apple releases different version of the iPhone to make it work better.

Coke uses different formulations of Coca Cola to get the best tasing version.

A cook may change a recipe to make it taste better.

How would you describe the relationship between blocks of code and commands?

Code makes the block, commands run the blocks.

Answer:

1. A syntax error cannot occur in a block based code because block based code isn’t actual code, it is a version of it.

2. When there is a bug, you should go to the place where something wrong happened and fix that.

3. A syntax error is when we type something that is not in the computer language. A logic error is in the algorithm of a code.

4. The Tesla company releases new models of teslas. An author publishes a new book. A person changing their furniture.

Explanation: