問題詳情
四、現有一網路公司想要分析某一網站使用者之使用行為,故想設計一資料結構以記錄使用者存取網頁之順序,即,如使用者 U 存取 A 網頁後,點選其中之連結存取 B 網頁,再點選其中之連結存取 C 網頁,則其存取順序為 A B C。此資料結構應能記錄該存取順序與其相關資料,如網址與存取時間等。
⑴請分別說明如何使用陣列(array)與鏈結串列(linked list)來記錄上述之網頁存取順序,並分析兩者之優劣。 (10 分)
⑴請分別說明如何使用陣列(array)與鏈結串列(linked list)來記錄上述之網頁存取順序,並分析兩者之優劣。 (10 分)
參考答案
答案:C
難度:非常簡單0.97541
統計:A(13),B(8),C(952),D(3),E(0) #
個人:尚未作答書單:現代五項、 依據籃球規則,有關雙方犯規的罰則,下列何者為錯?
內容推薦
- III. 綜合測驗 (10分,每題1分)(A) I had a strange dream last night. In my dream, Jack, the most boring boy in
- 【題組】(A) That was an awful experience, wasn’t it?(B) What do you plan to do next time?(C) Is ther
- 【題組】Peggy went to her friend’s house, ______ for some advice.(A) asking(B) asks(C) and asking(D)
- 【題組】 ⑶X 為深度為 D 之完美 k 元(k-ary)樹之最左邊之葉節點。
- 【題組】(A) instead of(B) as well as(C) regardless of(D) setting up
- 【題組】Lily will have a musical performance tomorrow, ______ she?(A) does(B) doesn’t(C) will(D) won
- 【題組】(A) everything will be fine(B) I had a similar experience(C) at least you didn’t get hurt(D)
- B. 設有一無窮等比級數的首項為﹐第二項為﹐則此無窮等比級數的和____________.
- 【題組】 ⑵X 為深度為 D 之完美(perfect)二元樹之最右邊之葉節點。
- 【題組】(A) on(B) about(C) at(D) of
內容推薦
- V. 閱讀測驗 (10分,每題2分) When people have strong feelings about something, they’ll want to express them. T
- 【題組】(A) is funny(B) funny(C) be funny(D) being funny
- 灰化作用最可能出現在下列哪一區? (A)甲 (B)乙 (C)丙 (D)丁。
- 【題組】 ⑵請寫一程式(不限程式語言)來分析使用者存取某一網頁後,接下來最有可能存取那一個網頁。假設網頁之存取紀錄檔欄位格式如下:Date, Page1, Page2, Page3,...代表使用者在
- 【題組】I have a friend ______ in the United States.(A) lives(B) live(C) living(D) lived
- 美國國家航空暨太空總署發射的「好奇號」火星探測車,於2012 年8 月成功降落在火星的隕石坑。火星一直是人類太空探測的重點目標,期望「好奇號」的火星之旅能憑藉先進科學儀器的探索,獲得解答生命疑
- 【題組】(A) of(B) with(C) as(D) by
- IV. 對話測驗 (10分,每題2分)Jane: I’m back.David: __(36)__ What happened?Jane: Well, when I was driving to wo
- 【題組】I wonder ______ the businessman succeeded.(A) who(B) that(C) what(D) how
- 【題組】According to the passage, what may people do when they lose a family member?(A) Publish a po
- 【題組】(A) either; nor(B) neither; nor(C) either; or(D) neither; or
- 【題組】(A) Thanks. I’m all right.(B) OK. I’ll see you later.(C) Wow, that’s scary.(D) Oh, that’s wo
- 【題組】The word “event” in the second paragraph most likely means “______.”(A) a happy feeling(B) a
- 【題組】(A) socially(B) separately(C) equally(D) eventually
- 地球表面重力加速度大小為8公尺/秒2,火星表面重力加速度大小為92公尺/秒2,月球表面重力加速度大小為6公尺/秒2。大力士甲在地球舉重成績為250公斤,大力士乙在火星舉重成績為400
- 【題組】According to the passage, which may NOT be a reason why people write poetry?(A) They fell in
- 【題組】(A) I can’t believe it was true.(B) Did you run away from him?(C) You need to go to the hosp
- (甲)AU為在太陽系內的距離常用的距離單位 (乙)描述銀河系內恆星的距離常用pc (丙)與其他星系的距離使用Kpc或Mpc較為適當 (丁)冥王星距離太陽十分遙遠應使用光年來說明距離較適當 以上正確
- 甲地層有大量三葉蟲化石,乙地層有許多菊石化石,丙地層有鹿化石,按地層生成之先後排列,其次序應為 (A) 丙乙甲 (B)甲丙乙 (C) 甲乙丙 (D)乙丙甲。
- 0 ( ) 根據新修訂的「高級中等學校學生輔導辦法」,專任輔導教師每年至少應接受幾小時的在職進修課程?(A) 18 小時; (B) 24小時; (C) 32 小時; (D) 36 小時。
- 0 ( ) 俐容由於經常上課中恍惚失神,於是導師請輔導老師協助,而輔導老師在諮商過程中,發現俐容與網友見面,並且遭受到網友性侵害,輔導老師應立即處理的是:(A) 馬上通報學校與相關單位,以保護俐容
- 【題組】According to the last paragraph, what can people do when they have strong emotions?(A) Ask a
- 一、多重選擇題:(共 18 分,每題全對得 6 分,錯一個選項得 4 分,錯兩個得 2 分,其餘得 0 分)如右圖空間中,已知直線L 與平面 E 垂直且交點為 P , A 為 L 上異於 P的點
- 【題組】 ( ) According to the passage, _____.(A) Marinetti extolled the virtues of classical art
- 0 ( ) 下列有關 Ellis 的理情治療法對諮商目標的敘述,哪一項是不正確的?(A) 鼓勵當事人質疑、辯駁、駁斥自己的非理性信念; (B) 鼓勵當事人面對現實,以無怨無悔的態度面對自己; (C