Big Idea 1: Creative Development (10-13%) Flashcards
(17 cards)
Computing Innovation
includes a program as an integral part of its function to solve problems or to pursue interests through creative expression
Program (software)
collection of program statements that performs a specific task when run by a computer
Code Segment
collection of program statements that is part of a program
Program Behavior
how a program functions during execution and is often described by how a user interacts with it
Program Inputs
sent to a computer for processing by a program (tactile, audio, visual, or text)
Program Outputs
data sent from a program to a device. (tactile, audio, visual, or text)
Event
associated with an action and supplies input data to a program (Ex. Key Press, Mouse Click)
Event-driven Programming
program statements are executed when triggered rather than through the sequential flow of control
Iterative Development Process
- requires refinement and revision based on feedback, testing, or reflection throughout the process
- may require revisiting earlier phases of the process
Incremental Development Process
breaks the problem into smaller pieces and makes sure each piece works before adding it to the whole
Testing
- uses defined inputs to ensure that an algorithm or program is producing the expected outcomes
- testing results are used to revise their algorithms or programs
Program Documentation
written description of the function of a code segment, event, procedure, or program and how it was developed
Comments
form of program documentation written into the program to be read by people and do not affect how a program runs
Logic Error
mistake in the algorithm or program that causes it to behave incorrectly or unexpectedly (ex. Incorrect logical operator)
Syntax Error
mistake in the program where the rules of the programming language are not followed (ex. No semicolon)
Run-time error
mistake in the program that occurs during the execution of a program (Ex. division by zero)
Overflow Error
- an error that occurs when a computer attempts to handle a number that is outside of the defined range of values (Ex. Trying to represent 22 in a 4 bit system that only handles 0 to 15)
- some computer languages have limits on the size of data types as integers are represented by a fixed number of bits, which limits the range of integer values and mathematical operations on those values