Mod 10.4 Flashcards
What is a loop in programming?
A sequence of instructions that is executed repeatedly.
What is branching in computer programming?
A method to execute a different sequence of instructions based on a condition
Why are comments ignored by the computer?
Because they are not part of the executable code
What is sequential flow in a program?
Code that runs in the order it is written
What is a function call in programming?
A command to run another part of the program and return
What is debugging?
Fixing mistakes in code
What is object-oriented programming (OOP)?
A way to model real-world objects in computer code.
What is a class in object-oriented programming (OOP)?
A blueprint or template for creating objects.
What is a function in programming?
A piece of code that does one specific job
What do you put inside the parentheses when using a function?
The arguments or values the function needs to process