Python Terminology and Operations

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/40

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 8:57 AM on 9/27/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

41 Terms

1
New cards

Integer

Numeric data type without fractions (e.g. 300, 0, -4)

2
New cards

Float

Numeric data type with fractions (e.g. 34.67, 56.9)

3
New cards

Character

Single letter, digit, punctuation, symbol, or blank space (e.g. a, 1, !)

4
New cards

Boolean

True or false values, true = 1, false = 0

5
New cards

Primitive Data Type

Smallest units of data, atomic

6
New cards

Composite Data Type

Built around primitive data types

7
New cards

String

Sequence of characters, digits, or symbols (text)

8
New cards

Array

List of a number of elements of the same type in a specific order

9
New cards

List

Collection of elements of the same or different type

10
New cards

Less memory usage, better for large numeric datasets

Benefits of array over a list

11
New cards

Pointers

Blocks of memory that are dynamically allocated are managed/stored

12
New cards

Tuple

An ordered collection used to store multiple items in a single variable

13
New cards

Dictionary

A list with assigned key:value pairs

14
New cards

Image Data

Every pixel localised with 2 coordinates. For RGB, pixels have values for red, green and blue channels.

15
New cards

Multispectural Images

3-10+ channels, produces data cube

16
New cards

Variable

A name location in memory

17
New cards

Variable Requirements

Starts with character/underscore, only contains alphanumeric characters or underscore, caps sensitive

18
New cards

Operands

Parts of an equation that operations are performed on (e.g. for 10 × 2 = 20, 10 and 2 are operands)

19
New cards

%, modular

Operator that finds remainder in division

20
New cards

//, floor

Operator that divides and rounds down

21
New cards

**

Exponential

22
New cards

==

Comparison of two sides of equation that returns a Boolean

23
New cards

!=

Inequality operator (opposite of ==)

24
New cards

>=

Greater than or equal to

25
New cards

<=

Less than or equal to

26
New cards

*=

Returns output back to variable

27
New cards

Casting

Turning an element of a certain type into a different type (if possible)

28
New cards

int()

Turns float/string into integer

29
New cards

float()

Turns int/string into float

30
New cards

str()

Turns int/float into string

31
New cards

Parameter

Required input into function that makes function work, in brackets after function

32
New cards

Argument

User input of function that is assigned to a parameter

33
New cards

Keyword Arguments

Argument is directly assigned to parameter (e.g. id=”a1234567”), order does not matter

34
New cards

Positional Arguments

Argument assigned to parameter by order of writing (e.g. “a1234567”)

35
New cards


*args

Packs multiple positional arguments into a tuple

36
New cards

**kwargs

Packs multiple keyword arguments into a dictionary

37
New cards

and

Joins two conditions, conjunction (both must be true for a resulting true value)

38
New cards

or

Disjunction, only one of two conditions must be true for a resulting true value

39
New cards

not

Inverse of condition(s)

40
New cards

Return Value

Function provides a value (i.e. computes it)

41
New cards

Void Function

Function without a return value