RankBoltRank higher. Grow faster.
Home › UGC-NET › Teaching & Research Aptitude › 2 January 2026 (Shift 2)

Identify the correct logical sequence for programming:

UGC-NET · Teaching & Research Aptitude2 January 2026 (Shift 2)Question 36Answer from published final key

Identify the correct logical sequence for programming:
A. Compilation
B. Editing
C. Linking
D. Execution
Choose the correct answer from the options given below :
  1. A
    D, B, A, C
  2. B
    A, B, D, C
  3. C
    A, B, C, D
  4. D
    B, A, C, D
    ✓ Correct

Answer: option D — B, A, C, D

Detailed solution

Correct Answer

D. B, A, C, D

Explanation

A program goes through a fixed chain of stages before the machine can run it. Each stage uses what the previous stage produced.

So the logical order is Editing → Compilation → Linking → Execution. That is B, A, C, D, which is option D.

The answer depends on this chain of needs. Compilation needs a saved source file. Linking needs object code. Execution needs a linked executable. If you move any stage, the chain breaks.

Key Points
Why the other options are incorrect
A
D, B, A, C→This starts with execution. At the start there is no executable file, so nothing can run. Editing must come first and execution must come last.
B
A, B, D, C→This has two faults. Compilation comes before the code is written. Execution comes before linking. An unlinked object file has unresolved references to library functions, so it cannot run.
C
A, B, C, D→Only the first two stages are swapped, but that is enough to make it wrong. A compiler cannot translate a source file that has not yet been written and saved.
Example

In C, you type hello.c in an editor. gcc compiles it to object code hello.o. The linker adds the standard library code for printf and produces a.out. Only then does running a.out print the message.

Remember

Write it, translate it, join it, run it: Edit, Compile, Link, Execute.

Sit the whole UGC-NET 2 January 2026 (Shift 2) 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 2 January 2026 (Shift 2) →