Difference between revisions of "Spring 2020: PHP Programming Lab"
Jump to navigation
Jump to search
| Line 3: | Line 3: | ||
** Turn off(shutdown) your assigned machine after finishing your work (or before you leave the lab). | ** Turn off(shutdown) your assigned machine after finishing your work (or before you leave the lab). | ||
** Please arrange the chair in proper place while leaving the lab. | ** Please arrange the chair in proper place while leaving the lab. | ||
| − | == '''Lab 1: Getting Started''' ( week of 6th/7th January 2020 ) == | + | === '''Lab 1: Getting Started''' ( week of 6th/7th January 2020 ) === |
{| class="wikitable" style="width: 90%;" | {| class="wikitable" style="width: 90%;" | ||
|- | |- | ||
| Line 26: | Line 26: | ||
* Brief introduction to PHP [http://mkbhandari.com/mkwiki/data/spring2020/PHPLab/Lab01.pdf '''Download'''] | * Brief introduction to PHP [http://mkbhandari.com/mkwiki/data/spring2020/PHPLab/Lab01.pdf '''Download'''] | ||
| − | == '''Lab 2: '''( week of 13th/14th January 2020 ) == | + | === '''Lab 2: '''( week of 13th/14th January 2020 ) === |
* Lab Assignment | * Lab Assignment | ||
| − | == '''Lab 3: '''( week of 20th/21st January 2020 ) == | + | === '''Lab 3: '''( week of 20th/21st January 2020 ) === |
* Lab Assignment | * Lab Assignment | ||
=== '''Lab 4: '''( week of 27th/28th January 2020 ) === | === '''Lab 4: '''( week of 27th/28th January 2020 ) === | ||
* Lab Assignment | * Lab Assignment | ||
Revision as of 02:11, 6 January 2020
- Instructions
- Please be on time, to avoid the attendance penalty.
- Turn off(shutdown) your assigned machine after finishing your work (or before you leave the lab).
- Please arrange the chair in proper place while leaving the lab.
Contents
Lab 1: Getting Started ( week of 6th/7th January 2020 )
| Q. NO. | Program | Remarks |
|---|---|---|
| 1 | WAP to print first n even numbers | Practice Set |
| 2 | WAP to find sum of first n odd numbers | Practice Set |
| 3 | WAP to check whether the given number is prime or not | Practice Set |
| 4 | WAP to print the following pattern using nested for loop:* |
Practice Set |
| 5 | WAP to sort an array using built in PHP function | Q2. of the exercise |
- Brief introduction to PHP Download
Lab 2: ( week of 13th/14th January 2020 )
- Lab Assignment
Lab 3: ( week of 20th/21st January 2020 )
- Lab Assignment
Lab 4: ( week of 27th/28th January 2020 )
- Lab Assignment