阿摩線上測驗
登入
首頁
>
程式設計
>
110年 - 110-2 國立清華大學期末考試題_電機工程學系:計算機程式設計#112945
> 申論題
題組內容
5. (10%) Consider the following class definitions using inheritance in C++.
(b) After the execution of the main program, what will be displayed on the screen? Hint: beware of the member function overriding during the inheritance. (5%)
相關申論題
6. (15%) Complete the following function that writes an array of complex numbers, A[3], into a binary file, and then reads all the contents back to another array B[3]. Please specify clearly what should be filled in to Blank1, Statement-1, and Statement-2, respectively. The program will print out the following result after execution: B[0]=1.0 + j1.0B[1]=2.0 + j4.0B[2]=3.0 + j9.0
#483288
7. (10%) Consider the following recursive function B(int m, int n). How many lines of “Base Case” will be printed if B(5, 3) is executed.
#483289
(a) How many coordinates along the number line can he reach (including the starting point at coordinate 0)? Drive this result by paper-and-pencil method. (5%)
#483290
(b) Finish the primitive recursive program shown below by adding 2 statements which make recursive calls. (5%)
#483291
(c) What is the computational complexity of this program? Is it O(n), O(n*log2(n)), O(n2 ), O(2n ), or O(n!), where n denotes the number of jumps taken? (5%)
#483292
(d) What is the lowest computational complexity one can possibly achieve for this problem? (You can get the score as long as you give the right order. After the examination, it could be a fun exercise if you try to achieve this lowest computation complexity by modifying the program only slightly. The run time will make a big difference when you jump for 100 steps) (5%)
#483293
1.目前少子化狀況嚴重,致使偏遠地區學校的學生人數降低。面對人數不多的 偏遠地區學校,你認為是否需要裁併?如果是,在裁併過程中要注意什麼?如 果不是,應如何面對可能的問題?
#483294
1. 歷史一再證明,戰爭會造成極為可怕的災難。
#483298
2. 避免衝突、確保世界和平應該是所有人類追求的目標。
#483299
二 、 英 文 作 文 說明︰依提示寫一篇英文作文,文長至少120個單詞(words)。提示︰隨著社群媒體的普及,表情符號(emoji)的使用也極為普遍。請參考下列表情符號,寫一篇 英文作文,文分兩段。第一段說明人們何以喜歡使用表情符號,並從下列的表情符號中舉一 至二例,說明表情符號在溝通上有何功能。第二段則以個人或親友的經驗為例,討論表情符 號在訊息表達或解讀上可能造成的誤會或困擾,並提出可以化解的方法。
#483300
相關試卷
115年 - 115 身心障礙特種考試_四等_資訊處理:程式設計概要#138996
115年 · #138996
115年 - 115 關務特種考試_四等_資訊處理(選試英文):程式設計概要#138932
115年 · #138932
114年 - 114 地方政府公務特種考試_四等_資訊處理:程式設計概要#134763
114年 · #134763
114年 - 114 專技高考_資訊技師:程式設計#133686
114年 · #133686
114年 - 114 普通考試_資訊處理:程式設計概要#128722
114年 · #128722
114年 - 114 關務特種考試_四等_資訊處理(選試英文):程式設計概要#126658
114年 · #126658
114年 - 114 身心障礙特種考試_四等_資訊處理:程式設計概要#126591
114年 · #126591
113年 - 113 地方政府公務、離島地區公務特種考試_四等_資訊處理:程式設計概要#124356
113年 · #124356
113年 - 113 專技高考_資訊技師:程式設計#123958
113年 · #123958
113年 - 113 普通考試_資訊處理:程式設計概要#121162
113年 · #121162