Chapter Study

BCA Semester 4 Scripting Language () Questions & Answers | Past TU Exam Papers

Practice from Scripting Language with detailed solutions and model answers from past Tribhuvan University exams.

12
Questions
80
Marks
Back to All Chapters

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

MediumTHEORY5 marks2020(TU FOHSS Final)

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

MediumTHEORY5 marks2020(TU FOHSS Final)

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 charactersb. Email address must be valid email addressc. Username must be start with string and followed by number.d. Password length must be more than 8 characters.

MediumTHEORY10 marks2020(TU FOHSS Final)

Explain an array using suitable example and discuss how foreach loop accessing of elements is stored in an array using PHP.

MediumTHEORY5 marks2021(TU FOHSS Final)

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 constraints if necessary.

MediumTHEORY10 marks2021(TU FOHSS Final)

What do you mean by super global variable in PHP? How to read and write CSV file in PHP explain with suitable example.

MediumTHEORY5 marks2023(TU FOHSS Final)

What is an associative array? Write a PHP program to create a multidimensional array that holds the marks of five subject like Operating system, Scripting, Numerical method, DBMS, Software Engineering and of three student Anshis, Jayanti, Niraj. Then display the average marks of each student.

MediumTHEORY5 marks2023(TU FOHSS Final)

Design a HTML registration form containing text box for Name and Email, radio button for gender, selection list for education field. Write a PHP script to validate input and then store data from the form into database using database connection and appropriate query.

MediumTHEORY10 marks2023(TU FOHSS Final)

Write PHP function that accepts username and password as arguments and check with student table, if credential match, redirect to dashboard page otherwise display 'Invalid username/password'.

MediumTHEORY5 marks2024(TU FOHSS Final)

Write rules to create variable in PHP. How to create, store, access and destroy session in PHP?

MediumTHEORY5 marks2024(TU FOHSS Final)

Write server side script to create and validate form with following rule and store given data into 'patients' table with details (name, patientid, mobile, gender, address, dob, doctor name)• Name, Mobile, doctor name, gender, dob: Required• Mobile: 10 digit start with 98,97 or 96• DOB: YYYY-MM-DD format

MediumTHEORY10 marks2024(TU FOHSS Final)

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

MediumTHEORY5 marks2022(TU FOHSS Final)
Showing 12 questions

Unit 2: Server Side Scripting with Database Connectivity (15Hrs.) chapter questions with answers for Scripting Language (BCA Semester 4). Prepare for TU exams with our comprehensive question bank and model answers.