Noida International University
Department of Computer Science
Practical File of Web Programming
2024-2025
Submitted By: Submitted To:
Durgesh Kumar Ms. Shalini Singh
BCA-II Sem, Sec- B Web Programming
Roll No.- 2401105 NIU
Noida International University
Department of Computer Science
Practical File
of
Object Oriented Programming Using C++
2024-2025
Submitted By: Submitted To:
Durgesh Kumar Mr. Kuldeep Dhiman
BCA-II Sem, Sec- B C Programming
Roll No.- 2401105 NIU
INDEX
Sr. No Practical Sign
1. Write a program to print “Welcome to PHP”
2. Write a simple PHP program using expressions and
operators.
3. Write a program to demonstrate the use of decision-making
control structures using-
a. If statement
b. If- else statement
c. Switch Statement
4. Write a program to demonstrate the use of looping structures
using-
a. While statement
b. Do- while statement
c. For statement
5. Write a PHP program for creating and manipulating-
a. Indexed array
b. Associative array
c. Multidimensional array
6. A. Write a PHP program to-
• Calculate length of string
• Count the number of words in string without
using string functions.
B. Write a simple PHP program to demonstrate use of
various built-in string functions.
7. Write a simple program to demonstrate use of simple
function and parameterized function.
8. Write a simple PHP program to create PDF document by
using graphic concepts
9. Write a PHP program to
a. Inherit members of super class in subclass.
b. Create constructor to initialize object of class by using
object-oriented concepts.
10. Write a simple PHP program on Introspection and
Serialization.
11. Design a web page using following form controls:
a. Text box b. Radio button c. Check box d. Buttons
12. Design a web page using following form controls:
a. List box b. Combo box c. Hidden Field box
13. Develop a web page with data validation.
14. Write a simple PHP program to-
a. Set cookie and read it.
b. Demonstrate session management
15. Write a PHP program for sending and receiving plain text
message(e-mail).
16. Develop a simple application to-
a. Enter data into database
b. Retrieve and present data from database
17. Develop a simple application to Update, Delete table data
from database.
INDEX
Sr. No. Practical Sign
1. C program to find the factorial of a number using recursion.
2. C program to check whether a number is prime or not.
3. C program to find the sum and average of elements in a 1D
array.
4. C program to perform matrix addition (2D arrays).
5. C program to sort an array using Bubble Sort.
6. C program to reverse a string without using a library function.
7. C program to implement a calculator using switch-case.
8. C program to demonstrate use of structure to store student
data.
9. C program to compare two strings manually (without strcmp).
10. C program to implement macros for calculating area of circle
and rectangle.
11. C++ program to demonstrate class and object creation.
12. C++ program to implement constructor overloading.
13. C++ program to overload a function to calculate area (int,
float).
14. C++ program to demonstrate function overloading.
15. C++ program to demonstrate multiple constructors in a class.
16. C++ program to demonstrate static members of class
17. C++ program to overload + operator for complex number
addition.
18. C++ program to implement exception handling using try,
catch, throw.
19. C++ program to implement abstract class and pure virtual
function
20. C++ program to demonstrate friend function.