Which programming methodology allows a programmer to use pre-determined blocks of code end consequently reducing development time and programming costs?
Correct Answer: B
The programming methodology that allows a programmer to use pre-determined blocks of code and consequently reducing development time and programming costs is object oriented. Object oriented is a programming paradigm that organizes the data and behavior of a software system into reusable and modular units called objects. Objects are instances of classes, which are templates that define the attributes and methods of the objects. Objects can interact with each other through messages, inheritance, or polymorphism.
Object oriented programming can reduce development time and programming costs, as it can enable the programmer to use pre-determined blocks of code, such as existing classes, libraries, or frameworks, and avoid duplication or redundancy of code. Application security, blocked algorithm, and assembly language are not programming methodologies that allow the programmer to use pre-determined blocks of code, but they are concepts or languages related to software development or security. References: CISSP All-in-One Exam Guide, Eighth Edition, Chapter 8: Software Development Security, page 978; Official (ISC)2 Guide to the CISSP CBK, Fifth Edition, Chapter 7: Software Development Security, page 904.