Difficulty: Easy
Correct Answer: Object-Oriented Programming paradigm gives equal importance to data and the procedures that work on the data.
Explanation:
Introduction / Context:
This conceptual question distinguishes procedural/structured programming from Object-Oriented Programming (OOP), and clarifies how C#.NET is positioned in these paradigms.
Given Data / Assumptions:
Concept / Approach:
OOP emphasizes encapsulation of both state (data) and behavior (methods). A hallmark summary is that OOP gives equal importance to data and the operations that manipulate it, unlike purely procedural approaches which prioritize procedures.
Step-by-Step Solution:
Verification / Alternative check:
Look at C# designs: classes, inheritance, interfaces, and encapsulation demonstrate OOP characteristics.
Why Other Options Are Wrong:
(a) oversimplifies relationships; (b) is procedural; (c) misattributes OOP concepts; (e) mislabels C#’s paradigm.
Common Pitfalls:
Confusing “structured” with “object-oriented”; many modern languages support both structured control flow and OOP.
Final Answer:
Object-Oriented Programming paradigm gives equal importance to data and the procedures that work on the data.
Discussion & Comments