BCA 4th Semester
Scripting Language Board Question Paper 2021

Views: ...
tribhuvan university logo

Tribhuvan university

Faculty of Humanities & Social Science
OFFICE OF THE DEAN

2021

Bachelor In Computer Application

Course Title: Scripting Language

Code No: CACS 254

Semester:IV

Full Marks:60 Pass Marks:24 Time:3 hours

Candidates are required to answer the question in their own words as far as possible.

Group A
Group B
Attempt any SIX question.
[6x5=30]
2.

Explain features of JavaScript?

3.

What is NaN in JavaScript? Write JavaScript code to change background color of web page every second.

4.

What is arrow function? Write JavaScript code to calculate factorial of given number using arrow function.

5.

Write a program to create Chess board in PHP using loop.

6.

Write jQuery code to include date picker controls in HTML text box.

7.

Write a JavaScript program to retrieve any value from server-side script using Ajax.

8.

What is constructor? How you implement constructor in php?

Group C

Attempt any TWO questions

[2x10=20]
9.

What are advantages of inheritance? Write a PHP program to illustrate the concept of function overloading.

10.

Write HTML and JavaScript code to create a following calculator for performing basic arithmetic operations.

12C
123+
456-
78910
0.*=

11.

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 Number
Email Address
Upload your Project File
supported file format:
pdf,doc,docx,ppt,pptx,jpeg
Choose 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.