Computing Paradigms and Models Flashcards
A fundamental approach to programming and problem- solving, defining how software is designed and implemented.
Computer Paradigm
Focuses on describing how a program operates with explicit instructions.
Imperative Programming
Breaks down tasks into procedures or functions
A. Structured Programming
B. Procedural Programming
C. Modular Programming
D. Object-Oriented Programming (OOP)
B. Procedural Programming
Uses control structures like loops (for, while),
conditionals (if, else)
A. Structured Programming
B. Procedural Programming
C. Modular Programming
D. Object-Oriented Programming (OOP)
A. Structured Programming
Organizes software around objects that combine
data (attributes) and behavior (methods).
A. Structured Programming
B. Procedural Programming
C. Modular Programming
D. Object-Oriented Programming (OOP)
D. Object-Oriented Programming (OOP)
Divides programs into separate modules or
components, each handling a specific aspect of the
application.
A. Structured Programming
B. Procedural Programming
C. Modular Programming
D. Object-Oriented Programming (OOP)
C. Modular Programming
Creating new classes from existing ones to
promote code reuse.
Inheritance
Bundling data with methods that operate
on that data.
A. Encapsulation
B. Inheritance
C. Polymorphism
A. Encapsulation
Specialized languages tailored for specific
application areas
A. Logic Programming
B. Functional Programming
C. Domain - Specific Languages
C. Domain - Specific Languages
Allowing objects to be treated as instances
of their parent class.
A. Encapsulation
B. Inheritance
C. Polymorphism
C. Polymorphism
Specifies what the program should achieve without dictating how to accomplish it.
Declarative Programming
Treats computation as the evaluation of mathematical
functions & Enhances predictability
A. Logic Programming
B. Functional Programming
C. Domain - Specific Languages
B. Functional Programming
Uses facts, rules, and queries to derive conclusions
A. Logic Programming
B. Functional Programming
C. Domain - Specific Languages
A. Logic Programming
Involves executing multiple computations simultaneously to improve performance and responsiveness.
Concurrent Computing
Uses multiple
processors or cores to solve large-scale problems efficiently & Reduces execution time
A. Parallel Computing
B. Distributed Computing
C. Logic Programming
D. Domain-Specific Languages
A. Parallel Computing