✓Solution
Solution:
5th Generation Languages (5GL) are logic-based, AI-oriented languages that use **constraints** and **declarative problem-solving**, not step-by-step coding.
Examples: Prolog, Mercury, OPS5, etc.
- ASP and JavaScript → 4th generation or scripting languages
- SQL → 4th generation language
Hence, none of these belong to 5GL.