Python

In Python, we have different data types: string and numeric

Numeric data types include Floats, complexes and integers

Integers/int: A whole number

print(1)

Floats: Decimal numbers

print(1.1)

Complex: A number that can be negative or have a letter next to it

print(1j)
print(-1)

Algorithms, flowcharts and pseudocode

Algorithms:

Algorithms are step-by-step procedures or formulas for solving problems or completing tasks.

Pseudocode:

Algorithms but in textual form

Flowcharts:

Flowcharts are charts that represent algorithms or pseudocode using shapes

STUFF IN PROGRAMMING

  • Abstraction: A programming principle that involves hiding the complex reality while exposing only the necessary parts. It helps in reducing complexity by allowing the programmer to focus on interactions at a higher level without worrying about the underlying details.

  • Decomposition: The process of breaking down a complex problem or system into smaller, more manageable parts. This makes it easier to solve the problem step by step and allows for better organization of code.

  • Pattern Recognition: The ability to identify patterns or trends in data, which is often used in algorithms to make predictions or improve efficiency. It involves recognizing similarities in problems or solutions.

  • Debugging: The process of identifying and removing errors or bugs from a program. Debugging involves testing and analyzing code to ensure it runs correctly and efficiently.

  • Syntax Error: An error in the code that occurs when the programmer has violated the grammatical rules of the programming language. This results in the program failing to compile or run as intended.

  • Semantic Error: An error

  • Program Libraries: Collections of pre-written code that can be used to optimize programming. They provide functions and routines that help programmers perform common tasks without having to write code from scratch. Libraries can save time and reduce errors in programming projects.

  • Variables: Symbols that store data values in a program. Variables are used to hold information that can be referenced and manipulated throughout the program. They can contain different types of data such as integers, floats, strings, or objects, and their values can change during the execution of the program.