Basic Programming Flashcards
Not following the
rules.
Syntax Error
is a mistake or an action that is incorrect—
also known as a bug in the program.
Error
is an interpreted, object-oriented, high-level programming language with dynamic semantics.
Python
Consists of structures, features, and opinions
about how problems should be solved.
Paradigm
◦ Issues found during
execution.
Run-time Error
The process of breaking a complex problem into parts that are easier to conceive, understand, program, and
maintain—like the Divide-and-Conquer strategy.
Decomposition
◦ Incorrect operation.
◦ Inaccurate results.
Semantic Error
Derived from the imperative paradigm, but
groups the instructions into procedures—
involves concepts such as modularity,
cohesion, and coupling.
- It is a style of programming with strong emphasis on grouping common steps into individual but reusable procedures—better known as functions.
Procedural Paradigm
Are functions that require subsequent calls to supply its corresponding arguments or values.
User-defined functions with Parameters
It is basically putting instructions and data into the RAM for the CPU/GPU to process it one after another.
Programming
- A programming paradigm with detailed and ordered instructions. It is concerned more on how to do things.
- Abstractions are based the classical computers or the Von Neumann architecture: control structures,
functions, classes.
Imperative Paradigm
Are reusable block of codes to process data, which are written by a programmer.
User-defined Functions
It is temporary storage of instructions and data.
Memory
Are special words in Python which should not be used as identifiers to variables, functions, etc.
Keywords
Helps a computer classify and allow operations on a data.
Data Type
It starts with a HASH (#) symbol.
# DO NOT affect the program.
# are used as:
# - guide for the programmers
# - testing purposes
Comment
A memory location, or simply a container where a specific data is stored.
Variable
Any whole number, such as: headcount, number of cells, number of tools, etc.
Integer
PYTHON STANDARD DATA TYPES
Used to signify the absence of value.
None type
PYTHON STANDARD DATA TYPES
A value that is either True or False.
Boolean
PYTHON STANDARD DATA TYPES
A sequence of characters, such as: full name, favorite color, inspiring quotes, contents of a blog post, etc.
String
PYTHON STANDARD DATA TYPES
A subset of real number with fixed-precision, such as: length, temperature, percentage, etc.
Float