This document discusses different programming paradigms including procedural, object-oriented, and declarative paradigms. It provides examples of code using these paradigms. Specifically, it shows an assembly language program that adds two numbers, a C++ program that calculates the area of a rectangle, and Prolog queries to retrieve information from a database about people's genders and family relationships. It also discusses how parameters are used to pass values to functions in Visual Basic.