CACS254 Scripting Language

Scripting Language: most repeated questions

Questions that have come up in more than one paper, matched by what they ask rather than exact wording. Most repeated first.

  1. 2×Asked in 2022, 2021
    Explain features of JavaScript?Answer coming5
    See the wording in each paper
  2. 2×Asked in 2022, 2021
    What are advantages of inheritance? Write a PHP program to illustrate the concept of function overloading.Answer coming10
    See the wording in each paper
  3. 2×Asked in 2022, 2021
    What is arrow function? Write JavaScript code to calculate factorial of given number using arrow function.Answer coming5
    See the wording in each paper
  4. 2×Asked in 2022, 2021
    What is constructor? How you implement constructor in php?Answer coming5
    See the wording in each paper
  5. 2×Asked in 2022, 2021
    What is NaN in JavaScript? Write JavaScript code to change background color of web page every secondAnswer coming5
    See the wording in each paper
  6. 2×Asked in 2022, 2021
    Write a JavaScript program to retrieve any value from server site script using Ajax.Answer coming5
    See the wording in each paper
  7. 2×Asked in 2022, 2021
    Write a program to create Chess board in PHP using loop.Answer coming5
    See the wording in each paper
  8. 2×Asked in 2022, 2021
    Write HTML and JavaScript code to create a calculator for performing basic arithmetic operations.Answer coming10
    See the wording in each paper
  9. 2×Asked in 2022, 2021
    Write jQuery code to include date picker controls in HTML text box.Answer coming5
    See the wording in each paper