112k views
2 votes
Do together and Do in Order are each described as "control statements." Why?

(A) Because they allow you to control the flow of execution of your program.
(B) Because they allow you to repeat a block of code multiple times.
(C) Because they allow you to make decisions about which code to execute.
(D) All of the above.

User Vinodkone
by
8.5k points

1 Answer

3 votes

Final answer:

"Do together" and "Do in Order" are control statements that allow you to control the flow of execution in a program.

Step-by-step explanation:

Do together and Do in Order are control statements in programming because they allow you to control the flow of execution of your program. With Do together, you can execute multiple blocks of code simultaneously, whereas with Do in Order, you can specify the order in which the blocks of code should be executed.

Do together and Do in Order do not primarily focus on repeating code or making decisions, although they can be used in conjunction with other control statements to achieve these functionalities.

In summary, control statements like Do together and Do in Order provide programmers with the ability to have greater control over the sequence of code execution in their programs.

User Rawoof Ahamed
by
8.0k points