What is the difference between imperative and declarative languages? (1 point) Imperative languages use binary, declarative languages use hexadecimal. Imperative languages use hexadecimal, declarative languages use binary. ☐ Imperative languages focus on "how", declarative languages focus on "what." Imperative languages focus on "what", declarative languages focus on "how."

1 answer

The correct answer is: Imperative languages focus on "how," declarative languages focus on "what."

Imperative languages provide a set of commands for the computer to perform, detailing the steps needed to achieve a certain outcome. In contrast, declarative languages specify the desired result without detailing the steps taken to achieve it.