- Published on
KembaraXtra-Case Law-C and Python: High-Level Programming
I. Introduction
I. Introduction
- The best way to learn high-level programming is by examining programming languages and writing programs.
- This study guide focuses on C and Python.
- Both are powerful and useful languages that illustrate common programming functionalities with different approaches.
- History: Dates back to the early 1970s; initially used to write Unix OS.
- Level: High-level, but relatively close to machine code.
- Strengths:
- Good for operating system development and hardware interfacing.
- High-performance applications (e.g., games).
- Useful for educational purposes to show the mapping between low-level and high-level concepts.
- Weaknesses:
- Complex.
- Few safeguards against programmer errors.
- Related Language: C++ (developed in the 1980s) is an updated version of C.
- History: Initially released in the 1990s.
- Level: High-level, further removed from hardware than C.
- Strengths:
- Easy to read and simple for beginners.
- Suitable for complex software projects.
- "Batteries included" philosophy: Includes a comprehensive standard library.
- Good for teaching programming concepts.
- High-level languages provide abstractions of CPU instructions.
- CPUs provide instructions for:
- Memory access
- Math and logic operations
- Control of program flow
- The goal is to familiarize yourself with common programming ideas, not to become proficient in a specific language.
0 Comments