1/194
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
Big Idea 1: Creative Development 🧠
Programming is a collaborative and creative process that brings ideas to life through the development of software.
Computing Innovation
A computing innovation uses a computer program to take in data, transform data, and output data.
Collaboration in Programming
Collaboration can occur in planning, testing, or designing; benefits include shared ideas, better solutions, fewer misconceptions, and less bias.
Pair Programming
Two programmers work together side-by-side on one computer to write the same code or algorithm.
User Interface
The inputs and outputs that allow a user to interact with a piece of software.
Camel Case
Naming convention where the first word is lowercase and each additional word is capitalized. Ex: stopButton
Input
Data sent into a computer for processing.
Output
Data sent from a program to a device.
Program
A collection of instructions that a computing device executes.
Code Segment
A smaller collection of statements that are part of a larger program.
Program Event
An action or occurrence like a click or key press that triggers behavior in a program.
Event-Driven Program
A program that responds to user or system events like clicks or inputs.
Sequential Program
A program that runs instructions in a set order.
Iterative Development Process
A development method where programmers create working prototypes and improve them through repeated cycles.
Incremental Development Process
A method where programmers build and test small parts of the program before adding them to the whole.
Program Documentation
A description of how parts of a program work; helps others understand and maintain the program.
Benefit of Documentation
It improves collaboration and makes the program easier to understand.
Most Common Documentation Style
Comments written directly in the code. Ex: //This on event allows so that clicking this button…
Library
A collection of reusable functions that can be used in different programs.
API (Application Program Interface)
Documentation that explains how functions in a library work, their parameters, and return values.
Syntax Error
An error caused by breaking the rules of the programming language (like punctuation or capitalization mistakes).
Example of Syntax Error
Using 'A' instead of 'a' when variables are case-sensitive.
Logic Error
An error in the program’s logic that leads to incorrect or unexpected results.
Example of Logic Error
A program that prints multiple grades because conditions are not mutually exclusive.
Run-Time Error
An error that occurs while the program is running, like dividing by zero.
Example of Run-Time Error
Display(5/0) causes the program to crash because division by 0 is undefined.
Overflow Error
An error caused by a number exceeding the computer’s allowed value range.
Example of Overflow Error
Storing x <— 2000*365 causes an overflow because the result is too large.
Debugging
The process of finding and fixing errors in a program.