0% found this document useful (0 votes)
10 views9 pages

Trinity International College: Kathmandu, Nepal

This lab report from Trinity International College focuses on learning PHP programming, emphasizing its importance in developing foundational computer science skills such as algorithmic thinking and memory management. The report includes practical exercises and applications that enhance understanding of programming principles and culminates in a series of PHP programming tasks. Acknowledgments are given to the instructor, Lal Krishna Malik, for his guidance throughout the learning process.

Uploaded by

anymosweeb
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)
10 views9 pages

Trinity International College: Kathmandu, Nepal

This lab report from Trinity International College focuses on learning PHP programming, emphasizing its importance in developing foundational computer science skills such as algorithmic thinking and memory management. The report includes practical exercises and applications that enhance understanding of programming principles and culminates in a series of PHP programming tasks. Acknowledgments are given to the instructor, Lal Krishna Malik, for his guidance throughout the learning process.

Uploaded by

anymosweeb
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/ 9

Trinity International College

Kathmandu, Nepal

Lab Work - 7 (PHP)


(Computer Science)

Submitted By: Submitted To:


Name: Manjil Jung Pandey (E2) Lal Krishna Malik
Class: XII (Computer Department)
Symbol Number: 28795
Submission date: 2025-2-11
Trinity International College
Kathmandu, Nepal

C programing PHP
(Computer Science)

Assigned Date Submission Date


2025-2-01 2025-02-11
Objectives:
Learning PHP provides a solid foundation in computer science
and programming concepts. It is a versatile language that
imparts essential skills such as algorithmic thinking, problem-
solving, and logical reasoning. PHP proximity to machine-
level operations facilitates a deeper understanding of
computer architecture and memory management, crucial for
efficient programming. Mastery of PHP enhances the ability
to work with low-level systems, embedded systems, and
performance-critical applications. Additionally, as many
modern languages are influenced by it, acquiring proficiency
in PHP plays a robust groundwork for transitioning to other
languages and technologies, making it an invaluable skill for
aspiring programmers and software developers.
Discussion and conclusion
In this lab report, we delved into the practical process of
learning PHP has been a transformative experience, offering a
comprehensive understanding of fundamental programming
principles. Through hands-on exercises and practical
applications, we delved into the intricacies of algorithmic
design, logical reasoning, and efficient problem-solving. The
language's proximity to hardware allowed for a deeper
comprehension of computer architecture and memory
management, fostering a holistic perspective on software
development.
In conclusion, the journey of learning PHP programming has
proven to be an essential and enriching experience. Throughout
the course, we have gained a profound understanding of the
foundational concepts in computer science and programming.
PhP’s emphasis on precision and control has honed our ability
to craft efficient and reliable code.

References/Bibliography

• Lal Krishna malik (Computer Department)


• Book Computer Science (Buddha Publications)
Table of contents

1. WAP to find sum of two numbers. Here, numbers are entered via html form.
2. Write a PHP program to swap two numbers.
3. Write a PHP program to input name and address using form and display them.
4. Write a PHP program to find the greatest number among three numbers.
Here, numbers are entered via html form.
5. Write a PHP program to input any number via form and check whether the
number is positive or negative and be sure number should not be zero.
6. Write a PHP program to display your name 100 times.
7. Write a PHP program to print a multiplicationtable of a number. Input the
number via form.
8. Write a PHP program to display the factorial value of a number.
9. WAP to print factors of a number.
10. Write a PHP program to store some strings in an array and print them.
11. Write a PHP program to sort data stored in an array. [Use sort() function and
print_r() to print.]
12. Write a PHP program to know whether two strings are the same or not.
13. Write a PHP program to input a string through a text box and find its
length.[use strlen()]
14. Write a PHP program to connect a database named ‘student’.
15. Write a PHP program to insert records in a database named student having
table student with fields id, name and grade.
16. Write a PHP program to display all records (previous question) of students
who are in grade 11.
17. Write a PHP program to delete records of a student whose id is 3.[previous
question]
18. Write a PHP program to update a record of student whose id is 2.[Try same
program with name/grade.
Acknowledgement
I would like to express my sincere gratitude to Sir Lal Krishna
Malik for his invaluable guidance, support, and expertise
throughout the completion of this lab report. His insights and
assistance have played a significant role in shaping the
content and quality of this work.
I am truly thankful for his time, dedication, and mentorship.
The knowledge and skills I have gained under his guidance will
undoubtedly contribute to my ongoing academic and
professional endeavors. This report would not have been
possible without his generous support and expertise.
Once again, I extend my heartfelt appreciation to Sir Lal
Krishna Malik for his unwavering encouragement and
assistance throughout this endeavor.

(Manjil Jung Pandey)


(E2)
(Feb 11, 2025)

You might also like