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

UNIT-5 Assignment

Uploaded by

rparikh354
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)
18 views2 pages

UNIT-5 Assignment

Uploaded by

rparikh354
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
You are on page 1/ 2

COMPUTER ENGINEERING DEPARTMENT

Introduction to Web
Course Name Course Code 4340704
Development
UNIT – 5 (WORKING WITH DATABASE IN PHP)
Assignment – 5
Date of Declaration Date of Submission
Course Outcomes
CO5: Develop and host interactive websites using PHP and MySQL database.

Blooms
Sr
Questions Taxonomy Cos
No
Level
1 What is MYSQL? Write its use in web application. L1,L2 CO5
2 Write features of MySQL. List MySQL field types. L1,L2 CO5
Explain following function with example:

mysql_connect(), mysql_select_db(), mysql_fetch_row(),


3 L1,L2 CO5
mysql_num_rows(), mysql_fetch_array(), mysql_query()
functions.

4 Write a PHP script to create and drop database. L1,L2,L3 CO5


Write PHP script to create table “Student” with fields enrollment,
5 name, institute and department. L1,L2,L3 CO5

Write PHP code to create table cricketer with following fields:


6 Cricketer (id, name, team_name). L1,L2,L3 CO5

Design simple registration form using Textbox, radio, check box


7 and submit button and display these information on another page L1,L2,L3 CO5
on click of submit button.

Write PHP code for inserting record into a table. Assume suitable
8 database. L1,L2,L3 CO5

Write a PHP application to accept a product_id, product_name,


9 quantity and unit_price through HTML form and insert values into L1,L2,L3 CO5
database.

Write PHP scripts to insert data into Student Table and Read
10 information from Student table (Sid, Sname, Semester, Brach and L1,L2,L3 CO5
display all these information on tabular format on output Screen.

Write PHP script to read information from ACCOUNT table (A_no,


11 A_holder, A_balance) and display all these information in tabular L1,L2,L3 CO5
format on the webpage.

Write PHP code for deleting record from a table. Assume suitable
12 database. L1,L2,L3 CO5
Write PHP Script to display records from Customer_Master table
13 (CustNo, Name, and City). Assume database already available. L1,L2,L3 CO5

Write PHP code to read student information like Roll_no, Name


and Percentage from Student table and display all the information
14 in tabular format on a page. Fields of tables are like Student L1,L2,L3 CO5
(Roll_no, Name, address, contact_no_,branch ,Percentage).

Write PHP script to display records from LIBRARY_MASTER. Fields


15 of LIBRARY_MASTER table (BookId, Bookname, Price). L1,L2,L3 CO5

Write PHP code to display total number of records found in given


16 mysql table. Consider table items (item_code , name, price). L1,L2,L3 CO5

Blooms Taxonomy: L1 (Remember), L2 (Understanding), L3 (Apply)

Signature of Subject In-charge Signature of HOD

You might also like