Answer the following statements true (T) or false (F)

1. One reason for using functions is to break programs into a set of manageable units, or modules.
2. If a function has no return statement, the flow of control moves to the next function in the file when the closing brace of the function body is reached.
3. When you make a function call, the order of the arguments you send does not matter as long as the number of arguments matches the number of parameters the function has.
4. Although global variables can be useful, it is considered good programming practice to restrict your use of them.
5. Both function headers and function calls must list the data types of all data being passed to the function.

1. TRUE
2. FALSE
3. FALSE
4. TRUE
5. FALSE

Computer Science & Information Technology

You might also like to view...

What happens if you increase a volume too far?

What will be an ideal response?

Computer Science & Information Technology

Provide at least five different suggestions for how to protect your privacy online.

What will be an ideal response?

Computer Science & Information Technology