BCA 4th Semester
Scripting Language Board Question Paper 2020

Views: ...
tribhuvan university logo

Tribhuvan university

Bachelor In Computer Application

Course Title: Scripting Language

Code No: CACS 254

Semester:IV

2020

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 the concept structure and importance of DOM.

3.

What is JavaScript? Write JavaScript code to print smallest and larges numbers among 10 elements of an array.

4.

What is dialog box? Explain different dialog boxes with suitable example in JavaScript.

5.

Explain the two HTTP functions to accept the user values from interface with suitable PHP program

6.

What is the use of jQuery? Write the sample program to show and hide the certain div with the use of jQuery.

7.

Why Ajax is required in web development? Write a sample program to synchronize data between JavaScript and PHP.

8.

What is CMS, Write the steps to create submenu in WordPress or Joomla?

Group C

Attempt any TWO questions

[2x10=20]
9.

Design following form in HTML and display the value in the result box after calculating basic arithmetic operation based on the use input with the use of JavaScript.

10.

Write an object-oriented PHP program to implement the concept of inheritance in considering with following class diagram with the use of constructor for 20 students.

11.

Design following forms in HTML and write corresponding PHP and MySQL code to store the user's values after satisfying following validation rules.
a. Length of Full name up to 40 characters
b. Email address must be valid email address
c. Username must be start with string and followed by number.
d. Password length must be more than 8 characters.