0% found this document useful (0 votes)
60 views2 pages

Scripting Language

project 1

Uploaded by

Bikash Khanal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
60 views2 pages

Scripting Language

project 1

Uploaded by

Bikash Khanal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Tribhuvan University

Faculty of Humanities & Social Sciences


OFFICE OF THE DEAN
2020
Full Marks: 60
Bachelor in Computer Application Pass Marks: 24
Course Title: Scripting Language Time: 3 hrs
Code No: CACS254
Semester: IV

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

Group B
Attempt any SIX questions. [6×5=30]

2. What is javaScript? What are the potential platforms where javaScript can be used? [1+3]
3. Define javaScript event. Illustrate how an event handler response particular event in web page.

[1+4]
4. What is an Immediately Invoked Function in javaScript? Explain with suitable example. [1+4]
5. Explain an array using suitable example and discuss how foreach loop accessing of elements is
stored in an array using PHP. [2+3]
6. What is jQuery? Illustrate different types of selectors in jQuery with appropriate example? [1+4]
7. What is the benefit of using AJAX? Discuss major methods that communicate with server-side
scripting. [1+4]
8. Discuss about MVC architecture with appropriate diagram. [5]

Group C
Attempt any TWO questions. [2×10=20]

9. 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). [5]
b) Write a program that displays the continuous time in the web page. The time should be in the
format of GG:MM:SS. [5]
10. Define method overriding. Write a PHP program to handle the overriding situation. [2+8]
11. 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 constrains if necessary. [10]

You might also like