0% found this document useful (0 votes)
4 views10 pages

Diploma Engineering: Laboratory Manual

The document is a laboratory manual for a Web Development course using PHP at Government Polytechnic, Ahmedabad. It outlines the vision and mission of the Directorate of Technical Education, the institute, and the department, emphasizing skill development and industry relevance. The manual includes practical outcomes, course outcomes, and guidelines for both faculty and students to enhance learning and competency in web development.

Uploaded by

suman25127sharma
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)
4 views10 pages

Diploma Engineering: Laboratory Manual

The document is a laboratory manual for a Web Development course using PHP at Government Polytechnic, Ahmedabad. It outlines the vision and mission of the Directorate of Technical Education, the institute, and the department, emphasizing skill development and industry relevance. The manual includes practical outcomes, course outcomes, and guidelines for both faculty and students to enhance learning and competency in web development.

Uploaded by

suman25127sharma
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

Diploma Engineering

Laboratory Manual
Web Development using PHP

DI01016031

[Information Technology / Semester-1]


Enrolment No
Name
Branch Information Technology
Academic Term 251
Institute Government Polytechnic, Ahmedabad

Directorate Of Technical Education


Gandhinagar - Gujarat
Web Development using PHP (DI01016031)

DTE’s Vision:
● To provide globally competitive technical education;
● Remove geographical imbalances and inconsistencies;
● Develop student friendly resources with a special focus on girls’ education and support
to weaker sections;
● Develop programs relevant to industry and create a vibrant pool of technical
professionals.

DTE’s Mission:
• To advance and control specialized instruction over Gujarat.
• To guarantee get to to quality specialized and proficient instruction for all areas of
society.
• To adjust specialized instruction with the advancing needs of businesses and rising
technologies.
• To improve the employability of understudies through skill-based preparing and
innovation.
Institute’s Vision:
To be a leading technical institute that provides transformative education to learners for
achieving competency as per the needs of industry and society, thus contributing to
nation building.

Institute’s Mission:
• To provide a conducive learning environment to nurture learners.
• To act as a catalyst for achieving academic excellence by bringing stake holders on
same platform.
• To be committed towards continuous improvement and enrichment of learners by a
holistic approach to education so as to enable them to be successful individuals and
responsible citizens of India.

Department’s Vision:
To acquire quality Education, Research and Development in the field of Information
technology meeting the global standards and comply with the ever-growing technology.

Department’s Mission:
• The graduates of our department will be efficient in technical and ethical
responsibilities to become globally recognised by pursuing opportunities for higher
studies and real time problem solving.
• Project development in association with the Government, Industries and Professionals
will be done that can meet industrial needs.
• Students will be competent by learning the principals of Information technology that
can match national and international standards.
Web Development using PHP (DI01016031)

Certificate

This is to certify that Mr./Ms ………………………………………………………………….

Enrollment No. …………….……….….……………. of 1st Semester of Diploma in Information

Technology of Institute Government Polytechnic, Ahmedabad. (GTU Code:617) has

satisfactorily completed the term work in course “Web Development using PHP

(DI01016031)” for the academic year: 2025 Term: Odd(251) prescribed in the GTU

curriculum.

Place: G. P. Ahmedabad

Date: ………………………….

Signature of Course Faculty Head of the Department


Web Development using PHP (DI01016031)

Preface
The primary aim of any laboratory/Practical/field work is enhancement of required
skills as well as creative ability amongst students to solve real time problems by developing
relevant competencies in psychomotor domain. Keeping in view, GTU has designed
competency focused outcome-based curriculum -2021 (COGC-2021) for Diploma
engineering programmes. In this more time is allotted to practical work than theory. It
shows importance of enhancement of skills amongst students and it pays attention to
utilize every second of time allotted for practical amongst Students, Instructors and
Lecturers to achieve relevant outcomes by performing rather than writing practice in study
type. It is essential for effective implementation of competency focused outcome- based
Green curriculum-2021. Every practical has been keenly designed to serve as a tool to
develop & enhance relevant industry needed competency in each and every student. These
psychomotor skills are very difficult to develop through traditional chalk and board content
delivery method in the classroom. Accordingly, this lab manual has been designed to focus
on the industry defined relevant outcomes, rather than old practice of conducting practical
to prove concept and theory.
By using this lab manual, students can read procedure one day in advance to actual
performance day of practical experiment which generates interest and also, they can have
idea of judgement of magnitude prior to performance. This in turn enhances
predetermined outcomes amongst students. Each and every Experiment /Practical in this
manual begins by competency, industry relevant skills, course outcomes as well as practical
outcomes which serve as a key role for doing the practical. The students will also have a
clear idea of safety and necessary precautions to be taken while performing experiment.
This manual also provides guidelines to lecturers to facilitate student-centered lab
activities for each practical/experiment by arranging and managing necessary resources in
order that the students follow the procedures with required safety and necessary
precautions to achieve outcomes. It also gives an idea that how students will be assessed
by providing Rubrics.
Website design is a broad term that encompasses a wide variety of tasks, all involved
in the formation of web pages. There are essentially two types of web design approaches,
which are dynamic and static design. PHP, which stands for "PHP: Hypertext Pre-
processor" is a widely-used Open Source general-purpose scripting language that is
especially suited for web development and can be embedded into HTML. Its syntax draws
upon C, Java, and Perl, and is easy to learn. The main goal of the language is to allow web
developers to write dynamically generated web pages quickly, but you can do much more
with PHP.
Although we try our level best to design this lab manual, but always there are
chances of improvement. We welcome any suggestions for improvement.

3 | Page
Web Development using PHP (DI01016031)

Programme Outcomes (POs):

1. Basic and Discipline specific knowledge: Apply knowledge of basic mathematics,


science and engineering fundamentals and engineering specialization to solve the
engineering problems.
2. Problem analysis: Identify and analyse well-defined engineering problems using
codified standard methods.
3. Design/ development of solutions: Design solutions for engineering well-defined
technical problems and assist with the design of systems components or processes to
meet specified needs.
4. Engineering Tools, Experimentation and Testing: Apply modern engineering tools
and appropriate technique to conduct standard tests and measurements.
5. Engineering practices for society, sustainability and environment: Apply
appropriate technology in context of society, sustainability, environment and ethical
practices.
6. Project Management: Use engineering management principles individually, as a team
member or a leader to manage projects and effectively communicate about well-defined
engineering activities.
7. Life-long learning: Ability to analyze individual needs and engage in updating in the
context of technological changes in field of engineering.

Practical Outcome - Course Outcome matrix


Course Outcomes (COs):
a. Design static webpage using HTML tags.
b. Create small programs using basic PHP concepts.
c. Create User defined functions in PHP programming.
d. Design and develop a Web site using form controls for presenting web-based content.
e. Debug the Programs by applying state management concepts and error handling
techniques of PHP.

4 | Page
Web Development using PHP (DI01016031)

CO CO CO CO CO
Practical Outcome/Title of experiment
Sr. 1 2 3 4 5
No.
1. Design static webpage using HTML tags.
a. Create static webpage to use different HTML tags.
b. Create a bank account opening form using different
HTML form elements. - - - -
c. Use inline, internal and external style sheets for the
bank account form created in previous practical 1-
b.
2. Environment setup, Configuration and Syntax
d. Install and configure PHP, Apache Web Server and
- - - -
database server using XAMPP.
e. Write a PHP script to display Welcome message.
3. Variables, Constant and Operators
a. Write a PHP script to demonstrate use of global,
local, static variables and constant.
b. Write a PHP script to demonstrate arithmetic
- - - -
operators, comparison operator, and logical
operator.
c. Write a PHP program to swap two numbers with
and without using third variable.
4. Conditional Statements
a. Write a PHP script to check the given number is odd
or even.
b. Write a PHP script to print student’s grade based on - - - -
marks of 5 subjects.
c. Create a PHP script to show the month of a year
using switch statement.
5. Looping Structures
a. Write PHP Script to print Fibonacci series in html
tabular format.
b. Write a PHP script to print below number triangle.
- - - -

c. Write a PHP script to create chess board (tabular


structure).
6. Arrays
a. Write PHP Script for addition and multiplication of
two 2x2 matrices.
- - - -
b. Write a PHP Script to count the number of elements
in an array without using built-in function (use
numeric and associative arrays).

5 | Page
Web Development using PHP (DI01016031)

7. User defined Functions


a. Write a PHP script to call by reference and call by
value.
b. Write a PHP Script for performing function that
- - - -
takes arguments with default argument and returns
value.
c. Write a PHP Script to show the use of variable
length argument.
8. Built-In functions
a. Write PHP script to demonstrate use of various
strings handling function.
b. Write a PHP script to Demonstrate Include() and
- - - -
require() function.
c. Write PHP script to demonstrate Array functions.
d. Write PHP script to demonstrate use of fopen(),
fread(), fwrite() and fclose() File functions.
9. Form Handling
a. Create student registration form using text box,
check box, radio button, select, submit button. And
display user inserted value in new PHP page using - - - -
GET or POST Method.
b. Write a PHP script to explain the concept of
$_REQUEST.
10. Email and Validation
a. Write PHP script to validate form including name,
email using appropriate functions. - - - -
b. Write PHP script for sending plain text email, HTML
email and attachments with email.
11. Session and Cookies
a. Write a PHP script to demonstrate creating,
deleting, updating, retrieving and passing variable
- - - -
cookie data.
b. Write PHP script to demonstrate passing
information using Session.
12. Error Handling
- - - -
a. Write a PHP script to demonstrate Error Handling.

6 | Page
Web Development using PHP (DI01016031)

Industry Relevant Skills


The following industry relevant skills are expected to be developed in the students by
performance of experiments of this course.
● Develop Interactive Web application using PHP.
● Apply concept to create webpage using data and form handling.
● Use of state management and error handling.
● Use database operations in web application.
● Follow coding standards.

Guidelines to Course Faculty


1. Couse faculty should demonstrate experiment with all necessary implementation
strategies described in curriculum.
2. Couse faculty should explain industrial relevance before starting of each experiment.
3. Course faculty should involve & give opportunity to all students for hands on
experience.
4. Course faculty should ensure mentioned skills are developed in the students by
asking.
5. Utilise 2 hrs of lab hours effectively and ensure completion of write up with quiz also.
6. Encourage peer to peer learning by doing same experiment through fast learners.

Instructions for Students


1. Organize the work in the group and make record of all observations.
2. Students shall develop maintenance skill as expected by industries.
3. Student shall attempt to develop related hand-on skills and build confidence.
4. Student shall develop the habits of evolving more ideas, innovations, skills etc.
5. Student shall refer technical magazines and data books.
6. Student should develop habit to submit the practical on date and time.
7. Student should well prepare while submitting write-up of exercise.

7 | Page
Web Development using PHP (DI01016031)

Continuous Assessment Sheet


Enrollment No:________________________ & Name: ___________________________________ Term:251

Sr. Marks
Practical Outcome/Title of experiment Page Date Sign
No. (10)
1. Design static webpage using HTML tags.
a. Create static webpage to use different HTML
tags.
b. Create a bank account opening form using
different HTML form elements.
c. Use inline, internal and external style sheets
for the bank account form created in previous
practical 1-b.
2. Environment setup, Configuration and Syntax
a. Install and configure PHP, Apache Web Server
and database server using XAMPP.
b. Write a PHP script to display Welcome
message.
3. Variables, Constant and Operators
a. Write a PHP script to demonstrate use of
global, local, static variables and constant.
b. Write a PHP script to demonstrate arithmetic
operators, comparison operator, and logical
operator.
c. Write a PHP program to swap two numbers
with and without using third variable.
4. Conditional Statements
a. Write a PHP script to check the given number
is odd or even.
b. Write a PHP script to print student’s grade
based on marks of 5 subjects.
c. Create a PHP script to show the month of a
year using switch statement.
5. Looping Structures
a. Write PHP Script to print Fibonacci series in
html tabular format.
b. Write a PHP script to print below number
triangle.

c. Write a PHP script to create chess board


(tabular structure).

8 | Page
Web Development using PHP (DI01016031)

6. Arrays
a. Write PHP Script for addition and
multiplication of two 2x2 matrices.
b. Write a PHP Script to count the number of
elements in an array without using built-in
function (use numeric and associative arrays).
7. User defined Functions
a. Write a PHP script to call by reference and call
by value.
b. Write a PHP Script for performing function that
takes arguments with default argument and
returns value.
c. Write a PHP Script to show the use of variable
length argument.
8. Built-In functions
a. Write PHP script to demonstrate use of various
strings handling function.
b. Write a PHP script to Demonstrate Include()
and require() function.
c. Write PHP script to demonstrate Array
functions.
d. Write PHP script to demonstrate use of fopen(),
fread(), fwrite() and fclose() File functions.
9. Form Handling
a. Create student registration form using text box,
check box, radio button, select, submit button.
And display user inserted value in new PHP
page using GET or POST Method.
b. Write a PHP script to explain the concept of
$_REQUEST.
10. Email and Validation
a. Write PHP script to validate form including
name, email using appropriate functions.
b. Write PHP script for sending plain text email,
HTML email and attachments with email.
11. Session and Cookies
a. Write a PHP script to demonstrate creating,
deleting, updating, retrieving and passing
variable cookie data.
b. Write PHP script to demonstrate passing
information using Session.
12. Error Handling
a. Write a PHP script to demonstrate Error
Handling.

9 | Page

You might also like