RankBoltRank higher. Grow faster.
Home › UGC-NET › Teaching & Research Aptitude › 31 December 2025 (Shift 1)

Which of the following is a scripting language?

UGC-NET · Teaching & Research Aptitude31 December 2025 (Shift 1)Question 38Answer from published final key

Which of the following is a scripting language?
  1. A
    FORTRAN 95
  2. B
    COBOL
  3. C
    C++
  4. D
    Visual Basic
    ✓ Correct

Answer: option D — Visual Basic

Detailed solution

Correct Answer

D. Visual Basic

Explanation

The question tests the difference between compiled languages and scripting languages.

A compiled language is translated into machine code as a whole, by a compiler, before it runs. The result is a standalone executable program.

A scripting language is interpreted. An interpreter reads and runs its statements line by line. It usually runs inside a host environment, such as an operating-system shell, an application or a browser. The script drives the objects of that host.

Scripts are usually short and event-driven. They are written to automate tasks, not to build a full system from scratch.

Of the four names given, only Visual Basic belongs to this world. Its Microsoft family includes VBScript and Visual Basic for Applications (VBA), which is built into Word, Excel and Access. These are interpreted and event-driven.

The code is attached to a host application or page. It runs on an event, such as a button click. The user does not make a separate compiled program. That is why Visual Basic is placed among scripting languages in the standard classification.

Key Points
Why the other options are incorrect
A
FORTRAN 95→A compiled, high-level language for scientific and numerical computing, such as array operations and numerical analysis. FORTRAN 95 is a standard revision of it. The source code must be compiled and linked before it runs. This is the opposite of scripting.
B
COBOL→A compiled language made for business data processing, such as payroll, banking and large record files. Its wordy, English-like syntax is often mistaken for "simple scripting". But a COBOL program is compiled, not interpreted.
C
C++→A compiled, general-purpose, object-oriented language built on C. It is used for system and application software. It needs a compiler. It does not run inside another application the way a script does.
Remember

Scripting language = interpreted and hosted (VBScript/VBA, JavaScript, Python scripts, shell scripts). FORTRAN, COBOL and C++ are compiled languages.

Sit the whole UGC-NET 31 December 2025 (Shift 1) paper — in the printed order, on the official clock, with every answer explained when you submit.

Start this paper →

30 free practice questions every day. 1 real full-length paper free, no login to start.

⬇ Download this paper's solutions as a PDF — free

Every solved question of this paper with its answer and step-by-step solution, in one printable file. Free with a RankBolt account.

More questions from this paper

All questions of UGC-NET 31 December 2025 (Shift 1) →