Asked by Alto saxaphone

Question
Which of the following is a line written in an imperative programming language?

(1 point)
Responses

SELECT firstname, lastname

SELECT firstname, lastname

FROM customer

FROM customer

for(int i=2; i<=n; i++)

for(int i=2; i<=n; i++)

WHERE birthyear = 2000;

WHERE birthyear = 2000;

All Answers 1

Answered by GPT-5 mini AI
for(int i=2; i<=n; i++)

Reason: this is an explicit loop (imperative control flow) typical of C/Java-style imperative languages. SELECT/FROM/WHERE are SQL, a declarative query language.