Python Programming Final Exam Comprehensive Study Guide

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

encourage image

There's no tags or description

Looks like no tags are added yet.

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

No analytics yet

Send a link to your students to track their progress

23 Terms

1
New cards

Variable

A name that refers to a value stored in memory.

2
New cards

Data Type

The kind of value a variable holds, such as integers, floats, strings, and booleans.

3
New cards

Function

A block of code that performs a specific task and can be reused.

4
New cards

Iteration

The repeated execution of a block of code, typically using a loop.

5
New cards

Conditional statement

Code that executes based on whether a condition is true or false.

6
New cards

List

An ordered collection of items that can be of different data types.

7
New cards

Dictionary

A collection of key-value pairs, where each key is unique.

8
New cards

Tuple

An unordered collection of unique items.

9
New cards

Set

An unordered collection of unique items.

10
New cards

String

A sequence of characters

11
New cards

Module

A file containing Python code that can be imported and used in other programs.

12
New cards

Class

A blueprint for creating objects, defining their properties and behaviors

13
New cards

Object

An instance of a class

14
New cards

Library

A collection of modules and functions that provide additional functionality. Python Terms Reference Sheet

15
New cards

Boolean

A data type with only two possible values: True or False. Often used in conditional statements.

16
New cards

Index

The position of an item in an ordered collection like a list, string, or tuple. Indexing starts at 0.

17
New cards

Slice

A way to retrieve a subset of a sequence using syntax like sequence[start:stop:step].

18
New cards

Comment

Text in code preceded by # that is ignored by the interpreter; used for explanations.

19
New cards

Import

A statement used to include external modules or libraries in your code

20
New cards

Indentation

The whitespace at the beginning of lines that defines code blocks in Python

21
New cards

Argument

A value provided to a function when it is called.

22
New cards

Return

A statement used in a function to send back a result

23
New cards

Type Casting

Converting a value from one data type to another, like str to int.