Sail E0 Webinar

MCQs

Total Questions : 39 | Page 3 of 4 pages
Question 21. When you are building administrative links you’ll need to accept two arguments, which of the following are they?
  1.    URL of previous entry and URL of the entry you are working with
  2.    The current page and previous page
  3.    URL of previous entry and previous page
  4.    The current page and URL of the entry you are working with
 Discuss Question
Answer: Option D. -> The current page and URL of the entry you are working with
Question 22. Once your application can generate administrative links, you need to load those links into _________
  1.    php.ini
  2.    index.ini
  3.    index.php
  4.    start.php
 Discuss Question
Answer: Option C. -> index.php
Question 23. The (|/) tells the server to match ___________
  1.    nothing
  2.    forward slash
  3.    backward slash
  4.    either nothing or a forward slash
 Discuss Question
Answer: Option D. -> either nothing or a forward slash
Question 24. The URLs in the administrative links won’t mean anything to admin.php unless you modify _________
  1.    .htaccess
  2.    .adminaccess
  3.    .htmlaccess
  4.    .urlaccess
 Discuss Question
Answer: Option A. -> .htaccess
Question 25. ([w-]+) will match ___________
  1.    one word characters
  2.    one or more word characters
  3.    one or more word characters and/or hypens
  4.    one or more word characters and hypens
 Discuss Question
Answer: Option C. -> one or more word characters and/or hypens
Question 26. You need to check whether ______ is set, to determine whether you’re editing an entry or creating a new one.
  1.    $_GET[‘url’].
  2.    $_SET[‘url’].
  3.    $_GET[‘admin’].
  4.    $_SET[‘admin’].
 Discuss Question
Answer: Option A. -> $_GET[‘url’].
Question 27. To identify entries marked for deletion, you check whether $_GET[‘page’] == ‘delete’ inside __________
  1.    index.php
  2.    index.ini
  3.    admin.php
  4.    .htaccess
 Discuss Question
Answer: Option C. -> admin.php
Question 28. Your confirmation form submits your choice, via the _______ method, to ________
  1.    GET index.php
  2.    GET admin.php
  3.    POST index.php
  4.    POST admin.php
 Discuss Question
Answer: Option D. -> POST admin.php
Question 29. When a user confirms that he wishes to delete an entry, that entry’s URL is passed to a function which removes the entry from the __________
  1.    index.php
  2.    function.inc.php
  3.    database
  4.    admin.php
 Discuss Question
Answer: Option C. -> database
Question 30. Which of the following DBMSs do not have a native PHP extension?
  1.    MySQL
  2.    IBM DB/2
  3.    PostgreSQL
  4.    Microsoft SQL Server
  5.    None of the above
 Discuss Question
Answer: Option E. -> None of the above

Latest Videos

Latest Test Papers