Chapter 2: Input, Processing, and Output Flashcards

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/30

flashcard set

Earn XP

Description and Tags

Vocabulary terms and definitions covering program design, Python syntax, input/output, variables, calculations, formatting, and Turtle graphics.

Last updated 2:52 AM on 9/10/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

31 Terms

1
New cards

Program Development Cycle

The five-step process of program creation: design the program, write the code, correct syntax errors, test the program, and correct logic errors.

2
New cards

Algorithm

A set of well-defined logical steps that must be taken to perform a task.

3
New cards

Pseudocode

Informal fake code with no syntax rules used to model a program's design prior to coding.

4
New cards

Flowchart

A diagram that graphically depicts the steps in a program using connected geometric symbols.

5
New cards

Terminal Symbols

Oval shapes in a flowchart that represent the start and end points of a program.

6
New cards

Input and Output Symbols

Parallelogram shapes in a flowchart used to represent input and output operations.

7
New cards

Processing Symbols

Rectangle shapes in a flowchart used to represent processing steps, such as mathematical calculations.

8
New cards

Input

Any data that a program receives while it is running.

9
New cards

print Function

A built-in Python function that displays output on the screen.

10
New cards

Argument

Data passed to a function so that it can perform its required operation.

11
New cards

String Literal

A string that appears directly in the actual code of a program, enclosed in quote marks.

12
New cards

Comment

A explanatory note in a program starting with a # character that is ignored by the Python interpreter.

13
New cards

Variable

A name that represents a value stored in the computer's memory.

14
New cards

Assignment Statement

A statement using the equal sign (=) operator to assign a value to a variable.

15
New cards

Multiple Assignment

Assigning values to multiple variables in a single Python statement, such as x, y, z = 0, 1, 2.

16
New cards

Garbage Collection

The automatic removal of values from computer memory that are no longer referenced by any variables.

17
New cards

Numeric Literal

A number written directly in code, classified as an int if it lacks a decimal point or a float if it has one.

18
New cards

input Function

A built-in Python function that displays a prompt, reads input entered from the keyboard, and returns it as a string.

19
New cards

Nested Function Call

A statement format like function1(function2(argument)) where the return value of function2 is directly passed as an argument to function1.

20
New cards

Floating-Point Division Operator (/)

An arithmetic operator that divides one number by another and returns the quotient as a floating-point number.

21
New cards

Integer Division Operator (//)

An arithmetic operator that divides one number by another and returns the quotient as a whole number.

22
New cards

Remainder Operator (%)

Also known as the modulus operator; performs division and returns the remaining value.

23
New cards

Multiline Continuation Character (\)

A backslash character used to split a single line of Python code across multiple lines.

24
New cards

String Concatenation

The operation of appending one string to the end of another string using the + operator.

25
New cards

F-String

A string literal prefixed with f that contains expression placeholders enclosed in curly braces {} for formatted output.

26
New cards

Field Width

The minimum number of spaces reserved in an f-string placeholder to display a value.

<p>The minimum number of spaces reserved in an f-string placeholder to display a value.</p>
27
New cards

Magic Number

An unexplained numeric value in code that degrades readability and complicates future updates.

28
New cards

Named Constant

A identifier representing a fixed value that does not change during program execution, used to replace magic numbers.

29
New cards

turtle.penup()

A command in Turtle graphics that raises the turtle's pen so no line is drawn when it moves.

30
New cards
<p>Turtle Cartesian Coordinates</p>

Turtle Cartesian Coordinates

The (x,y)(x, y) coordinate system centered at (0,0)(0, 0) used to position and navigate the turtle on screen.

31
New cards

turtle.done()

A statement placed at the end of a Turtle graphics program to keep the window open after execution finishes.