TYBCA-VI >> ADVANCE WEB TECHNOLOGY- 25 Marks

1) Write class declarations and member function definitions for following
employee(code, name, designation). Design derived classes as
emp_account(account_no, joining_date) from employee and
emp_sal(basic_pay, earnings, deduction) from emp_account.
Write a PHP Script to create 5 objects (pass details using parameterized constructor) and Display details of Employees who having Maximum and Minimum Salary.




2)Define area and mvoluate the interface which has methods area(),volume().define consatnt Pi create new classs cyliender which implemnets ths interface and calculate area and define.


3) Derive a class square from class Rectangle. Create one more class circle. Create an interface with only one method called 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 square, circle and rectangle and display the area.


4)Create a login form with a username and password. Once the user logs in, the second form should be displayed to accept user details (name, city, phoneno). If the user doesn’t enter information within a specified time limit, expire his session and give a warning otherwise Display Details($_SESSION).


5)Define a class Employee having private members – id, name, department, salary. Define parameterized constructors. Create a subclass called “Manager” with private member bonus. Create 6 objects of the Manager class and display the details of the manager having the maximum total salary (salary + bonus).


6) Write a PHP Script to create a super class Vehiclehaving members Company and price. Derive 2 different classes LightMotorVehicle (members – mileage) and HeavyMotorVehicle (members – capacity-in-tons). Define 5 Object of each subclass and display details in table format )


7)Create employee table as follows Bus(bno, bname, source, designation ). Write Ajax program to selectthe bus name and print the selected bus details.


8) Write Ajax program to carry out validation for a username enteredin textbox. If the textbox is blank, print ‘Enter username’. If thenumber of characters is less than three,print’ Username is tooshort’. If value entered is appropriate the print ‘Valid username’.


9)Write an Ajax program to print the content of the myfile.dat. This code asks the user to click a button, fetches data from the server using Ajax techniques and displays that data in the same web page as the button without refreshing the page.


10) Create a form to accept student information (name, class, address). Once the student information is accepted, accept marks in next form (Java, PHP, ST, IT, pract1, and project). Display the mark sheet for the student in the next form containing name, class, marks of the subject, total and percentage(Use $_COOKIE).


11)Write a program to create a shopping mall. User must be allowed to do purchase from three pages. Each page should have a page total. The fourth page should display a bill, which consists of a page total of whatever the purchase has been done and print the total. (Use $_SESSION).


12) Create student table as follows Student(sno, sname, per). Write Ajax program to selectthe student name and print the selected student’s details.


13)Considerer the following entities and their relationships Student (Stud_id,name,class) Competition (c_no,c_name,type) Relationship between student and competition is many-many with attribute rank andyear. Create a RDB in 3NF for the above and solve the following.Using above database write a script in PHP to accept a competition name from userand display information of student who has secured 1st rank in that competition.


14)Write Ajax program to print Movie details by selecting an Actor’sname. Create table MOVIE and ACTOR as follows with 1 : M cardinality MOVIE (mno, mname, release_yr) and ACTOR(ano, aname).


15) Write Ajax program to fetch suggestions when is user is typingin a textbox. (eg like Google suggestions. Hint create array ofsuggestions and matching string will be displayed)


16)Write Ajax program to get book details from XML file when userselect a book name. Create XML file for storing details ofbook(title, author, year, price).


17)Write a PHP program to accept username and password from the user. Validate it against the login table in the database. If there is a mismatch between username and password, then, display the error message as ?invalid user name and password; else display the message as ?Login successful? on the browser.


18)Write a PHP script to change Background color of the browser using switch statement according to a day of the week


19) Consider the following relational database: Project (P_Group_No, Project_Title) Student (Seat no, Name, Class, P_Group_No) Write a PHP script to accept project title and display list of students those who are working in a particular project.


20)Consider the following entities and their relationships
Emp (emp_no,emp_name,address,phone,salary)
Dept (dept_no,dept_name,location)
Emp-Dept are related with one-many relationship
Create a RDB in 3NF for the above and solve following
Using above database write a PHP script which will
a) Insert employee records in table .
b) Print a salary statement in the format given below, for a given department. (Accept department name from the user).

Maximum Salary Minimum Salary Sum Salary


21)Consider the following entities and their relationships
Doctor (doc_no, doc_name, address, city, area)
Hospital (hosp_no, hosp_name, hosp_city)
Doctor and Hospital are related with many-many relationship
Create a RDB in 3 NF for the above and solve following
Using above database, write a PHP script which accepts hospital name and print information about doctors visiting / working in that hospital in tabular format.


22)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 for the above and solve following Using above database, write PHP scripts for the following: (Hint: Create HTML form having two radio buttons)
Accept actor name and display the names of the movies in which he has acted.
b) Insert new movie information.


23)Consider the following entities and their relationships
BillMaster(billno, custname, billdate )
BillDetails(itemname, qty, rate, discount)
BillMaster and BillDetails are related with one-to-many relationship.
Create a RDB in 3 NF for the above and solve following
Write PHP script to print the bill in following format Accept the Bill number from user.

BillNo :
BillDate :
Customer Name :

Sr.No. Particular Quantity Rate Discount Total


24) Create an application that reads “Book.xml” file into simple XML object. Display attributes and elements(Hint: use simple_xml_load_file() function).


25)Create a XML file which gives details of books available in“ABC Bookstore” from following categories.
1) Technical
2) Cooking
3) Yoga
and elements in each category are in the following format
<Book> <Book_PubYear> -------------</Book_PubYear>
<Book_Title> -------------</Book_Title>
<Book_Author> --------------</Book_Author>
</Book> Save the file as “Book.xml”
Create an application that reads “Book.xml” file into simple XML object. Display attributes and elements.
(Hint: Use simple_xml_load_file() function)


26)Write a PHP Script to display response header information for any text file using $_http_response_header.


27)Write a script to create “cricket.xml” file with multiple elements as shown below:
<CricketTeam>
<Team country=”India”>
<player>____</player>
<runs>_____</runs>
<wicket>___</wicket>
</Team> </CricketTeam>
Write a script to add multiple elements in “cricket.xml” file of category, country=”Australia”.


28) Write a PHP script to accept an .XML file which should comprise the following:
<cricket>
<player>abc</player>
<runs>1000</runs>
<wickets>50</wickets>
<noofnotout>10</noofnotout>
</cricket>
For at least 5 players.
Display the details of players who have scored more than 1000 runs and at least 50 wickets.


29)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).


30)Write a script to create “vehicle.xml” file with multiple elements asgiven below
-------- --------- -------- ------
Also add Type = “Four Wheeler” and its elements .


Search

Project Categories

Recent Posts

Mail Management System
Posted on 2019-07-18
Online food ordering system
Posted on 2019-07-18
Library Management System
Posted on 2019-07-17
Health center system project
Posted on 2019-07-17
Gym Management System
Posted on 2019-07-17
furniture management system
Posted on 2019-07-17
Electronic shop management system
Posted on 2019-07-17
Automobile Workshop Management
Posted on 2019-07-17
Online Visa Processing System
Posted on 2019-07-17
Inventory management System
Posted on 2019-07-17
petrol-management system
Posted on 2019-07-17
Cloths management system
Posted on 2019-07-17
Society Management system
Posted on 2019-07-17
Mall management system
Posted on 2019-07-17
school management system
Posted on 2019-07-17
Sales Order Processing System
Posted on 2019-07-17
Retail sales management
Posted on 2019-07-17
Raw Materials Management
Posted on 2019-07-17
railway reservation system
Posted on 2019-07-17
purchase and sales management system
Posted on 2019-07-17
Placement Management System
Posted on 2019-07-17
Pet Shop Management System
Posted on 2019-07-17
petrol pump management system
Posted on 2019-07-17
Patient Information System
Posted on 2019-07-17
news agency system
Posted on 2019-07-17
Cinema Booking System
Posted on 2019-07-17
Medical Store System
Posted on 2019-07-17
leave management System
Posted on 2019-07-17
Laboratory Information Management System
Posted on 2019-07-17
content management system
Posted on 2019-07-17
Inventory management System
Posted on 2019-07-17
Institute Management System
Posted on 2019-07-17
Hotel management System
Posted on 2019-07-17
Gym Management System
Posted on 2019-07-17
Garage Management System
Posted on 2019-07-17
Furniture shop management system
Posted on 2019-07-17
Fisheries management  System
Posted on 2019-07-17
Fertilizer scheduling system
Posted on 2019-07-17
online eye care system
Posted on 2019-07-17
Dental Clinic Management System
Posted on 2019-07-17
Cyber Café Management
Posted on 2019-07-17
Milk Billing System
Posted on 2019-07-17
Colddrink management system
Posted on 2019-07-17
Cable management System
Posted on 2019-07-17
Beauty parlor management system
Posted on 2019-07-17
Facebook Clone
Posted on 2019-05-28
Dance Class Management System
Posted on 2019-05-24
Library Management System
Posted on 2019-05-24
Cab Management System
Posted on 2019-05-23
Blood Bank Management system
Posted on 2019-05-23
Beauty Parlour Management System
Posted on 2019-05-23
vissa proccesing system
Posted on 2019-05-23
Toll Plazza
Posted on 2019-05-23
BILLING APPLICATION
Posted on 2019-05-23
FLORICULTURE MANAGEMENT SYSTEM
Posted on 2019-05-23
Car On Rent
Posted on 2019-05-23
E-commers Shop
Posted on 2019-05-23

Sign In