Across
- 2. one small part (element) of a picture. Pixels are stored in a grid and have both x (horizontal) and y (vertical) values. A pixel has a color which can be defined by an amount of red, green, and blue with values from 0 to 255.
- 3. a device that can perform actions on input (which is also called data).
- 7. Expression contains a mathematical operator like - for subtraction or * for multiplication.
- 9. a programming language. It is used in the Advanced Placement Computer Science A course.
- 10. anything that can be entered into a computer via a keyboard: letters, numbers, spaces, punctuation marks, or symbols.
- 11. Remainder operator, %, returns the remainder after you divide one value by another. For example the remainder of 3 % 2 is 1 since 2 goes into 3 one time with a remainder of 1.
- 12. Short for binary digit and is the smallest piece of information that a computer can store. Bits are either 0s or 1s.
- 15. Setting a variable’s value. For example, x = 5 assigns the value of 5 to a variable called x.
- 16. - Code is a set of instructions that a computer can understand. This is sometimes called a program.
- 17. a programming language. It is the language you will use in this class
- 19. Dyslexia putting the variable name on the right and the value on the left as in 5 = x. This is not a legal statement.
- 20. how you ask an object to do something in Python. You use the name of the object followed by a dot (period) and then followed by what you want it to do and then any values in parentheses. For example to return a new string will all lowercase letters from a variable called sentence use sentence.lower(). To ask a turtle named alex to go forward 50 units use alex.forward(50).
- 22. Language used to tell a computer what to do. Some examples are Python and Java.
- 23. character encoding standard for electronic communication. It is abbreviated from the American Standard Code for Information Interchange.
- 24. anything we can type between a pair of pair of single quotes ('Hi'), double quotes ("Hi"), or triple quotes ('''Hi'''). It is a sequence of characters.
Down
- 1. a number system comprised of only two numbers: 0 and 1.
- 2. a set of instructions that a computer can understand to accomplish some goal. This is sometimes called code.
- 4. Name associated with computer memory that can hold a value and that value can change or vary. One example of a variable is the score in a game.
- 5. - a group of programs that provides some functionality. The Turtle library is a good example. It lets us create and work with Turtle objects.
- 6. When the first letter of each additional word is uppercased when you create variable names that have several words in them like firstName.
- 8. explain what we’re doing in the programs and are intended to be read by people, not computers. In Python starts with #. The computer will ignore everything from the start of the comment to the end of that line.
- 13. 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.
- 14. a sequence of data that is eight bits long.
- 17. a set of instructions that a computer can understand to accomplish some goal. This is sometimes called code.
- 18. Machine a theoretical computer that can read instructions from a tape and write results to the tape.
- 21. Keeping track of the variables in the program and how their values change as the statements are executed. We used a Code Lens tool to do this in this chapter.
