Programming in Python - D335
Study online at https://quizlet.com/_h4n17z
1. Program Consists of instructions executed one at a time
2. Input A program gets data, perhaps from a file, keyboard, touch-
screen, network.
3. Process A program performs computations on that data, such as
adding two values like x + y
4. Output A program puts that data somewhere , such as to a file,
screen, or network
5. Triangle's area 1/2(base)(height)
6. Computational thinking creating a sequence of instructions to solve a problem
7. Algorithm A sequence of instructions that solves a problem
8. Python interpreter a computer program that executes code written in the Python
programming language
9. Interactive interpreter a program that allows the user to execute one line of code at
a time
10. Code a common word for the textual representation of a program
11. Line A row of text
12. Prompt Informs the programmer that the interpreter is ready to
accept commands
13. Interpreter A program that executes computer code.
14. Statement program instruction
15. Expressions
, Programming in Python - D335
Study online at https://quizlet.com/_h4n17z
Code that returns a value when evaluated; for example, the
code wage * hours * weeks is an expression that computes
a number.
16. Variables named references to values stored by the interpreter , such
as x, y, and z.
17. Assignment Used to create a new variable using the = symbol
18. Print displays variables or expression values
19. Comment To explain portion of code by a human reader using the #
symbol
20. What is the purpose of vari- Store values for later used to refer to values saved in memory
ables? by the interpreter.
21. How are most Python pro- Writing code in files - The Python interpreter can load and
grams developed? execute Python code saved in files
22. string literal text enclosed in quotes, may have letters, numbers, spaces ,
or symbols.
23. print(num_cars) Given the variable num_cars = 9, which statement prints 9?
24. "\n" moves output to the next newline character
line
25. Whitspace Any space, tab or newline
26. Input function Causes the interpreter to wait until the user has entered
some text and has pushed the return key
27. string It simply represents a sequence of characters.
Study online at https://quizlet.com/_h4n17z
1. Program Consists of instructions executed one at a time
2. Input A program gets data, perhaps from a file, keyboard, touch-
screen, network.
3. Process A program performs computations on that data, such as
adding two values like x + y
4. Output A program puts that data somewhere , such as to a file,
screen, or network
5. Triangle's area 1/2(base)(height)
6. Computational thinking creating a sequence of instructions to solve a problem
7. Algorithm A sequence of instructions that solves a problem
8. Python interpreter a computer program that executes code written in the Python
programming language
9. Interactive interpreter a program that allows the user to execute one line of code at
a time
10. Code a common word for the textual representation of a program
11. Line A row of text
12. Prompt Informs the programmer that the interpreter is ready to
accept commands
13. Interpreter A program that executes computer code.
14. Statement program instruction
15. Expressions
, Programming in Python - D335
Study online at https://quizlet.com/_h4n17z
Code that returns a value when evaluated; for example, the
code wage * hours * weeks is an expression that computes
a number.
16. Variables named references to values stored by the interpreter , such
as x, y, and z.
17. Assignment Used to create a new variable using the = symbol
18. Print displays variables or expression values
19. Comment To explain portion of code by a human reader using the #
symbol
20. What is the purpose of vari- Store values for later used to refer to values saved in memory
ables? by the interpreter.
21. How are most Python pro- Writing code in files - The Python interpreter can load and
grams developed? execute Python code saved in files
22. string literal text enclosed in quotes, may have letters, numbers, spaces ,
or symbols.
23. print(num_cars) Given the variable num_cars = 9, which statement prints 9?
24. "\n" moves output to the next newline character
line
25. Whitspace Any space, tab or newline
26. Input function Causes the interpreter to wait until the user has entered
some text and has pushed the return key
27. string It simply represents a sequence of characters.