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

Web Based Programming

This document outlines the structure and content of the End Term Examination for the Web Based Programming subject for BCAJ students in May-June 2025. It includes various questions covering topics such as PHP, MySQL, and web development concepts, with specific tasks like creating forms, handling sessions, and performing database operations. The exam consists of multiple units with internal choices and a total of 60 marks.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views2 pages

Web Based Programming

This document outlines the structure and content of the End Term Examination for the Web Based Programming subject for BCAJ students in May-June 2025. It includes various questions covering topics such as PHP, MySQL, and web development concepts, with specific tasks like creating forms, handling sessions, and performing database operations. The exam consists of multiple units with internal choices and a total of 60 marks.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

(Please write your Exam Roll No.) Exam Roll No.

END TERM EXAMINATION


SECOND SEMESTER (BCAJ MAY-JUNE 2025
Paper Code: BCA-104 Subject: Web Based Programming
Time:3 Hours Maximnum Marks: 60
Note: Attempt all questions as directed. Internal choice is indicated.

Q1. Attempt any ten of the following questions: (1012=20)


a) Differentiate between WAMP, LAMP, MAMP and XAMPP.
b) Explain phpconfig().
c) What type juggling?
d) Differentiate between static and global variable.
e) Differentiate between printf, echo and print statements in PHP?
What is Hypertext Preprocessor?
g) How to check if there are any errors while connecting to MySQL using
MySQLiObject Oriented approach?
h) Differentiate between exceptions and errors.
i) Why is function overloading not supported in PHP?
Differentiate between $, $$ and $$$.
k) Differentiate between call by value and call by reference.
UNIT-I
Q2. (a) Differentiate between static and dynamic website. (5)
(b) Write a short note on associative array. Create an associative array using
countries as keys and cities as values and transform it into 2D array and
display the data as table. (5)
OR
Q3. (a) Differentiate between client-side scripting languages and server-side scripting
Languages. (5)
(b) Write a program to perform any2 types of sorting in PHP. (5)
UNIT-II
Q4. (a) Differentiate between sessions and cookies in PHP. (5)
(b) Create a registration form for a bank portal and sessions should expire if the
system is idle for l minute. (5)
OR
Q5. (a) What are different types of errors in PHP? (5)
(b) Create a form that takes user's full name, em¡il id, subject and message on
form Submission, a mail from email id "noreply@[Link]² will be sent to
the users email if which was entered by the user in the form, regarding form
submission confirmation with the message "We have received your query (5)
UNIT-III
Q6. (a) Write a program to upload and download an image. Please implement all
necessary validations along with the following validations:
(1) Image must be in the format "ipg, *.png, *jpeg
(i) Image must not be greater than IMB (6)
(b) Explain all the different modes of opening a file in PHP using fopen(). (4)
OR
Q7. (a) Explain all the concepts of Object Oriented Prograrmming. (5)
(b) Write a program to implement multiple inheritance in PHP. (5)
novaton P.T.O.
Technoo
Pe LIBRARY
N.D,59
(2-]
UNIT-IV
Q8. (a) Differentiate between MySQLi and PDO. Write a program to connect to a
database named "ggsipu_db' using MySQLi Object Oriented. (5)
(b) Write a short on MongoDB. (5)
OR
Q9. (a) Write a program to create database named "ggsipu_db" and perform CRUD
(Create, Read, Update and Delete) operations on the database using MySÌLi.
(6)
(b) Write a short on SQLite. (4)
*****k *******

P-zle

You might also like