1/24
Unit 3- Covering Vocab over CMU Academy
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
Program?
A collection of program statements that performs a specific task when run by a computer. A program is often referred to as software.
Code segment?
A collection of program statements that are part of a program.
Program behavior?
How a program functions during execution and is often described by how a user interacts with it.
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.
Program documentation?
A written description of the function of a code segment, event, procedure, or program and how it was developed.
Comments?
Are program documentation for people to read that doesn’t affect the code.
iterative development?
A process requires refinement and revision based on feedback, testing, or reflection throughout the process. This may require revisiting earlier phases of the process.
Incremental development?
A process is one that breaks the problem into smaller pieces and makes sure each piece works before adding it to the whole.
RGB?
stands for Red, Green, Blue, and it's a color model used to represent colors digitally by combining varying intensities of these three primary colors. Each color channel (red, green, blue) typically has a value ranging from 0 to 255, and these values are often combined and represented as a single value, like a hexadecimal code (#RRGGBB), for display purposes.
Code Editor?
The section of CMU Academy where you write and edit your Python code. It’s where you create programs by typing commands, functions, and logic that tell the computer what to do.
Inspector?
A tool that allows you to see and interact with objects on the canvas (like shapes, text, or images). You can use it to check an object’s properties , such as its position, color, or size , while your program is running.
Console?
The area that displays program output, error messages, and print statements. It helps you test, debug, and understand what your code is doing by showing what’s happening behind the scenes.
Syntax Error?
An error caused by breaking the rules of the programming language , like missing parentheses, quotes, or colons , which prevents the code from running.
Runtime Error?
An error that happens while the program is running, often due to something unexpected like dividing by zero or using a variable that doesn’t exist.
Logical Error?
An error where the program runs without crashing, but the output is incorrect because the logic or steps in the code are wrong.
(left, top, width, height, fill='black', border=None, borderWidth=2)
Rect
(centerX, centerY, radius, fill='black', border=None, borderWidth=2)
Circle
(centerX, centerY, width, height, fill='black', border=None, borderWidth=2)
Oval
(centerX, centerY, radius, points, fill='black', border=None, borderWidth=2, roundness=None)
Star
(x1, y1, x2, y2, fill='black', lineWidth=2)
Line
(x1, y1, x2, y2, x3, y3, …, fill='black', border=None, borderWidth=2)
Polygon
(value, centerX, centerY, size=12, font='arial', bold=False, italic=False, fill='black', border=None, borderWidth=2)
Label
Rect(200, 200, 20, 40, fill='lightSalmon')
Built-in Colors
rgb(redValue, greenValue, blueValue)
Circle(200, 200, 50, fill=rgb(255, 0, 0))
RGB Colors
gradient(color1, color2, color3, ..., start='center')
Rect(75, 75, 50, 50, fill=gradient('red', 'orange', 'yellow', start='left-top'))
Gradients