CSP - Section 1
Quiz yourself by thinking what should be in
each of the black spaces below before clicking
on it to display the answer.
Help!
|
|
||||
---|---|---|---|---|---|
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
🗑
|
Review the information in the table. When you are ready to quiz yourself you can hide individual columns or the entire table. Then you can click on the empty cells to reveal the answer. Try to recall what will be displayed before clicking the empty cell.
To hide a column, click on the column name.
To hide the entire table, click on the "Hide All" button.
You may also shuffle the rows of the table by clicking on the "Shuffle" button.
Or sort by any of the columns using the down arrow next to any column heading.
If you know all the data on any row, you can temporarily remove it by tapping the trash can to the right of the row.
To hide a column, click on the column name.
To hide the entire table, click on the "Hide All" button.
You may also shuffle the rows of the table by clicking on the "Shuffle" button.
Or sort by any of the columns using the down arrow next to any column heading.
If you know all the data on any row, you can temporarily remove it by tapping the trash can to the right of the row.
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.
Normal Size Small Size show me how
Normal Size Small Size show me how
Created by:
shoemaker
Popular Computers sets