Study the code given below: <HTML> <HEAD> <SCRIPT LANGUAGE = "JavaScript">…

NVS Computer Science / IT Teacher Recruitment · Computer Science · 2017

Study the code given below: <HTML> <HEAD> <SCRIPT LANGUAGE = "JavaScript"> function start () { alert ("Event Occured") } </SCRIPT></HEAD> </BODY onLoad = "Start()"> <h1> Guess the event </H1> </BODY></HTML> How many times will the function Start () be called ?

  1. A.

    Once every time the system starts.

  2. B.

    Once every time the web page is refreshed.

  3. C.

    Only once when the window is opened.

  4. D.

    Will not be called as the event handler is wrong.

Attempted by 467 students.

Sign up free to check your answer

Sign up free

Explore the full course: Rssb Senior Computer Instructor

Loading lesson…