Iteration Answers

4 verified answers2 views
1
Free Preview

What is a function?

A
a way to compare variables
B
the result of executing a command
C
a block of code organized to perform a task
D
a way to reuse and recombine lines of code
2
Free Preview

Where are functions stored?

A
in the development environment or on the Internet
B
in the development environment or in an individual program
C
in an individual program or on a computer’s hard drive
D
in an individual program or in a lookup table
3

Which answer below correctly identifies two parts of a function?

A
arguments and executables
B
arguments and statements
C
statements and Python
D
executables and programs
4

Why is correct function syntax important?

A
If a function is not written and formatted correctly, the Python development environment will crash.
B
If a function is not written correctly, it will run, but the rest of the program will return strange results.
C
If a function is not written correctly, Python will run only half of the statements.
D
If a function is not written and formatted correctly, Python will not be able to run it successfully.

Did you find these answers helpful?

Iteration Answers — VA-Information Technology…