請設計一個遞迴(recursive)演算法檢視第一個字串(string of characters)是否為第二個
字串之附屬字串(substring),並以虛擬程式(pseudo code)描述此演算法。(20 分)
寫一個演算法,利用泡沫排序法(Bubble Sort),將數值資料依遞增排序。(20 分)
一個HTML 文件如下描述:
<html>
<head>
<title>This is the title</title>
</head>
<body>
<h1>Favorite Animals</h1>
<p>Of all the animals in the world, the
<a href=”http://pigs.org/pigs.html”>pig</a> is
perhaps the most charming.</p><p>However, the
<a href=”http://hippopotamuscity.org/hippo.html”>
hippopotamus</a> is also cute.</p>
</body>
</html>
利用瀏覽器(browser)觀看此HTML 文件時,試畫一個簡圖表現電腦螢光幕上
所顯示的訊息。(10 分)
利用瀏覽器(browser)觀看此HTML 文件時,若用滑鼠點選“pig”字樣時,將會
發生何事?(5 分)