Problem:
Question 1: When does JavaScript code between tags get executed?
Question 2: What is the difference between single quotes and double quotes, in JavaScript?
Question 3: What is the final value of the variable x after the following script is executed?
Question 4: Write a JavaScript function named randomScore which returns a random integer from 50 to 100 (no input parameters).
Question 5: Name four types of input controls in forms.
Please explain all the answers of the questions in detail with example.