hamburger menu
All Coursesall course arrow
adda247
reward-icon
adda247
    arrow
    arrow
    arrow
    Which of the following statements is true about JavaScript?
    Question

    Which of the following statements is true about JavaScript?

    A.

    JavaScript doesn't execute without preliminary compilation

    B.

    JavaScript is not an interpreted language

    C.

    JavaScript along with HTML should be compiled before executing

    D.

    JavaScript executes without preliminary compilation

    Correct option is D

    JavaScript is an interpreted language, meaning it does not require a separate compilation step before execution. It is executed by the browser’s JavaScript engine (like V8 in Chrome or SpiderMonkey in Firefox) at runtime. This allows developers to write and run code directly in the browser without compiling it first.

    Important Key Points:

    1. JavaScript is an interpreted, client-side scripting language.
    2. It is executed by the browser’s engine in real-time, without explicit compilation.
    3. This makes JavaScript suitable for dynamic web content and responsive applications.

    Knowledge Booster:

    • JavaScript doesn't execute without preliminary compilation: Incorrect — JavaScript is interpreted, not compiled ahead-of-time like C or Java.
    • JavaScript is not an interpreted language: Incorrect — It is a classic example of an interpreted language.
    • JavaScript along with HTML should be compiled before executing: HTML is a markup language, and JavaScript is interpreted — no compilation is needed for either.

    Free Tests

    Free
    Must Attempt

    MPTET Varg 3 PRT Mock 01

    languageIcon English
    • pdpQsnIcon150 Questions
    • pdpsheetsIcon150 Marks
    • timerIcon150 Mins
    languageIcon English
    Free
    Must Attempt

    MPTET Varg 3 PRT CDP Subject Test 01

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

    UPTET Paper 2 Social Science : PYP Held on 23rd Jan 2022 (Shift 2)

    languageIcon English
    • pdpQsnIcon150 Questions
    • pdpsheetsIcon150 Marks
    • timerIcon150 Mins
    languageIcon English
    test-prime-package

    Access ‘UP Police’ Mock Tests with

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