Mid-Term examination question paper set for Scripting Language from the year 2081.
Tribhuvan University
Faculty of Humanities & Social Sciences
OFFICE OF THE DEAN
2025
Bachelor in Computer Applications
| Paper detail | Value |
|---|---|
| Course | Scripting Language |
| Code No. | CACS254 |
| Semester | IVth |
| Full marks | 60 |
| Pass marks | 24 |
| Time | 3 hours |
Candidates are required to answer the questions in their own words as far as possible.
Group B
2. Define a function. Explain the use of break and continue keywords with example.
3. Differentiate between client side scripting and server side scripting.
4. What is array? Describe different types of loops used in PHP.
5. Write a PHP code to demonstrate the use of class and object.
6. What is CMS? Compare WordPress and Joomla.
7. What is AJAX? How is it used?
8. Explain the features of jQuery. What are the different ways of using jQuery?
Group C
9. Create a login form and perform client side validation. The email should be in standard email format and the password should contain at least 8 characters.
10. Write PHP code to create a table, insert a record in that table and fetch records from the table.
11. Define plugin. Write steps to install a plugin in WordPress.