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

Which of the following statements A-D are with

UGC-NET · Teaching & Research Aptitude6 January 2025 (Shift 1)Question 31Answer key not yet verified

Which of the following statements A-D are with reference to high-level computer programming languages?
A. These need to be translated into machine code in order to run on a computer.
B. These are written using mnemonic codes.
C. These are specific to the computer's hardware.
D. These are portable languages.
Choose the correct answer from the options given below:
  1. A
    B and C only
  2. B
    A and B Only
  3. C
    A and D Only
    ✓ Correct
  4. D
    C and D only

Answer: option C — A and D Only

Detailed solution

Correct Answer

C. A and D Only

Explanation

Programming languages sit on a ladder. At the bottom is machine code. It is pure binary, and it is the only thing the CPU actually runs.

One step up is assembly language. It replaces binary opcodes with mnemonics (short code words like ADD, MOV, JMP). It is tied one-to-one to a particular processor's instruction set.

At the top are high-level languages (C, Java, Python, FORTRAN, COBOL). They use near-English syntax with variables, loops and functions. They are deliberately kept away from registers and memory addresses.

Two consequences define a high-level language. The two true statements state exactly these:

So the true set is A and D. That is option C.

StatementVerdictReason
A. Need translation into machine codeTrueRequires a compiler or interpreter
B. Written using mnemonic codesFalseMnemonics belong to assembly language
C. Specific to the computer's hardwareFalseThat is machine and assembly language
D. Portable languagesTrueMachine-independent source code
Key Points
Why the other options are incorrect
A
B and C only→Both describe low-level languages. Mnemonic codes (B) are the main feature of assembly. Hardware-specificity (C) is exactly what high-level languages were made to avoid. This option is the exact opposite of the right answer.
B
A and B Only→A is correct, but B brings in assembly's mnemonics. Also, needing translation is not unique to high-level languages. Assembly also needs an assembler. So A alone cannot settle the question. The feature that sets high-level languages apart is portability.
D
C and D only→C and D contradict each other. A language cannot be tied to one machine's hardware and also be portable across machines. Spotting this clash is enough to rule the option out.
Remember

Mnemonics and hardware-dependence = assembly (low-level). English-like syntax, needs a translator, runs anywhere = high-level.

Sit the whole UGC-NET 6 January 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 6 January 2025 (Shift 1) →