阿摩線上測驗
登入
首頁
>
研究所、轉學考(插大)-資料結構
>
100年 - 100 淡江大學 轉學考 資料結構#55911
>
9.寫一個 class Node 用來表示 singly linked list 的節點, 其中的欄位data是整數,另有欄位link是指標(Java中稱爲reference). 再寫一個函數findLastData,它負責傳回list的最末一筆資料. (10%)
其他申論題
【已刪除】5b•若某class內有下列函數 (5%)
#211682
【已刪除】6.完成下列函數 (10%) 這個函數負責印一個由#號拼成的三角形: 第一列印一個#,第二列印兩個#,...,第d列印d個# 例如呼叫pTriangle (5)將印出
#211683
【已刪除】7 • Fibonacci 數列定義如下: (10%) 用來計算F (n)
#211684
8 •不使用遞迴呼叫,改用陣列寫出上一題的函數. (10%)
#211685
【已刪除】10.觀察下列的程式碼: 假設已執行下列敘述 Node R=Node.createT(5); 請畫出R所指的資料結構 (10%)
#211687
(a)丙公司2011年及2012年因建造該廠房應利息資本化之金額(計算過程)。(6%)
#211688
(b)丙公司2011年及2012年期末利息資本化之分錄。(8%)
#211689
(a) Prepare the journal entry to record the issuance of the convertible bond on January 1, 2011.(5%)
#211690
(b) Assume that the bonds were converted on December 31, 2013. Prepare the journal entry to record the conversion on December 31, 2013. Assume that the accrual of interest related to 2013 has been recorded. (5%)
#211691
(c) Assume that Burberry repurchases the convertible bonds on December 31, 2013 for a cash $55,000. The fair value of the liability component of the bonds is determined to be $54,000. Prepare the journal entry to record the repurchase on December 31, 2013. Assume that the accrual of interest related to 2013 has been recorded. (5%)
#211692