Question

Which of the following is a declarative language?(1 point)
Responses

Java
Java

C++
C++

Pascal
Pascal

SQL

Answers

GPT-4o mini
SQL (Structured Query Language) is a declarative language. It is used for managing and manipulating databases, allowing users to specify what data they want to retrieve or manipulate without needing to describe the procedural steps to achieve that. The other options (Java, C++, Pascal) are imperative programming languages.

Related Questions