Page 79 - Dig_CodeAI_V2.1_Class_8
P. 79
C. State whether these statements are true or false.
1. Argument is the actual value passed to a function when it's called.
2. The continue statement stops the loop from its execution.
3. Jump statements in programming are used to change the flow of control by
skipping, starting again or exiting certain parts of the code.
4. The Add block is used to concatenate (combine) two or more pieces of
text (strings) together into a single string.
5. The for loop allows for actions and tasks that repeat until certain conditions are met.
D. Answer the following questions:
1. What is the purpose of using loops in programming?
2. Explain how the break statement works within a loop.
3. What are the benefits of using functions in programming?
4. Explain the concept of parameters and arguments in the context of a function.
5. Describe the process of creating a function in MakeCode Arcade.
Advanced MakeCode Arcade 77

