Computer Programming midterm

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

1/18

flashcard set

Earn XP

Description and Tags

10/15

Last updated 7:02 PM on 10/15/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

19 Terms

1
New cards

integer

whole number

2
New cards

float

decimal

3
New cards

string

text

4
New cards

boolean

true or false

5
New cards

+

addition

6
New cards

-

subtraction

7
New cards

*

multiplication

8
New cards

/

division

9
New cards

//

floor division

10
New cards

%

remainder

11
New cards

**

exponent

12
New cards

and

both expressions must be true

13
New cards

or

at least 1 expression must be true

14
New cards

not

reverses true or false

15
New cards

def

Tells Python you're creating a function

16
New cards

function header

The name you give your function

17
New cards

Parameters

The information the function receives

18
New cards

Function body

The instructions the function follows

19
New cards

return()

Sends the answer back to whoever called the function