Python and PHP Lab

Diploma Engineering · Semester 5 — Programming exercises in Python and PHP with MySQL.

6 MonthsDuration 1Subject 5Chapters OnlineTests & result

Your roadmap · आपका रोडमैप

  1. 1
    Admission & first meetingप्रवेश और पहली मुलाकात

    Enquire at your nearest NDSS centre, meet the teacher, fix the batch time and get your study material.

  2. 2
    Work planकार्य योजना

    Step by step with your guide / trainer.

    Python BasicsPython Data Structures and FunctionsPython OOP, Exceptions and FilesPHP Basics and FormsPHP with MySQL
  3. 3
    File, report & vivaफ़ाइल, रिपोर्ट और वाइवा

    Practical file / report checked, mock viva before the final one.

  4. 4
    Online tests & resultऑनलाइन टेस्ट और रिज़ल्ट

    Take the tests online; your marks and result show in your student login and at the centre.

Syllabus · पाठ्यक्रम

1 subject · 5 chapters · 20 topics

01Python Basics 3 topics
  1. Programs using input, operators and if-else
  2. Loops - factorial, Fibonacci, prime numbers
  3. String manipulation programs
02Python Data Structures and Functions 4 topics
  1. List, tuple and dictionary programs
  2. Functions with default and keyword arguments
  3. Recursion
  4. Using math and random modules
03Python OOP, Exceptions and Files 4 topics
  1. Class and object programs
  2. Inheritance
  3. Exception handling
  4. Reading and writing text files
04PHP Basics and Forms 4 topics
  1. Installing XAMPP and running a PHP page
  2. Control structures and arrays in PHP
  3. Form handling with GET and POST
  4. Sessions and cookies
05PHP with MySQL 5 topics
  1. Connecting to MySQL
  2. Insert form data into a table
  3. Display records in an HTML table
  4. Update and delete records
  5. Simple login page

About this course

You will be able to

  • Write Python programs using control statements, lists, dictionaries and functions
  • Use Python modules, classes, exception handling and file operations
  • Set up XAMPP and run PHP scripts on a local server
  • Process HTML forms in PHP and use sessions and cookies
  • Perform insert, display, update and delete operations on MySQL using PHP
  • Build a small database-driven web page

Who it is for

  • Diploma Computer Science & Engineering students of Semester 5 (BTEUP)
  • Diploma IT students preparing for the Python and PHP practical exam

What you need

  • Python Programming and Web Development using PHP theory of the same semester
  • A computer with Python 3, XAMPP and a code editor
Online tests & result Practice and unit tests online; marks and result show in your student login and at the centre. Student login →

Questions

Which syllabus is followed?

The BTEUP Diploma CSE Semester 5 Python and PHP Lab list. Where your college list differs, the centre follows your own lab syllabus.

Do I need internet for the lab?

No. Python and XAMPP run fully offline on your computer.

Is viva practice included?

Yes. Viva questions on Python and PHP are practised after each experiment.

Download the syllabus (PDF)

Tell us who you are — your copy is made with your name, and our counsellor can help you choose the right course and centre.

Want to join right away? Enquire now — our centre will call you.