You are given a passage. You need to construct a question about the information present in the passage. Construct a question in such a way that (i) it is unambiguous, (ii) its answer is the whole paragraph. Avoid creating questions that can be answered correctly without actually understanding the paragraph.

[EX Q]: Yes, just go to your computer manufacturer's website and they'll have the latest bios for you to download for free.
[EX A]: CAN I DOWNLOAD BIOS FOR MY COMPUTER FOR FREE?

[EX Q]: If you are using the native mysql drivers in PHP, then there are no MySQL arrays, you are creating an object that you iterate over. The idea is to iterate over the object's results and put those results into an array. Observe:\n\n<?php\n// Connecting, selecting database\n$link = mysql_connect('mysql_host', 'mysql_user', 'mysql_password')\n   or die('Could not connect: ' . mysql_error());\necho 'Connected successfully';\nmysql_select_db('my_database') or die('Could not select database');\n\n// Performing SQL query\n$query = 'SELECT * FROM my_table';\n$result = mysql_query($query) or die('Query failed: ' . mysql_error());\n\n// Printing results in HTML\necho "<table>&#92;n";\nwhile ($line = mysql_fetch_array($result, MYSQL_ASSOC)) {\n   echo "&#92;t<tr>&#92;n";\n   foreach ($line as $col_value) {\n       echo "&#92;t&#92;t<td>$col_value</td>&#92;n";\n   }\n   echo "&#92;t</tr>&#92;n";\n}\necho "</table>&#92;n";\n\n// Free resultset\nmysql_free_result($result);\n\n// Closing connection\nmysql_close($link);\n?> \n\nThe line you are looking for is:\nwhile ($line = mysql_fetch_array($result, MYSQL_ASSOC))\n\nBasically, mysql_fetch_array will return an associtive array containing the column name as the key, and the data for that column into $line. Then you can further push that into an array container.\n\nvar $data = array();\n...\n$data[] = $line;\n...\n\nYou cannot otherwise take a mysql result and make it an array, you must iterate over the object.\n\nFYI - I do not reccomend using the native PHP drivers. Using an abstraction library makes your code so much more portable. Using native drivers may make for quick coding, but you loose so much more in the end. \n\nI've included links to Pear::DB, ADODB, and PDO as possible libraries to look at. There are more, these are just examples.\n\nHope that helps.
[EX A]: How to save arrays in MySQL with PHP?

[EX Q]: kind, honest, loyal, respectful, etc.  A good friend should treat friends the way he/she wants to be treated.  He/she must keep must know how to keep promises.  He/she must listen when a friend is talking.   He/she must know how to share.  He/she must be considerate.
[EX A]:
What are the qualities that a good friend should have?

