hamburger menu
All Coursesall course arrow
adda247
reward-icon
adda247
    arrow
    arrow
    arrow
    A system program that translates and executes an instruction at the same time is called:
    Question

    A system program that translates and executes an instruction at the same time is called:

    A.

    Assembler

    B.

    Interpreter

    C.

    Compiler

    D.

    Operating System

    Correct option is B

    The correct answer is (b) Interpreter.

    • An interpreter is a system program that reads, translates, and executes one instruction at a time from a high-level programming language into machine code.

    • Unlike a compiler, which translates the entire program before execution, the interpreter works line-by-line, making it suitable for real-time execution and debugging.

    Information Booster:

    • Interpreter: Executes source code line by line (e.g., Python, JavaScript).

    • Compiler: Converts the whole source code into machine code before execution (e.g., C, C++).

    • Assembler: Converts assembly language into machine code.

    • Operating System: Manages hardware and software resources; not directly responsible for code translation.

    Additional Information:

    Program TypeFunctionExamples
    InterpreterTranslates & executes line-by-linePython Interpreter
    CompilerTranslates entire code before executionGCC (GNU Compiler)
    AssemblerConverts assembly code to machine codeNASM, MASM
    Operating SystemManages system resourcesWindows, Linux, macOS

    test-prime-package

    Access ‘RRB NTPC’ Mock Tests with

    • 60000+ Mocks and Previous Year Papers
    • Unlimited Re-Attempts
    • Personalised Report Card
    • 500% Refund on Final Selection
    • Largest Community
    students-icon
    210k+ students have already unlocked exclusive benefits with Test Prime!

    Free Tests

    Free
    Must Attempt

    RRB NTPC CBT-1 (Undergraduate Level) Mock 1

    languageIcon English
    • pdpQsnIcon100 Questions
    • pdpsheetsIcon100 Marks
    • timerIcon90 Mins
    languageIcon English
    Free
    Must Attempt

    RRB NTPC Graduate Level PYP (Held on 5 Jun 2025 S1)

    languageIcon English
    • pdpQsnIcon100 Questions
    • pdpsheetsIcon100 Marks
    • timerIcon90 Mins
    languageIcon English
    Free
    Must Attempt

    RRC Grp D General Science Section Test 1

    languageIcon English
    • pdpQsnIcon25 Questions
    • pdpsheetsIcon25 Marks
    • timerIcon15 Mins
    languageIcon English