Dynamic Web Design Assessments by 14747.docx - Assessment 1 \u2013 Written Test Instructions This is an in-class and individual written assessment This

Dynamic Web Design Assessments by 14747.docx - Assessment 1...

This preview shows page 1 - 6 out of 24 pages.

Assessment 1 – Written TestInstructions:This is an in-class and individual written assessment. This will assess your underpinningknowledge required for the competency of this cluster.You must successfully answer all the questions provided in this assessment. Your trainer will supply the answer sheet.Duration:Trainer will set the duration of the assessment.
Background image
Questions with sample answers:Part I: Multiple choice questionsChoose the best option1. What is the PHP function used to make a string all upper-case? a.strtoupper b.uppercase c.str_to_upper d.upperCaseString 2. Which of the following statements best describes the @ operator when used in PHPcode? 3. What is the output of the following PHP script? <?phpdefine('SOMEVAL', 0);if (strlen(SOMEVAL) > 0) {echo "Hello";}else {echo "Goodbye";}?>
Background image
Background image
4. Which function is used to return true if a given value exists in an array (and false if itdoesn't)? a.a.array_key_exists b.b.has_value c.array_value_exists d.in_array 5. Consider the following PHP code: 6.We can create a database using PHP and MySQL by which one of the following? a.mysql_create_db("Database Name")b.spl_create_dba.c.myspl_create_db("Database Name")c.None7.How will you execute a PHP script using command line?
Background image
8. In Shopping cart online validation how can we configure PayPal, etc.?9.How can we submit a form without a submit button?a.Java script submit() function is used for submit form without submit buttonon click call document.formname.submit()b.HTML submit() is used to submit form without submit button on clickc.DHTML is used to submit form d.None
Background image
Image of page 6

You've reached the end of your free preview.

Want to read all 24 pages?

  • Fall '18
  • World Wide Web

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture