[8 pts] What will appear in the browser window as a result of accessing the following PHP file?
<html> <head><title>Mystery</title></head> <body> <?php $n = 16; for($i = 1; $i < $n; $i++) { echo "<p>$n</p>"; $n = $n / 2; } ?> </body> </html>
16
8
4
[12 pts]
Circle any two of the following and answer the respective
question. The early
and late
designations do not
constrain which questions you should select (but they do
indicate whether the corresponding presentation came from the
9:00 session or the 9:45/10:00/10:15 session).
Do not circle more than two. If you do, you'll receive credit for the two worst scores.
a. (Early) Why, briefly, does Abarzuza conclude that Skype is more likely to be successful in the European market than in the U.S. market.?
b. (Early) In 2005, what percentage of retail sales in the U.S. was on-line, as cited by Thomas?
c. (Early) List three benefits of using the Web as part of historical research, as cited by Lipham.
d. (Late) On what legal grounds are students from McLean, Virginia, basing their claims that turnitin.com uses illegal techniques for plagiarism detection?
e. (Late) What is dark fiber, and how does it lead to the success of India as an offshoring location according to Tom Friedman?
f. (Late) With what demographic are fansites most popular, according to Eye's presentation?
a. The European market is dominated by national monopolies. While the U.S. market is not ideal, it is more competitive and thus more likely to adapt to the challenge introduced by Skype.
b. 7.8% [Being within two percentage points would have received full credit.]
c. It dramatically simplifies locating the basic information on a topic. It can lead to finding new connections between information that would not be found through traditional means (the buffalo bones was the example used). It does not wear down historical documents. It reduces travel expenses.
d. The students claim that the site's storage of their paper and subsequent presentation to later users of the site violates their copyright protection.
e. Dark fiber is fiber optic cable that has been laid but remains unused. The presence of dark fiber connecting Asia to North America dramatically reduces the communication costs between the two countries, which allows Indian countries to compete for opportunities involve heavy communication.
f. Fan fiction sites appeal particularly to young women and teenage girls. (Eye did not provide information about general fan sites' demographic appeal, beyond saying it was fairly broad.)
[10 pts] Suppose our database contains the two tables below.
Courses table number instructor CHEM 100 Teague CSCI 115 Burch MATH 130 Campbell
Faculty table professor start_year Burch 2004 Campbell 2000 Teague 1970
What is the result of the following SQL query?
SELECT number, professor FROM Courses, Faculty WHERE start_year > 2001
number | professor |
CHEM 100 | Burch |
CSCI 115 | Burch |
MATH 130 | Burch |