Programming Concepts & Application Development Flashcards
7 cards from real CCP practice questions. Tap to flip, then mark Knew It or Still Learning โ missed cards come back until you master them.
Read the first 7 Programming Concepts & Application Development flashcards as text
Which software testing approach validates that the system meets specified business requirements from the end user's perspective?
Answer: Black-box testing
Black-box testing evaluates system behavior based solely on inputs and outputs without knowledge of the internal implementation.
What does 'DRY' stand for in software development best practices?
Answer: Don't Repeat Yourself
DRY (Don't Repeat Yourself) is a principle that promotes reducing repetition by abstracting common logic into reusable components.
Which of the following is a characteristic of a 'stateless' protocol like HTTP?
Answer: Each request is independent and contains all information needed to process it
In a stateless protocol, each request is self-contained and the server does not retain information between requests.
In software development, what is 'technical debt'?
Answer: The implied cost of rework caused by choosing a quick solution over a better long-term approach
Technical debt represents the future cost of rework accumulated when developers choose expedient shortcuts over cleaner, more maintainable solutions.
What is the key difference between a 'compiled' language and an 'interpreted' language?
Answer: Compiled code is translated to machine code before execution; interpreted code is translated line-by-line at runtime
Compiled languages translate the entire source code to machine code before execution, while interpreted languages translate and execute code line-by-line at runtime.
Which design principle states that software entities should be open for extension but closed for modification?
Answer: Open/Closed Principle
The Open/Closed Principle states that you should be able to add new functionality by extending a class without modifying its existing code.
What does 'exception handling' allow a program to do?
Answer: Respond to error conditions gracefully without crashing
Exception handling allows a program to detect, respond to, and recover from runtime errors in a controlled manner.