click below
click below
Normal Size Small Size show me how
CSP - Section 1
| Term | Definition |
|---|---|
| variable | a name associated with computer memory that can hold a value and that value can change or vary |
| string | sequences of characters between single, double, or triple quotes |
| comment | The part of any line that starts with a # character; computer ignores everything from the # character to the end of the line; explain what we’re doing in the programs and are intended to be read by people, not computers |
| pixel | one small part (element) of a picture |
| screen layout | on grid from left to right(horizontal) and top to bottom(vertical) |
| top left corner | (0,0) |
| the way y increases on an image | top to bottom |
| the way x increases on an image | left to right |
| code | a set of instructions that a computer can understand; sometimes called a program |
| dot-notation | how you ask an object to do something in Python |
| library | a group of programs that provides some functionality |
| arithmetic expression | contains a mathematical operator like - for subtraction or * for multiplication. |
| assignment | means setting a variable’s value |
| assignment dyslexia | putting the variable name on the right and the value on the left ; not a legal statement |
| camel-case | when the first letter of each additional word is uppercased when you create variable names that have several words in them like firstName |
| integer division | when you divide one integer by another. In some languages this will only give you an integer result, but in Python 3 it returns a decimal value |
| mixed-case | mixed-case means using upper and lower case letters in a variable |
| modulo | remainder operator, %, returns the remainder after you divide one value by another |
| tracing | keeping track of the variables in the program and how their values change as the statements are executed |