Slip 1
Slip 2
b)Write a script to
solve following questions (Use "Student.xml" file)
Slip3
b)Write a script to
create "cricket.xml" file with multiple elements as shown below:
<player>_
</player> <runs> </runs> <wicket> </wicket>
Slip4
b)Create an xml file
which should comprise the following:
Slip 5
b)Create student table
as follows:
Slip 6
a) Write a PHP script,
which will return the following component of the URL (Using response header)
b)Consider the
following relational database:
Slip 8
Slip 9
b)Consider the
following entities and their relationships
Movie(movie
no,movie_name,release_year) Actor(actor no,name) Relationship between movie and
actor is many-many with attribute rate in Rs. Create a RDB in 3 NF. With using
three radio buttons (accept, insert, update) Write an AJAX script to accept
actor name and display names of movies in which he has acted.
Slip 10
b)Write a PHP script to
perform the following stack related operations- insert, delete and display.
(Use concept of self processing form)
Slip 11
a)Write a PHP program
to create class circle having radius data member and two member functions find
circumference and find_area(). Display area and circumference depending on
user's preference.
b)Write an Ajax code to
print the content of "Myfile.dat" on clicking on fetch Button. The
data fetches from the server using Ajax Technique.
Slip 12
a)Write a PHP program
to convert temperature Fahrenheit to Celsius using sticky form.
b)Write an AJAX script
to read contact.dat file and print the content of a file in a tabular form when
the user clicks on print button. Contact.dat file contains srno, name,
residence number, mobile number (Enter at least 3 records in contact.dat file)
Slip 13
a)Create a form toaccept Employee detail and display it in next page. (Use sticky form concept).
b)Create web
Application that contains Voters details and check proper validation for (name,
age, and nationality), as Name should be in upper case letters only, Age should
not be less than 18 yrs and Nationality should be Indian.(use HTML-AJAX-PHP)
Slip 14
a)Write a PHP script to
accept a string from user and then display the accepted string in reverse
order. (use concept of self processing form)
b)Write a PHP script
using AJAX concept, to check user name and password are valid or Invalid (use
database to store user name and password).
Slip 15
a)Write PHP program to
select list of subjects from list box and displays the selected subject information
on next page. (Use sticky Multivalued parameter).
b)Write a PHP script
using AJAX concept, to give hint to user when he/she type city name in the text
field.
Slip 16
Slip 17
a)Write a PHP Script to
display Server information in table format (Use $_SERVER).
b)Write a script to
create XML file "University.xml”. The elements details of
"University.xml” are as
follows: <Univ>
<Uname> ---------</Uname> <City>---------</City>
<Rank>---------</Rank> </Univ>
1) Store the details of
at least 3 universities. 2) Link the “University.xml" file to css and get
well formatted output as given below....
i) Uname : Color:
black;
Font-family:
copperplate Gothic Light; Font-size: 16 pt
Font: Bold; ii) City
and Rank : Color : Yellow;
Font-family: Arial;
Font-size: 12 pt Font: Bold;
Slip 18
a)Write a PHP program
to create a simple distance calculator that can accept distance in meters from
user. Convert it into
centimeter or kilometer according to user preference. (use radio buttons and
Self Processing form)
b)Write a PHP script to
generate an XML in the following format.
<?xml version =
"1.0" ?> <Book Store> <Books>
<PHP>
<title>Programming
PHP</title> <publication>O’RELLY</publication>
<price>
800</price> </PHP> <PHP>
<title>Beginners
PHP</title> <publication>WROX</publication>
<price>900</price>
</PHP> </Books>
</Book Store> Add
more than 5 books details. Display details of book by selecting the publication
of book from user.
Slip 19
a)Write a PHP program
to read the XML document "stock_list.xml" (fruits and vegetables)
which creates XML document and parse the XML data into an array.
b) Write a Ajax program
to get book details from XML file when user select book name. Create XML file
to store details of book(name, author, year and price).
Slip 20
b)Write a PHP script
for the following: Design a form to accept a number from the user. Perform the
operations and show the results. 1) Fibonacci Series. 2) To find sum of the
digits of that number. (Use the concept of self processing page.)
Slip 21
a)Write a script to
create XML file named “Course.xml"
<Student
name>.......</Student name> <Class name> ......</Class
name>
b)Create a class
Student with data members Roll No. Name, PRN number. Derive class Marks from
student with data members M_PHP, M_OS, M_CPP, M Networking and derive a class
Result from class Marks with members (Total_Marks, Percentage, Grade). (Use
Interface Concept) Write a Menu driven program in PHP to perform the following
operations
i.Accept Student
Information ii. Display Student Information with its result.
Slip 22
1) Yoga 2) Story 3)
Technical and elements in each category are in the following format
</Book> Save the
file as “Bookcategory.xml"
b)Create a Basic Page
in Drupal titled "About Me”. Add the details about yourself in the page.
Also place this page link in the Main Menu. Display this menu link before all
the menu items. Show text “This is <your name>" when move the mouse
pointer at this menu link.
Slip 23
b) Write Ajax program
to print Movie details by selecting an Actor's name.
Slip 24
a)Write a script to
create XML file named "College.xml"
The element details of
"College.xml" are: <College >
<Cname>-----</Cname>
<City>----</City>
<Rank>----</Rank>
</College> Display at least 3 colleges Information.
b)Create a Basic Page
in Drupal titled “DepartmentPortal”. Add the details about Departments and
Teacher details in the page. Also place this page link in the Main Menu.
Slip 25
a) Write a script to
create "vehicle.xml" file with multiple elements as given below
<Vehicler Name >
-------- </Vehicle Name> <Company >--------- </Company>
<Color>--------</Color>
<Average)
------</Average> </Type> </Vehicle> Also add Type = “Four
Wheeler” and its elements
Slip 26
a)Write a simple PHP
program which implements Ajax for addition of two numbers.
b)Create a front-page
article in Drupal titled “My Article". Write an article about PHP
programming Language and add to the article page. Display an Image appropriate
to the Article at the bottom of the Article. Also place this page link in the
Main Menu. Display this menu link before all the menu items. Show text “This is
your name>" when move the mouse pointer at this menu link. Also post a
comment about your article.
Slip 27
a)Write a simple PHP
program which implements Ajax for Factorial of a numbers.
Slip 28
a)Write an Ajax programto display list of games stored in an array on clicking OK button.
b)Create a Block in
Drupal titled "College Site". The block should be displayed in the
left side of each page. The block should contain announcement about an upcoming
event in your college. Also change the theme of your website by following properties:
a)Change the background
colour.
b)Change the logo
image.
Slip 29
Slip 30
a)Derive a class
Rectangle from class Square. Create one more class Triangle. Create an
interface with only one method called cal_area (). Implement this interface in
all the classes. Include appropriate data members and constructors in all
classes. Write a program to accept details of a Rectangle, Square and
Triangle and display
the area.
b)Develop a module in
Drupal to create a page showing your contact details (name, roll_no, address,
and phone). Also add Navigation on the Home Page called “Contact Details”.