FUNCTION- a group of instructions that is often repeated
DEBUG- to analyse a piece of code and ensure there is no errors
SEQUENCING- placing code in a specific order(/sequence)
LOOP- doing something over and over again until a requirement is met
REPEAT- performing the same tasks again and again
CONDITIONALS- certain requirements
VARIABLE- something that is defined in a piece of code
A PROGRAMMER IS TO A COMPUTER AS A TEACHER IS TO: A student
A GOOD ALGORITHM MUST BE: Efficient and easy to understand
IMAGINE WRITING A PROGRAM THAT INSTRUCTS A BIRD HOW TO TAKE OFF, FLY AND LAND. WHAT FUNCTION IS LIKELY TO BE LOOPED? The fly function as a bird flies a longer period of time
WHICH OF THE FOLLOWING IS MOST SIMILAR TO A FUNCTION? *no choices so unable to answer*
WHAT DO VARIABLES AND FUNCTIONS HAVE IN COMMON? They both have to be defined
8. THE MAIN CAUSE OF BUGS IN CODING IS: Human error
9. LIST THE FOLLOWING IN ORDER FROM THE SIMPLEST TO MOST COMPLEX:
- PROGRAM
- FUNCTION
- STEP
10. IF A PROGRAM HAS GONE THROUGH MANY ITERATIONS, WHAT MUST BE TRUE? A condition(?)
11. What is a benefit of DRYing up code? c. It saves programmers time
12. A statement in a function can be most closely compared to: a. A step in a recipe
T/F: ARE THE SOLUTIONS PROVIDED TRUE? *no choices so unable to answer*
Hopefully this helped and I'm sorry I was unable to answer some questions :)