CISSP practice question 34 of 35
Which programming methodology allows a programmer to use pre-determined blocks of code end consequently reducing development time and programming costs?
Full set: 1,485 questionsDomain Software Development Security
Object-Oriented Programming (OOP) is a programming paradigm based on the concept of "objects," which are instances of classes. A class serves as a blueprint, a pre-determined block of code that bundles data (attributes) and the methods (functions) that operate on that data. This structure inherently promotes code reusability. By creating and reusing objects, programmers can build complex applications from existing, tested components. This modular approach significantly reduces development time, minimizes redundant code, and lowers overall programming costs, directly addressing the core of the question.
1. Abelson, H., & Sussman, G. J. (1996). Structure and Interpretation of Computer Programs (2nd ed.). MIT Press. Section 3.1, "Assignment and Local State," introduces the concept of computational objects that encapsulate state and behavior, forming the basis for modularity and reusability in programming. (Available via MIT Press and MIT OCW).
2. Weisfeld, M. (2009). The Object-Oriented Thought Process (3rd ed.). Addison-Wesley Professional. Chapter 2, "How to Think in Terms of Objects," explains that a primary advantage of OOP is the ability to reuse code. It states, "One of the main promises of OO development is code reuse... a developer can build a new class by picking and choosing from a set of existing classes." (p. 29).
3. Snyder, A. (1986). Encapsulation and inheritance in object-oriented programming languages. In Conference proceedings on Object-oriented programming systems, languages and applications (OOPSLA '86) (pp. 38–45). ACM. This foundational paper discusses how core OOP concepts like encapsulation and inheritance are mechanisms that facilitate the creation of reusable software components. DOI: https://doi.org/10.1145/28697.28702.
Keep practicing
Take the free CISSP practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other CISSP practice questions
- Question 1Which of the following BEST describes a Protection Profile (PP)?
- Question 2What principle requires that changes to the plaintext affect many parts of the ciphertext?
- Question 7When planning a penetration test, the tester will be MOST interested in which information?
- Question 8Which one of the following operates at the session, transport, or network layer of the Op…
- Question 9Which of the following is the MOST beneficial to review when performing an IT audit?
- Question 10Which of the following is the MOST important activity an organization performs to ensure …
