首页 » 数据库辅导 » 数据库代写|FIT2104 Web-interfaced database – PAPER 1

数据库代写|FIT2104 Web-interfaced database – PAPER 1

这是一篇来自澳洲的关于与Web接口的数据库代写

 

PART A

Multiple Choice Questions

NOTE: There is only ONE correct answer for each question

  1. Given the following PHP code section

$intNumA = $_POST[“numA”];

$intNumB = 3;

$intTotal = $intNumA + $intNumB;

echo $intTotal;

If the user enters a value of 12 in the form, which ONE of the following will be displayed to the user?

  1. “123”
  2. 123
  3. 15
  4. “15”
  5. Which ONE of the following is the first function loaded from a Controller in CakePHP?
  6. The function which is written first.
  7. The index function.
  8. The function the user calls via the browser.
  9. None of the above
  10. How many times will the following PHP for loop execute?

for ($i=6; $i<10; $i++)

{

$i=$i +1;

}

  1. one
  2. two
  3. three
  4. four
  5. When processing a HTML form, which ONE of the following describes the difference between a hidden form element and a visible form element?
  1. There is no difference.
  2. The hidden element does not have a value.
  3. The hidden element’s value cannot be retrieved
  4. The hidden element is excluded from the HTTP request data
  1. Which ONE of following variable assignments is ‘by value’ assignment in PHP ?
  2. $value1= &$value
  3. $value1= *$value
  4. $value1= $value
  5. None of the stated
  6. Which ONE of the following CANNOT be used to decrement the value of $var by 1 in PHP?
  7. $var–;
  8. –$var;
  9. $var=-1;
  10. $var-=1;
  11. Which ONE of the following is an invalid operator in PHP?
  12. ===
  13. +=
  14. ==
  15. +==
  16. Which ONE of the following best describes “responsive design”, with regard to a web application?
  1. A design which responds to a user’s environment based on screen size and orientation
  1. A design which responds quickly to user inputs
  2. A design which responds to alternative inputs such as voice or motion
  3. A design which responds to server-side requests rather than client-side requests
  4. Which ONE of the following best describes CakePHP’s preferred naming conventions?
  5. Model names plural, Database table names plural, Controller names plural.
  6. Controller names plural, Database table names singular, Model names singular.
  7. Controller names plural, Model names plural, Database table names singular.
  8. Database table names plural, Model names singular, Controller names plural.
  9. If you set a cookie in PHP, using setcookie(), you can immediately check to see if the client accepted it.
  1. True, you can check the $_COOKIE superglobal array to see if it contains the value you set.
  2. True, but only if register_globals is enabled.
  3. False, you can only use setcookie() if you need to test for acceptance. Using header() does not work.
  1. False, you must wait until you receive another HTTP request to determine whether it includes the Cookie collection

PART B

The Tables and PHP pages used in the following questions are described in Appendices A, B, C & D.

Question 1. [6 marks]

Briefly explain the differences between the Waterfall and Agile methodologies with regard to System development.

Need to include things such as:

  1. Rather than developing the whole system as in the Waterfall method, Agile breaks the system down into builds or iterations, which contain specific and complete  functions. These iterations are then fully developed and delivered to the client.
  1. When using Agile, developers don’t have to include as much prediction in their development
  1. Agile allows for easier changes as the project progresses
  2. Agile allows the client to get an idea of the system functionality and look and feel much quicker
  1. Agile is much more likely to deliver a product which meets the client requirements as they have been involved through each of the builds

Question 2. [6 marks]

Identify and briefly describe the 3 different types of prototypes a developer may use as part of their design approach.

Low fidelity

Usually rough and paper based

Allows rapid feedback on concepts and colours

Medium fidelity

Usually produced using a computer based tool

Usually able to demonstrate behavior such as interaction and navigation

High fidelity

Usually a high-tech representation of the application

Can provide partial to complete functionality

Usually provides almost complete UI


程序辅导定制C/C++/JAVA/安卓/PYTHON/留学生/PHP/APP开发/MATLAB


本网站支持 Alipay WeChatPay PayPal等支付方式

E-mail: vipdue@outlook.com  微信号:vipnxx


如果您使用手机请先保存二维码,微信识别。如果用电脑,直接掏出手机果断扫描。