All vocab
Comments
a form of program documentation written into the program to be read by people and do not affect how a program runs.
Program documentation
a written description of the function of a code segment, event, procedure, or program and how it was developed.
program output
any data sent from a program to a device. Program output can come in a variety of forms, such as tactile, audio, visual, or text. In our programs, the output will always be visual.
Parameters
are input variables of a procedure.
Events
associated with an action and supplies input data to a program.
expression
can consist of a value, a variable, an operator, or a procedure call that returns a value.
Program input
data sent to a computer for processing by a program. Input can come in a variety of forms, such as tactile, audio, visual, or text.
Testing
defined inputs to ensure that an algorithm or program is producing the expected outcomes. Programmers use the results from testing to revise their algorithms or programs.
incremental
development process is one that breaks the problem into smaller pieces and makes sure each piece works before adding it to the whole.
iterative
development process requires refinement and revision based on feedback, testing, or reflection throughout the process. This may require revisiting earlier phases of the process.
Program behavior
how a program functions during execution and is often described by how a user interacts with it.
procedure
instead of functions for AP
program
is a collection of program statements that performs a specific task when run by a computer. A program is often referred to as software.
logical error
is a mistake in the algorithm or program that causes it to behave incorrectly or unexpectedly.
Runtime error
is a mistake in the program that occurs during the execution of a program. Programming languages define their own run-time errors.
syntax error
is a mistake in the program where the rules of the programming language are not followed.
code statement
is a part of program code that expresses an action to be carried out.
procedure
named group of programming instructions that may have parameters and return values.
code segment
refers to a collection of program statements that are part of a program.
Arguments
specify the values of the parameters when a procedure is called.