阿摩線上測驗
登入
首頁
>
程式設計
>
105年 - 105APCS大學程式設計先修檢測#101142
> 試題詳解
20. 右側程式執行後輸出為何?
(A) 0
(B) 10
(C) 25
(D) 50
答案:
登入後查看
統計:
A(3), B(6), C(7), D(22), E(0) #2772870
相關試題
21. 右側 G()應為一支遞迴函式,已知當 a 固定為 2,不同的變數 x 值會有不同的回傳值如下表 所示。請找出 G()函式中 (a) 處的計算式該 為何? (A) ((2*a)+2) * G(a, x - 1) (B) (a+5) * G(a-1, x - 1) (C) ((3*a)-1) * G(a, x - 1) (D) (a+6) * G(a, x - 1)
#2772871
22. 如果 Xn 代表 X 這個數字是 n 進位,請問 等於多少? (A) 1100 0101 1001 10012 (B) 1626318 (C) (D)
#2772872
23. 請問右側程式,執行完後輸出為何? (A) 2417851639229258349412352 7 (B) 68921 43 (C) 65537 65539 (D) 134217728 6
#2772873
24. 右側 G()為遞迴函式,G(3, 7)執行後回 傳值為何? (A) 128 (B) 2187 (C) 6561 (D) 1024
#2772874
25. 右側函式若以 search (1, 10, 3) 呼叫 時,search 函式總共會被執行幾次? (A) 2 (B) 3 (C) 4 (D) 5
#2772875
1. Consumer surplus is (A) the total value that consumers receive from the consumption of a particular good. (B) the total amount that consumers pay for a particular good. (C) the differences between what the consumer would be willing to pay and what the consumer actually has to pay. (D) a measure of the excess supply at the prevailing price. (E)none of the above.
#2772876
2. A natural monopoly is characterized by (A) decreasing returns to scale. (B) patent protection of certain basic processes. (C) the firm’s having exclusive control over a basic input. (D) a decreasing long-run average cost curve over the feasible range of output. (E)all of the above.
#2772877
3. A rational monopolist with positive marginal costs will not operate at a point where the price elasticity of demand is (A) less than 1. (B) 1. (C) greater than 1. (D) greater than 10. (E)negative.
#2772878
4. Unlike a perfectly competitive firm, a monopolistically competitive firm (A) faces a downward-sloping demand curve. (B) can change the characteristics of its product. (C) can vary the price of its product. (D) tends to operate with excess capacity. (E)all of the above.
#2772879
5. A Nash equilibrium is one in which (A) each player selects the maximum strategy independently of the anticipated actions of the other. (B) each player’s decision is optimal given the decision of the other firm. (C) the number of Nashes sold equals the number supplied. (D) the profits of both firms equal the profits that would result in a monopoly. (E)none of the above are true.
#2772880
相關試卷
115年 - 115 身心障礙特種考試_四等_資訊處理:程式設計概要#138996
2026 年 · #138996
115年 - 115 關務特種考試_四等_資訊處理(選試英文):程式設計概要#138932
2026 年 · #138932
114年 - 114 地方政府公務特種考試_四等_資訊處理:程式設計概要#134763
2025 年 · #134763
114年 - 114 專技高考_資訊技師:程式設計#133686
2025 年 · #133686
114年 - 114 普通考試_資訊處理:程式設計概要#128722
2025 年 · #128722
114年 - 114 關務特種考試_四等_資訊處理(選試英文):程式設計概要#126658
2025 年 · #126658
114年 - 114 身心障礙特種考試_四等_資訊處理:程式設計概要#126591
2025 年 · #126591
113年 - 113 地方政府公務、離島地區公務特種考試_四等_資訊處理:程式設計概要#124356
2024 年 · #124356
113年 - 113 專技高考_資訊技師:程式設計#123958
2024 年 · #123958
113年 - 113 普通考試_資訊處理:程式設計概要#121162
2024 年 · #121162