Programming Language Paradigms Flashcards (11 cards)

All cards

1Question

What is a programming paradigm?

Answer

A fundamental style or philosophy for structuring computer code.

2Question

What distinguishes a programming language from a programming paradigm?

Answer

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

3Question

How are programming paradigms primarily divided?

Answer

Into imperative and declarative branches based on state and control flow.

4Question

What does the imperative programming paradigm emphasize?

Answer

Step-by-step computation by explicitly manipulating program state.

5Question

Programming paradigm

Answer

A style or approach for organizing code.

6Question

Imperative paradigm

Answer

Focuses on step-by-step instructions and state changes.

7Question

Declarative paradigm

Answer

Focuses on what to achieve, not how.

8Question

State in programming

Answer

Memory data during program execution.

9Question

State mutation

Answer

Changing data in memory during execution.

10Question

Imperative vs declarative

Answer

Imperative uses explicit steps; declarative describes desired results.

11Question

Mutable state

Answer

State that can be changed after creation.

Test yourself with the quiz

Answer 11 questions on Programming Language Paradigms.

1. Which option best describes what a programming paradigm is?

2. Why is a statement like “Python is a functional programming language” potentially misleading?

Take the quiz →

Read the study guide

Go over the full study guide for Programming Language Paradigms.

Read the study guide →

Related classes

Make your own flashcards

Upload your class notes and Revizly writes your flashcards in about a minute.

Flashcard maker