PHP Practical 10: Sum of 3 Numbers Prime Check | BCA Sem 5 (NEP 2020) | By Jainish Dabgar

Опубликовано: 04 Август 2026
на канале: Jainish Dabgar
38
2

In this video, we continue our practical series for the "Web Application Development using PHP" course (DSC-M-BCA-355P) following the Gujarat University BCA Semester-V syllabus.

In this program, we implement:
• User Input Collection: Using an HTML page to collect three distinct numbers from the user.
• Custom Function: Creating a PHP function that accepts these numbers as parameters.
• Prime Logic: Calculating the sum of the three numbers and implementing logic to check if that sum is a prime number.

PDF link :- https://drive.google.com/file/d/1MSBR...

⏳ Video Chapters (Timestamps)
00:00 - Introduction to the Prime Sum Function program
00:32 - Designing the HTML form for three inputs
00:58 - Writing the logic to sum inputs and check for primality
03:00 - Testing: Validating prime vs. non-prime sums

✅ Key Topics Covered
• Creating and calling parameterized functions in PHP.
• Implementing mathematical algorithms for prime number validation.
• Structuring code for modular reusability.

📚 Reference Material
• Syllabus: Gujarat University BCA Sem 5 (NEP 2020).
• Textbook: Developing Web Applications in PHP and AJAX by B. M. Harwani.
• Required Softwares: Notepad++, XAMPP or WAMP server.

#GujaratUniversity #BCASem5 #PHP #WebDevelopment #PHPProgramming #NEP2020 #JainishDabgar #CodingTutorial #BCA #ServerSideScripting