Python Programming Fundamentals (Modules 1-4)

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

1/39

flashcard set

Earn XP

Description and Tags

Comprehensive vocabulary flashcards covering Python basics, data types, operators, functions, and data structures based on the provided lecture notes.

Last updated 12:49 PM on 6/12/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

40 Terms

1
New cards

Alphabet

A set of symbols used to build words of a certain language.

2
New cards

Lexis

A set of words that a language offers its users.

3
New cards

Syntax

A set of rules used to determine if a certain string of words forms a valid sentence.

4
New cards

Semantics

A set of rules determining if a certain phrase makes sense.

5
New cards

Compilation

A process where the source program is translated once by getting a file containing the machine code.

6
New cards

Interpretation

A process where the source program is translated each time it has to be run by an interpreter.

7
New cards

Guido van Rossum

The creator of the Python programming language.

8
New cards

IDLE

Stands for Integrated Development and Learning Environment.

9
New cards

Editor

A component that supports users in writing code.

10
New cards

Console

A tool that launches code and forces it to stop when exceptions are reached.

11
New cards

Debugger

A tool used to launch code and execute it step-by-step to inspect each part as it runs.

12
New cards

Functions

Blocks of code that take in arguments, execute a task, and return a result.

13
New cards

Literals

Notations used for representing fixed values in code.

14
New cards

Binary System

A base 22 system utilized by computers made up of 0s0\text{s} and 1s1\text{s}.

15
New cards

Integers

A data type that holds a whole number without its fractional part, such as 55.

16
New cards

Floating-Point

A data type that contains a decimal fraction, such as 5.75.7.

17
New cards

Strings

Plain text stored in quotation or apostrophe marks.

18
New cards

Boolean

A data type representing truthfulness, consisting of True and False.

19
New cards

Floor Division (////)

An operator that divides two numbers and returns the largest whole number.

20
New cards

Modulus (%\%)

An operator that returns the remainder of a division.

21
New cards

Exponentiation (**)

An operator that raises the first value to the power of the second value.

22
New cards

Variable Name Rules

Must be composed of letters, digits, and underscores, and must begin with a letter or an underscore.

23
New cards

Typecasting

The process of allowing data to change from one type to another using functions like str()str(), int()int(), or float()float().

24
New cards

Replication

The process of using the * operator to replicate strings, such as Panda×3\text{Panda} \times 3 resulting in PandaPandaPanda.

25
New cards

Equality Operator (====)

Compares the values of two operands and returns True if they are equal.

26
New cards

Inequality Operator (!=!=)

Compares the values of two operands and returns True if they are not equal.

27
New cards

Infinite Loops

A set of instructions which repeat indefinitely during program execution.

28
New cards

List

An ordered and mutable collection of comma-separated items contained within square brackets.

29
New cards

Built-in functions

Functions that are an integral part of Python and are always available, such as print()print().

30
New cards

User-defined functions

Functions written by users using the defdef keyword to perform specific tasks.

31
New cards

Parameters

Variables that exist only inside the functions in which they have been defined.

32
New cards

return instruction

An instruction used to transport an expression's value to the place where a function was invoked.

33
New cards

None

A keyword that represents the absence of a value; functions implicitly return this if no other value is specified.

34
New cards

Global keyword

A keyword used to extend a variable's scope to include a function's body, allowing the function to modify variables defined outside it.

35
New cards

Recursion

A programming technique where a function invokes itself.

36
New cards

Sequence type

A type of data in Python able to store multiple values that can be scanned sequentially by a for loop.

37
New cards

Mutability

A property of Python data describing whether it can be freely changed during program execution.

38
New cards

Tuples

Immutable sequence types that typically use parentheses and require a trailing comma if they contain only one element.

39
New cards

Dictionary Keys

Unique identifiers in a dictionary that, when removed, also cause the removal of the associated value.

40
New cards

Bug

A manifestation of an error in the code that results in undesirable behavior.