Chapter 2: Input Processing Output

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

1/52

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 6:19 PM on 3/21/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

53 Terms

1
New cards

assignment statement

A statement that assigns a value to a variable. In Python, an assignment statement can also be used to create a variable that does not exist

2
New cards

input symbol

A parallelogram symbol that represents an input operation

3
New cards

truncate

To throw away part of a piece of data, such as the fractional part of a number

4
New cards

comment

A note of explanation placed in a program’s code, intended for the human reader of the code

5
New cards

turtle graphics

A graphics system that simulates a robotic “turtle” that draws lines and shapes as it moves about

6
New cards

precedence

The priority that an operator has when it is included on an expression that uses multiple operators

7
New cards

type designator

A code in an f-string that indicates the type of value being displayed

8
New cards

function

A body or prewritten code that performs an operation

9
New cards

operand

A value or piece of data that an operator uses to perform an operation

10
New cards

terminal symbols

The oval symbols that designate the beginning and end of a flowchart

11
New cards

argument

A piece of data that is passed into a function

12
New cards

variable

A name that represents a value in the computer’s memory

13
New cards

debug

The process of finding and correcting errors in a program

14
New cards

processing symbol

A rectangle symbol that represents a process

15
New cards

newline character

An invisible character that marks the end of a line of text

16
New cards

pseudocode

An informal language that has no syntax rules and is not meant to be compiled or executed

17
New cards

numerical literal

A number that is written into a program’s code

18
New cards

concatenation

Appending one string to the end of another

19
New cards

user

The hypothetical person that is using a program

20
New cards

f-string

A string literal that contains special codes that cause the values of variables to be inserted and formatted

21
New cards

end-line comment

A comment that appears at the end of a line of code

22
New cards

algorithm

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

23
New cards

prompt

A message that tells (or asks) the user to enter a specific value

24
New cards

garbage collection

A process that automatically removes data that is no longer referenced by a variable from memory

25
New cards

math expression

Code that performs a calculation and gives a result

26
New cards

end user

The hypothetical person that is using a program

27
New cards

named constant

A name that represents a value that cannot be changed during the program’s execution

28
New cards

mixed-type expression

An expression that uses operands of different data types

29
New cards

magic number

An unexplained number that appears in a program’s code

30
New cards

dialog box

A graphical window that appears on the screen for the purpose of displaying information or gathering user input

31
New cards

math operator

A symbol that performs arithmetic on its operands

32
New cards

start terminal

The symbol that marks a program’s beginning point in a flowchart

33
New cards

string literal

A string that is written into a program’s code

34
New cards

precision designator

A cod in an f-string that indicates the number of decimal places that a floating-point number should be rounded to

35
New cards

multiline string

A string literal that spans multiple lines in a program’s code

36
New cards

field width designator

A code in an f-string that indicates the minimum width of a field

37
New cards

flowchart

A diagram that graphically depicts the steps that take place in a program

38
New cards

end terminal

end terminal

39
New cards

data type

The type of data that a variable will reference

40
New cards

calling a function

To execute a function

41
New cards

program development cycle

The process of designing, writing, correcting, testing, and debugging software

42
New cards

software requirement

A single function that a program must perform in order to satisfy the customer

43
New cards

string

A sequence of characters

44
New cards

output symbol

A parallelogram symbol that represents an output operation

45
New cards

multiple assignment statement

An assignment statement that assigns values to multiple variables

46
New cards

assignment operator

The assignment operator (=) assigns the value on its right to the variable on its left

47
New cards

customer

The person, group, or organization asking you to write a program

48
New cards

modulus operator

An operator that returns the remainder of a division

49
New cards

format specifier

A code in an f-string that causes a value to be formatted in a specific way

50
New cards

escape character

A special character that is preceded with a backslash (\) appearing inside a string literal and treated as a special command

51
New cards

logic error

A mistake in a program that does not prevent program from running but causes it to produce incorrect results

52
New cards

exception

An error that occurs and must be handled while a program is running

53
New cards

alignment deisgnator

A cod in an f-string that indicates the alignment of a value within a field