Introduction to Python Programming

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

1/24

flashcard set

Earn XP

Description and Tags

Flashcards covering key concepts and definitions from the introduction to Python programming.

Last updated 2:36 PM on 4/24/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

25 Terms

1
New cards

Program

A sequence of instructions that specifies how to perform a computation.

2
New cards

Input

Get data from the keyboard, a file, or some other device.

3
New cards

Output

Display data on the screen or send data to a file or other device.

4
New cards

Syntax

The structure of a program and the rules about that structure.

5
New cards

Bugs

Programming errors.

6
New cards

Debugging

The process of tracking down and correcting programming errors.

7
New cards

Variables

Names that represent values stored in computer memory.

8
New cards

Function

A block of organized, reusable code used to perform a single, related action.

9
New cards

Tuple

An immutable data structure used to store multiple items in a single variable.

10
New cards

Dictionary

An unordered collection of items, each with a key/value pair.

11
New cards

List

A versatile data type that can store multiple items in a single variable.

12
New cards

Data Types

Different types of values that a variable can hold (e.g., integers, strings, lists).

13
New cards

Boolean Expression

An expression that evaluates to produce a Boolean value.

14
New cards

Implicit Type Conversion

Automatic conversion of one data type to another by Python.

15
New cards

Explicit Type Conversion

Manually converting one data type to another using predefined functions.

16
New cards

While Loop

Used to iterate over a block of code as long as the condition is true.

17
New cards

For Loop

Used to iterate over a sequence like a list, tuple, or string.

18
New cards

Control Flow

The order in which code executes in a program.

19
New cards

Mutability

The ability to change an object; lists are mutable while tuples are immutable.

20
New cards

Slicing

Accessing a range of items in a list using the slicing operator.

21
New cards

Set

An unordered collection of unique items that are mutable.

22
New cards

Set Union

A set of all elements from both sets.

23
New cards

Set Intersection

A set of elements that are common to both sets.

24
New cards

Set Difference

Elements that are in one set but not in another.

25
New cards

Set Symmetric Difference

Elements in either set but not in both.