State PCS PYQPrelims 2023

BPSC – Combined Competitive Examination · Question 5

Which of the following are computer languages? 1. Cobra 2. Python 3. Squirrel 4. Java

  1. Only 1 and 2
  2. Only 3 and 4
  3. Only 1, 2 and 3
  4. All of the above
Show answer & explanation

Answer: (D) All of the above

Explanation

All four, despite animal names, are programming languages (Squirrel is a lightweight scripting language).

  • (A) Incorrect

    Wrong: Squirrel and Java are also programming languages.

  • (B) Incorrect

    Wrong: Cobra and Python are also programming languages.

  • (C) Incorrect

    Wrong: Java is also a programming language.

  • (D) Correct

    Correct: Cobra, Python, Squirrel and Java are all programming languages.