Difference between revisions of "Spring 2020: PHP Programming Lab"

From MKWiki
Jump to navigation Jump to search
Line 3: Line 3:
  
 
* '''Lab 1: Getting Started'''( week of 6th/7th January 2020 )
 
* '''Lab 1: Getting Started'''( week of 6th/7th January 2020 )
** Lab Assignment
+
 
 +
{| class="wikitable"
 +
|-
 +
! Q. NO.  !! Program
 +
|-
 +
| 1 || WAP to print first n even numbers
 +
|-
 +
| 2 || WAP to find sum of first n odd numbers
 +
|-
 +
| 3 || WAP to check whether the given number is prime or not
 +
|-
 +
| 4 || WAP to print the following pattern * ** *** ****
 +
|-
 +
| 5 || WAP to sort an array using built in PHP function
 +
|}
 +
 
  
  
 
* '''Lab 2: '''( week of 13th/14th January 2020 )
 
* '''Lab 2: '''( week of 13th/14th January 2020 )
 
** Lab Assignment
 
** Lab Assignment

Revision as of 01:39, 6 January 2020

  • Instructions


  • Lab 1: Getting Started( week of 6th/7th January 2020 )
Q. NO. Program
1 WAP to print first n even numbers
2 WAP to find sum of first n odd numbers
3 WAP to check whether the given number is prime or not
4 WAP to print the following pattern * ** *** ****
5 WAP to sort an array using built in PHP function


  • Lab 2: ( week of 13th/14th January 2020 )
    • Lab Assignment