What is the difference between imperative and declarative languages?

(1 point)
Responses

Imperative languages use binary; declarative languages use hexadecimal.

Imperative languages use binary; declarative languages use hexadecimal.

Imperative languages use hexadecimal; declarative languages use binary.

Imperative languages use hexadecimal; declarative languages use binary.

Imperative languages focus on “how”; declarative languages focus on “what.”

Imperative languages focus on “how”; declarative languages focus on “what.”

Imperative languages focus on “what”; declarative languages focus on “how.”

1 answer

The correct response is:

Imperative languages focus on “how”; declarative languages focus on “what.”

Imperative languages specify the steps to achieve a goal (how to do something), while declarative languages specify the desired outcome without detailing the steps to achieve it (what to do).

Similar Questions
    1. answers icon 1 answer
  1. Which kind of sentences give commands?(1 point)Responses declarative declarative exclamatory exclamatory imperative imperative
    1. answers icon 2 answers
  2. A)Identify the choice that best describes the sentence: You must be kidding! (1 point) Responses declarative declarative
    1. answers icon 1 answer
    1. answers icon 5 answers
more similar questions