1/18
Comprehensive practice flashcards covering Module 1 and Module 2 topics including programming basics, Python features, data types, operators, flowcharts, control flow, and data structures.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai | Chat |
|---|
No analytics yet
Send a link to your students to track their progress
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.
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.
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.
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.
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.
Which Python frameworks are dynamic and scalable choices for web development?
Django and Flask.
Which Python libraries are used to automate tasks, collect and analyze data, and perform web scraping?
BeautifulSoup, Pandas, and Matplotlib.
What library can developers use in Python for game development to build 2D and 3D games?
Pygame.
What are the five rules for naming variables in Python?
What does dynamic typing mean in Python?
Dynamic typing means that variables can change their data type during program execution.
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.
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.
What does the Terminator shape represent in a flowchart?
It represents the start or end of a process.
Which flowchart shape is used for conditional branching such as Yes/No or True/False?
The Decision shape.
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.
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.
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.
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.
How do you remove an element from a dictionary in Python?
By using variable_name.pop(key) or del variable_name[key].