Source technologies and free technologies


Question1. Briefly describe open source technologies, outlining the difference between open source technologies and free technologies.

Question2. List four advantages of using open source technologies.

Question3. Explain how PHP can be used to address the problem of HTTP being stateless.

Question4. Explain each of the following string functions below, illustrating your answers with simple examples:

(i) strlen()

(ii) strpos()

(iii) str_replace()

Question5. Explain how the most common syntax errors occur in PHP, illustrating your answer with sample codes.

Question6. Describe the two methods used to retrieve information from web forms using PHP.

Question7. Describe two different kinds of arrays that PHP uses. Give an example script of each array type.

Question8. Write the scripts to do the following in PHP:

(i) Create a cookie

(ii) Delete a cookie

Question9. The form below contains an input text box for a user to enter his name and a group of radio buttons to select his gender. Write the PHP script to print the user’s name and a welcome message depending on his gender:

For males – "Sports items on special offer"
For females – "50% discount on handbags"
 
Name:

Gender:

 Male
 Female
  

Question10. Describe two types of looping statements in PHP, and illustrate each statement with an example.

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Source technologies and free technologies
Reference No:- TGS05573

Expected delivery within 24 Hours