Programming Language Paradigms

From the study guide

Course Outline

  1. Paradigms, Languages, and State
  2. Imperative and Declarative Taxonomy
  3. Paradigm Comparison Dimensions
  4. Imperative and Declarative Code
  5. Architectural Trade-Offs
  6. Referential Transparency and Side Effects

1. Paradigms, Languages, and State

Key Concepts & Definitions

  • Programming paradigm: A fundamental style, mindset, or philosophical approach for structuring and organizing computer code through specific rules, abstractions, and computational models.
  • State: The data stored in memory at a given moment during program execution.
  • State mutation: The act of changing memory values in place over time during program execution.

Essential Points

★ Must-know

📌 A programming language is a tool such as Python, C++, or Haskell, whereas a programming paradigm is the philosophy guiding how that tool structures computation.

Further detail

  • Most modern programming languages are multi-paradigm and can support object-oriented, functional, and procedural styles simultaneously.

Memory Hook

Philosophy, tool, memory

2. Imperative and Declarative Taxonomy

Key Concepts & Definitions

Read the full study guide →

Practice quiz preview

1. Which statement best defines a programming paradigm in terms of code structure?

2. What distinguishes a programming language from a programming paradigm?

3. In a running program, what does the term state refer to?

Take the quiz (18 questions) →

Flashcard preview

What is a programming paradigm?

A fundamental style or approach for structuring computer code.

What distinguishes a programming language from a programming paradigm?

A language is a tool, while a paradigm is the guiding philosophy.

What is true about most modern programming languages regarding paradigms?

They support multiple paradigms like object-oriented, functional, and procedural.

What does state mean in programming?

Data stored in memory at a specific moment during execution.

What is state mutation in programming?

Changing memory values in place over time during execution.

What are the two primary programming paradigm branches?

Imperative and declarative.

See all 30 flashcards →

Frequently asked questions

What does the Programming Language Paradigms study guide cover?

It covers the core concepts of Programming Language Paradigms, organized by topic with the key definitions, explanations and takeaways, so it's easier to learn and remember.

Read the full study guide →

How many questions are in the Programming Language Paradigms quiz?

The practice quiz has 18 multiple-choice questions, each with an explanation. Use it to check what you know and find your gaps.

Take the quiz (18 questions) →

How do I study Programming Language Paradigms with flashcards?

There are 30 flashcards on Programming Language Paradigms, with a question on the front and the answer on the back. Try to recall each answer before you flip, and let spaced repetition bring back the ones you miss.

See all 30 flashcards →

Related classes

Turn your own class notes into a study guide

Upload a PDF or paste your notes. Revizly writes a study guide, a practice quiz and flashcards in about a minute.