You are on page 1of 10

Trinity Institute of Professional Studies

Affiliated To Guru Gobind Singh Indraprastha University


SECTOR 16-C, DWARAKA, NEW DELHI

Subject

Web Based Programming Sub-Code:BCA 313


Assignment/ Case Study/PPT
Assignment-2
Submitted By: Submitted to:
Name of Student:Swapnanil Basak Name of Faculty:
Enrollment Number: 04620602020 Dr. Surabhi Shanker
Course: BCA Designation:
Semester: Vth Associate Professor
Shift: 1st
Year: 2020-2023
Assignment-2

Q1.Write a program to create a menu driver program and show the usage of
switch-case.

Code: -
Output: -

Q2. Write a program to implement Array-pad(), array_slice(), array_splice(),


list(), functions.

Array-pad(): -

Code: -
Output: -

Array-slice: -

Code: -

Output: -
Array_Splice : -

Code: -

Output: -
List: -

Code: -

Output: -
Q3. Design a form which upload and display image in PHP.

Code: -

Output: -
Q4. Write a PHP program to create a table and insert few records into it using
forms.

HTML:-

Code: -

PHP: -

Code: -
Output: -

You might also like