New ! Computer Applications MCQ Practise Tests



PHP Conditional Statements 3 Mark Creative Question Paper With Answer Key

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Applications

Time : 00:45:00 Hrs
Total Marks : 18

    3 Marks

    6 x 3 = 18
  1. Write a PHP code to display "Have a nice weekend!" if the current day is Friday, otherwise it will output "Have a nice day!" using if-else statement.

  2. Write a php program to birthday greetings using if statement.

  3. Write a php program to check whether the given number is positive or negative.

  4. Write, a PHP program to display independenc day and republic day the greetings using If elseif else statement.

  5. What are feature of else ... if ladder statement?

  6. write thc syntax of else.... if ladder statement and demonstrate an example.

*****************************************

Reviews & Comments about 12th Standard Computer Applications English Medium - PHP Conditional Statements 3 Mark Creative Question Paper and Answer Key 2022 - 2023

Write your Comment