Tribhuvan University
Bachelor of Computer Application
Semester 4 · TU Board 2021
Course Title: Scripting Language (CACS254)
Full Marks: 60Pass Marks: 24Time: 3 hours
Candidates are required to answer the question in their own words as far as possible.
Group B
Attempt any SIX question.(6 × 5 = 30)
- 2.5
Explain features of JavaScript?
Answer comingAlso asked in 2022
- 3.5
What is NaN in JavaScript? Write JavaScript code to change background color of web page every second.
Answer comingAlso asked in 2022
- 4.5
What is arrow function? Write JavaScript code to calculate factorial of given number using arrow function.
Answer comingAlso asked in 2022
- 5.5
Write a program to create Chess board in PHP using loop.
Answer comingAlso asked in 2022
- 6.5
Write jQuery code to include date picker controls in HTML text box.
Answer comingAlso asked in 2022
- 7.5
Write a JavaScript program to retrieve any value from server-side script using Ajax.
Answer comingAlso asked in 2022
- 8.5
What is constructor? How you implement constructor in php?
Answer comingAlso asked in 2022
Group C
Attempt any TWO questions(2 × 10 = 20)
- 9.10
What are advantages of inheritance? Write a PHP program to illustrate the concept of function overloading.
Answer comingAlso asked in 2022
- 10.10
Write HTML and JavaScript code to create a following calculator for performing basic arithmetic operations. 12C123+456-789100.*=
Answer comingAlso asked in 2022
- 11.10
Design following form in HTML and write corresponding server-side script to upload and submit user's data into database in consideration of following validation rules. Assume your own database and database connectivity related constraints if necessary.
Online Project Submission Form TU Registration NumberEmail AddressUpload your Project File supported file format: pdf,doc,docx,ppt,pptx,jpegChoose File | No file chosen Upload Validation rules: o Registration number, email and upload file are mandatory field. o Email address should not be a proper email format. o Upload file format must include pdf, doc, docx, ppt, pptx, jpeg file format. o File size must be less than 5 MB.
— The End —