CMP 201 Assignment
CMP 201 Assignment
Programming languages can be categorized as strongly typed or weakly typed based on their type
checking mechanisms.
OOP is a programming paradigm that organizes software design around objects and their interactions.
Key Principles:
OOP Concepts:
Benefits:
1. Modularity
2. Reusability
3. Easier Maintenance
4. Improved Readability
C:
2. General-purpose programming.
3. Efficient performance.
5. Verbose syntax.
Python:
3. Easy-to-learn syntax.
5. Extensive libraries.
KEY DIFFERENCES:
2. Memory Management: C requires manual memory management, whereas Python uses automatic
memory management.
4. Use Cases: C is suitable for systems programming, embedded systems, and performance-critical
applications. Python excels in web development, data analysis, machine learning, and scripting.