hamburger menu
All Coursesall course arrow
adda247
reward-icon
adda247
    arrow
    arrow
    arrow
    A computer program that converts a high-level language program into an equivalent machine language program is called
    Question

    A computer program that converts a high-level language program into an equivalent machine language program is called

    A.

    assembler

    B.

    compiler

    C.

    loader

    D.

    More than one of the above

    E.

    None of the above

    Correct option is B

    A Compiler is a software program that translates code written in a high-level programming language (like C, C++, Java) into machine language (binary code) that a computer's CPU can understand and execute. The compiler performs this task in a single batch or multiple phases and often includes syntax checking, optimization, and error reporting.
    Important Key Points:
    1. Compiler: It translates entire programs from high-level languages into machine code before execution. Examples include GCC (for C/C++) and the Java Compiler (javac).
    2. Compilers are used for compiled languages, ensuring the program can run independently of the source code once compiled.
    3. The output of the compiler is an object file or executable file, depending on the process.
    Knowledge Booster:
    • Assembler: Converts assembly language (a low-level language) into machine code, not high-level languages.
    • Loader: Loads executable programs into memory for execution but does not translate any language.

    Free Tests

    Free
    Must Attempt

    DSSSB PRT Full Mock - 01

    languageIcon English
    • pdpQsnIcon200 Questions
    • pdpsheetsIcon200 Marks
    • timerIcon120 Mins
    languageIcon English
    Free
    Must Attempt

    Educational Psychology & Pedagogy - 01

    languageIcon English
    • pdpQsnIcon20 Questions
    • pdpsheetsIcon20 Marks
    • timerIcon15 Mins
    languageIcon English
    Free
    Must Attempt

    DSSSB PRT PYP Held on 7th March 2022 Shift 1

    languageIcon English
    • pdpQsnIcon200 Questions
    • pdpsheetsIcon200 Marks
    • timerIcon120 Mins
    languageIcon English
    test-prime-package

    Access ‘BPSC TRE (11-12)’ Mock Tests with

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