Chapter 8 Flashcards
(74 cards)
What are the four phases of the Software Development Life Cycle (SDLC)?
Analysis, Design, Implementation, Testing
What is the primary goal of the SDLC Analysis phase?
Define the program’s goals
What does the SDLC Design phase focus on?
Specify how to build the program
During which SDLC phase is the actual program code written?
Implementation phase
What happens in the Testing phase of SDLC?
Check that the program meets the defined goals
Which SDLC approach executes all phases sequentially with no repetition?
Waterfall approach
Which SDLC approach involves repeated small cycles for iterative improvements?
Agile (or Spiral) approach
Which SDLC approach is more responsive to user feedback?
Agile approach
Why might a startup prefer Agile over Waterfall?
Allows faster launches, iterative changes, and better adaptation to evolving requirements
In the SDLC, which approach usually results in longer individual phases?
Waterfall approach
In the SDLC, which approach lets a basic product be released earlier?
Agile approach
What is the primary benefit of abstraction in object-oriented programming?
Hides complexity and internal details from users
What is an object in programming?
A grouping of data (variables) and operations (functions) on that data
What is information hiding (encapsulation)?
Keeping internal details hidden from the user
What is an Abstract Data Type (ADT)?
A data type restricted to specific, well-defined operations
How do objects support abstraction?
They expose only necessary operations while hiding internal details
Give a real-world example of abstraction
An oven’s user controls heat and sees the compartment but not internal mechanisms
Which of the following should be part of a CarOnLot object: carStickerPrice?
Yes
Which of the following should be part of a CarOnLot object: todaysTemperature?
No
Which of the following should be part of a CarOnLot object: numSalespeople?
No
Which of the following should be part of a CarOnLot object: GetDaysOnLot()?
Yes
Which of the following should be part of a CarOnLot object: DetermineTopSalesperson()?
No
What type of UML diagram shows static elements like variables and functions?
Structural diagram
What type of UML diagram shows dynamic behavior and processes?
Behavioral diagram