Multiple choice general knowledge

Find the odd one out

  1. Ada

  2. Prolog

  3. JAVA

  4. Ruby

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Prolog is the only logic programming language in this list, while Ada, Java, and Ruby are all imperative or object-oriented languages. Prolog is based on formal logic and is used primarily in artificial intelligence and computational linguistics, making it fundamentally different from the other programming paradigms listed.