A developer using XML-based markup to compose a user interface that will be rendered into an HTML form. Which of the following best describes the programming paradigm?
Kindly be reminded that the suggested answer is for your reference only. It doesn’t matter whether you have the right or wrong answer. What really matters is your reasoning process and justifications.
My suggested answer is B. Declarative.
In computer science, declarative programming is a programming paradigm—a style of building the structure and elements of computer programs—that expresses the logic of a computation without describing its control flow.
In computer science, imperative programming is a programming paradigm that uses statements that change a program’s state.
Object-Oriented Programming (OOP)
Object-oriented programming (OOP) is a programming paradigm based on the concept of “objects”, which can contain data and code: data in the form of fields (often known as attributes or properties), and code, in the form of procedures (often known as methods).
Polymorphism is one of the OOP features.
In programming languages and type theory, polymorphism is the provision of a single interface to entities of different types or the use of a single symbol to represent multiple different types.
A BLUEPRINT FOR YOUR SUCCESS IN CISSP
My new book, The Effective CISSP: Security and Risk Management, helps CISSP aspirants build a solid conceptual security model. It is not only a tutorial for information security but also a study guide for the CISSP exam and an informative reference for security professionals.
- It is available on Amazon.
- Readers from countries or regions not supported by Amazon can get your copy from the author’s web site.
開發人員使用基於XML的標記來構成將呈現為HTML表單的用戶界面。 以下哪一項最能描述編程範例(programming paradigm)？
A. 命令式 (Imperative)
B. 聲明式 (Declarative)
C. 多態性 (Polymorphism)
D. 物件對象 (Object-oriented)