What is a programming paradigm?
A fundamental style or philosophy for structuring computer code.
Programming paradigm
A style or approach for organizing code.
What distinguishes a programming language from a programming paradigm?
A language is a tool, while a paradigm is the organizing philosophy.
Imperative paradigm
Focuses on step-by-step instructions and state changes.
How are programming paradigms primarily divided?
Into imperative and declarative branches based on state and control flow.
Declarative paradigm
Focuses on what to achieve, not how.
What does the imperative programming paradigm emphasize?
Step-by-step computation by explicitly manipulating program state.
State in programming
Memory data during program execution.
State mutation
Changing data in memory during execution.
Imperative vs declarative
Imperative uses explicit steps; declarative describes desired results.
Mutable state
State that can be changed after creation.
Test your knowledge with 11 questions on Programming Language Paradigms.
1. Which option best describes what a programming paradigm is?
2. What is a programming paradigm?
Review the complete course in the revision sheet for Programming Language Paradigms.
See revision sheet →Import your course and AI generates flashcards in 30 seconds.
Flashcard generator