What is JavaScript? What are the potential platforms where JavaScript can be used?
Define JavaScript event. Illustrate how an event handler response particular event in web page.
What is an Immediately Invoked Function in JavaScript? Explain with suitable example.
Explain an array using suitable example and discuss how foreach loop accessing of elements is stored in an array using PHP.
What is jQuery? illustrate different types of selectors in jQuery with appropriate example?
What is the benefit of using AJAX? Discuss major methods that communicate with server-side scripting.
Discuss about MVC architecture with appropriate diagram.
Attempt any TWO questions
[2x10=20]a) Write a program which includes a function sum(). This function sum() should be designed to add an arbitrary list of parameters. (For e.g ., if you call the function sum() as sum (1, 2) it should return the result 3 and if again you call the function sum() as sum(1,3,4) it should return the result 8).
b) Write a program that displays the continuous time in the web page. The time should be in the format of HH:MM:SS.
Define method overriding. Write a PHP program to handle the overriding situation.
Design following form in HTML and write corresponding PHP and SQL code for CRUD operations based on user's data.
Assume your own database and database connectivity related constraints if necessary.