Imperative programming tells the code __________(1), while declarative programming tells the code __________(2).
Imperative solution involves specific __________(3), such as creating a function to set text.
Declarative solution focuses on stating __________(4) and letting the system handle the changes.
In a real-world example with an array of numbers, an imperative solution involves __________(5).
A declarative solution, on the other hand, simply states __________(6).
Both imperative and declarative programming have their own approaches and applications in coding.
Understanding __________(7) can greatly impact the development process.
Correct answers:
1. how to be written
2. what you want to achieve
3. instructions
4. the desired outcome
5. manually filtering out numbers
6. the desired outcome of having a new list with numbers
7. the difference between the two