Savitribai Phule Pune University
SYBCA (Science) Practical Examination, May/June
(2019 Pattern) Semester IV
BCA–245 Lab Course – II (Web Technology)
Duration: 3 Hours Maximum Marks: 35
____________________________________________________________________________
Q 1. Write a PHP script to display student information on web page. [10]
Q 2. Write a PHP script to accept the number from user and Write a php function to
calculate the factorial of a number (a non-negative integer). The function accepts the
number as an argument. [20]
Q [Link] [5]
(1)
Savitribai Phule Pune University
SYBCA (Science) Practical Examination, May/June
(2019 Pattern) Semester IV
BCA–245 Lab Course – II (Web Technology)
Duration: 3 Hours Maximum Marks: 35
_________________________________________________________________
Q 1. Write a PHP script to script to display time table of your class (use HTML table
tags in echo). [10]
Q 2. Design a HTML form to accept a string. Write a php function to reverse a string.
[20]
Q [Link] [5]
(2)
Savitribai Phule Pune University
SYBCA (Science) Practical Examination, May/June
(2019 Pattern) Semester IV
BCA–245 Lab Course – II (Web Technology)
Duration: 3 Hours Maximum Marks: 35
____________________________________________________________________________
Q [Link] a PHP script to check number 153 is Armstrong or not. [10]
Q 2. Design a HTML form to accept a string. Write a PHP function that checks whether a passed
string is a palindrome or not? [20]
Q [Link] [5]
(3)
Savitribai Phule Pune University
SYBCA (Science) Practical Examination, May/June
(2019 Pattern) Semester IV
BCA–245 Lab Course – II (Web Technology)
Duration: 3 Hours Maximum Marks: 35
____________________________________________________________________________
Q 1. Write a PHP script to declare three variables and print maximum among them. [10]
Q 2. Design a HTML page to accept a number and write a PHP script to display that number in
words e.g. 123 - one two three
[20]
Q [Link] [5]
(4)
Savitribai Phule Pune University
SYBCA (Science) Practical Examination, May/June
(2019 Pattern) Semester IV
BCA–245 Lab Course – II (Web Technology)
Duration: 3 Hours Maximum Marks: 35
____________________________________________________________________________
Q [Link] a PHP script to check number 153 is Armstrong or not. [10]
Q 2. Design a HTML form to accept a string. Write a PHP script for the following. a) Write a
function to count the total number of Vowels from the script. b) Show the occurrences of each
Vowel from the script. [20]
[Link] [5]
(5)
Savitribai Phule Pune University
SYBCA (Science) Practical Examination, May/June
(2019 Pattern) Semester IV
BCA–245 Lab Course – II (Web Technology)
Duration: 3 Hours Maximum Marks: 35
____________________________________________________________________________
Q 1. Write a PHP script to check whether accepted number is prime or not. [10]
Q 2. Write a PHP script for the following: a) Design a form to accept two numbers from the
users. b) Give option to choose an arithmetic operation (use Radio Button). c) Display the result
on next form.
[20]
[Link] [5]
(6)
Savitribai Phule Pune University
SYBCA (Science) Practical Examination, May/June
(2019 Pattern) Semester IV
BCA–245 Lab Course – II (Web Technology)
Duration: 3 Hours Maximum Marks: 35
____________________________________________________________________________
Q 1. Write a PHP script to test whether a number is greater than 30, 20 or 10 using ternary
Operator. [10]
Q 2. Write a menu driven program to perform the following operations on an associative array:
a) Display the elements of an array along with the keys.
b) Display the size of an array [20]
Q [Link] [5]
(7)
Savitribai Phule Pune University
SYBCA (Science) Practical Examination, May/June
(2019 Pattern) Semester IV
BCA–245 Lab Course – II (Web Technology)
Duration: 3 Hours Maximum Marks: 35
____________________________________________________________________________
Q 1. Write a PHP script to display Employee information on web page. [10]
Q 2. Design a HTML form to accept a string. Write a php function to reverse a string. [20]
Q [Link] [5]
(8)
Savitribai Phule Pune University
SYBCA (Science) Practical Examination, May/June
(2019 Pattern) Semester IV
BCA–245 Lab Course – II (Web Technology)
Duration: 3 Hours Maximum Marks: 35
____________________________________________________________________________
Q 1. Write a PHP script to check number 6 is perfect or not.
[10]
Q 2. Write a menu driven program the following operation on an associative array
a) Reverse the order of each element’s key-value pair. [Hint: array_flip()]
b) Traverse the element in an array in random order. [Hint: shuffle()] [20]
Q [Link] [5]
(9)
Savitribai Phule Pune University
SYBCA (Science) Practical Examination, May/June
(2019 Pattern) Semester IV
BCA–245 Lab Course – II (Web Technology)
Duration: 3 Hours Maximum Marks: 35
____________________________________________________________________________
Q 1. Write a PHP script to display factorial of given number. [10]
.
Q 2. Declare array. Reverse the order of elements, making the first element last and last element
first and similarly rearranging other array elements.[Hint : array_reverse()]
[20]
Q [Link] [5]
(10)
Savitribai Phule Pune University
SYBCA (Science) Practical Examination, May/June
(2019 Pattern) Semester IV
BCA–245 Lab Course – II (Web Technology)
Duration: 3 Hours Maximum Marks: 35
____________________________________________________________________________
Q 1. Write a PHP script to display student information on web page. [10]
2. Write a menu driven program to perform the following stack related operations.
a) Insert an element in stack.
b) Delete an element from stack.[Hint: array_push(), array_pop()]
[20]
Q 3. Viva [5]
(11)
Savitribai Phule Pune University
SYBCA (Science) Practical Examination, May/June
(2019 Pattern) Semester IV
BCA–245 Lab Course – II (Web Technology)
Duration: 3 Hours Maximum Marks: 35
____________________________________________________________________________
Q 1. Write a PHP script to script to display time table of your class (use HTML table
tags in echo). [10]
Q 2. Write a PHP program to define Interface shape which has two method as area() and volume
(). Define a constant PI. Create a class Cylinder implement this interface and calculate area
and Volume. [20]
Q 3. Viva [5]
(12)
Savitribai Phule Pune University
SYBCA (Science) Practical Examination, May/June
(2019 Pattern) Semester IV
BCA–245 Lab Course – II (Web Technology)
Duration: 3 Hours Maximum Marks: 35
____________________________________________________________________________
Q [Link] a PHP script to check number 153 is Armstrong or not.
[10]
2. Write a PHP script to create a Class shape and its subclass triangle, square and display area of
the selected shape.( use the concept of Inheritance) . Display menu (use radio button)
a) Triangle
b) Square
.
[20]
Q [Link] [5]
(13)
Savitribai Phule Pune University
SYBCA (Science) Practical Examination, May/June
(2019 Pattern) Semester IV
BCA–245 Lab Course – II (Web Technology)
Duration: 3 Hours Maximum Marks: 35
____________________________________________________________________________
Q 1. Write a PHP script to declare three variables and print maximum among them. [10]
Q 2. Design a HTML form to accept a string. Write a php function to reverse a string.
[20]
Q [Link] [5]
(14)
Savitribai Phule Pune University
SYBCA (Science) Practical Examination, May/June
(2019 Pattern) Semester IV
BCA–245 Lab Course – II (Web Technology)
Duration: 3 Hours Maximum Marks: 35
____________________________________________________________________________
Q [Link] a PHP script to check number 153 is Armstrong or not. [10]
Q 2. Design a HTML form to accept a string. Write a PHP function that checks whether a passed
string is a palindrome or not? [20]
3. Viva [5]
(15)
Savitribai Phule Pune University
SYBCA (Science) Practical Examination, May/June
(2019 Pattern) Semester IV
BCA–245 Lab Course – II (Web Technology)
Duration: 3 Hours Maximum Marks: 35
____________________________________________________________________________
Q 1. Write a PHP script to check whether accepted number is prime or not. [10]
Q 2. Write a PHP script for the following: a) Design a form to accept two numbers from the
users. b) Give option to choose an arithmetic operation (use Radio Button). c) Display the result
on next form.
[20]
Q [Link] [5]
(16)
Savitribai Phule Pune University
SYBCA (Science) Practical Examination, May/June
(2019 Pattern) Semester IV
BCA–245 Lab Course – II (Web Technology)
Duration: 3 Hours Maximum Marks: 35
____________________________________________________________________________
Q 1. Write a PHP script to test whether a number is greater than 30, 20 or 10 using ternary
Operator. [10]
Q 2. Design a HTML page to accept a number and write a PHP script to display that number in
words e.g. 123 - one two three
[20]
Q [Link] [5]
(17)
Savitribai Phule Pune University
SYBCA (Science) Practical Examination, May/June
(2019 Pattern) Semester V
BCA–245 Lab Course – II (Web Technology)
Duration: 3 Hours Maximum Marks: 35
__________________________________________________________________________________
Q 1. Write a PHP script to display Employee information on web page. [10]
Q 2. Write a menu driven program to perform the following operations on an associative array:
a) Display the elements of an array along with the keys.
b) Display the size of an array [20]
Q [Link] [5]
(18)
Savitribai Phule Pune University
SYBCA (Science) Practical Examination, May/June
(2019 Pattern) Semester IV
BCA–245 Lab Course – II (Web Technology)
Duration: 3 Hours Maximum Marks: 35
__________________________________________________________________________________
Q 1. Write a PHP script to check number 6 is perfect or not. [10]
Q 2. Design a HTML form to accept a string. Write a php function to reverse a string. [20]
Q [Link] [5]
(19)
Savitribai Phule Pune University
SYBCA (Science) Practical Examination, May/June
(2019 Pattern) Semester IV
BCA–245 Lab Course – II (Web Technology)
Duration: 3 Hours Maximum Marks: 35
________________________________________________________________________________
Q 1. Write a PHP script to display factorial of given number. [10]
Q 2. Write a menu driven program the following operation on an associative array
a) Reverse the order of each element’s key-value pair. [Hint: array_flip()]
b) Traverse the element in an array in random order. [Hint: shuffle()] [20]
[Link] [5]
(20)
Savitribai Phule Pune University
SYBCA (Science) Practical Examination, May/June
(2019 Pattern) Semester IV
BCA–245 Lab Course – II (Web Technology)
Duration: 3 Hours Maximum Marks: 35
___________________________________________________________________________________
Q 1. Write a PHP script to check number 6 is perfect or not. [10]
Q 2. Declare array. Reverse the order of elements, making the first element last and last element
first and similarly rearranging other array elements.[Hint : array_reverse()]
[20]
[Link] [5]
(21)