Module 1 and Module 2 Programming & Python Review

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

flashcard set

Earn XP

Description and Tags

Comprehensive practice flashcards covering Module 1 and Module 2 topics including programming basics, Python features, data types, operators, flowcharts, control flow, and data structures.

Last updated 4:32 AM on 8/28/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

What is an algorithm in computer programming?

An algorithm is the sequence of step-by-step instructions that a computer follows to perform a task.

2
New cards

What are the key characteristics of a High Level Programming Language?

High Level Programming Languages are user-friendly, have simple syntax, are easy to learn, are portable across platforms, require translation to be read by a computer, and use code elements like strings, loops, booleans, and lists.

3
New cards

What are the main characteristics of a Low Level Programming Language?

Low Level Programming Languages are machine-friendly, have complex syntax, are harder to learn, are hardware-dependent (not portable), and use binary code.

4
New cards

When was Python 1.0 released, and what features did it include?

Python 1.0 was released in 1994 with features like map, lambda, and filter.

5
New cards

What is the latest version of Python mentioned in the notes and when was it released?

The latest version mentioned is Python 3.11, which was released in 2022.

6
New cards

Which Python frameworks are dynamic and scalable choices for web development?

Django and Flask.

7
New cards

Which Python libraries are used to automate tasks, collect and analyze data, and perform web scraping?

BeautifulSoup, Pandas, and Matplotlib.

8
New cards

What library can developers use in Python for game development to build 2D and 3D games?

Pygame.

9
New cards

What are the five rules for naming variables in Python?

  1. Variable names can only contain letters, digits, and underscores. 2. A variable name cannot start with a digit. 3. Variable names are case-sensitive. 4. Avoid using Python keywords as variable names. 5. Python has an overwrite syntax.
10
New cards

What does dynamic typing mean in Python?

Dynamic typing means that variables can change their data type during program execution.

11
New cards

How are real numbers with decimal points represented in Python, and what notation can they use?

They are represented by the float class and can be written in scientific notation using e or E.

12
New cards

What is a flowchart and what is its primary purpose?

A flowchart is a visual tool that uses shapes and arrows to show a program's steps and logic. Its main purpose is to simplify complex code by clearly illustrating the program's flow, sequence, and relationships between processes without focusing on syntax.

13
New cards

What does the Terminator shape represent in a flowchart?

It represents the start or end of a process.

14
New cards

Which flowchart shape is used for conditional branching such as Yes/No or True/False?

The Decision shape.

15
New cards

What does an Iterative control flow do in a program?

It repeats a set of instructions until a condition is met, using loops such as for and while.

16
New cards

What is a set in Python, and how does it handle duplicate values?

A set is an unordered collection of unique elements that automatically removes duplicates and does not keep items in a specific order.

17
New cards

How do Python tuples differ from Python lists?

Tuples are ordered, immutable collections of items that cannot be modified after creation, whereas lists are flexible and mutable.

18
New cards

What is a dictionary in Python?

A dictionary is an unordered, mutable collection of key-value pairs where each key must be unique and maps to a specific value.

19
New cards

How do you remove an element from a dictionary in Python?

By using variable_name.pop(key) or del variable_name[key].