Question: (Marking Scheme: I mark for each identification with a valid reason) (i) Primary Key (ii) Attributes (iii) Degree of the Relation (iv) Cardinality of the
(Marking Scheme: I mark for each identification with a valid reason) (i) Primary Key (ii) Attributes (iii) Degree of the Relation (iv) Cardinality of the Relation (v) An attribute that can hold a numeric value 1. Write the PHP code to declare a constant g with value 9.8 and print the value of g. 2. Analyze the suitable string function that can be used on the given string "Super Globals!!". ?> ("Super Globals!!"); 1. Which string function is used to find the number of words in the given string? ii. Which string function will give the output as SUPER GLOBALS!! iii. Which string function will give the output as, !!SLABOLG REPUS iv. Which string function will give the output as 15 3. Analyze the suitable function that can be used on the given array Sdays=array("Sun"m>1, "Mon"m>2,"Tues"m>3, "Wed" =>4, "Thurs" =>5 ); i) Write the PHP statement to sort the given array according to the value? ii) Write the PHP statement to sort the given array according to the key? iii) Write the PHP statement to sort the given array in descending order according to the value? iv) Write the PHP statement to sort the given array in descending order according to the key
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
