切換成含解答

在列印視窗選「另存為 PDF」就會存成檔案。

接棒學院

接棒學院 CodingWizard Academy

Programming · 程式設計單元測驗卷

電腦與網路 Computers and the Internet · CEFR B1 · 滿分 100 分

班級 ______________座號 __________姓名 ______________日期 ______ / ______得分 __________
  1. 一、單字配對(20 分)

    把右邊的代號填進左邊的括號裡。

    1. 1.variable(    )
    2. 2.value(    )
    3. 3.condition(    )
    4. 4.loop(    )
    5. 5.repeat(    )
    6. 6.function(    )
    7. 7.reusable(    )
    8. 8.bug(    )
    9. 9.debug(    )
    10. 10.obvious(    )
    1. A.變數
    2. B.迴圈
    3. C.可重用的
    4. D.顯而易見的
    5. E.條件
    6. F.函式
    7. G.除錯
    8. H.值
    9. I.重複
    10. J.程式錯誤
  2. 二、選擇題(30 分)

    1. (    )1.What does a computer do with your instructions?

      1. (A) What you meant
      2. (B) Exactly what you wrote
      3. (C) Whatever is fastest
      4. (D) It guesses
    2. (    )2.What is a variable?

      1. (A) A kind of loop
      2. (B) A named place that holds a value
      3. (C) An error
      4. (D) A screen
    3. (    )3.What is a loop for?

      1. (A) Making decisions
      2. (B) Repeating steps until a condition changes
      3. (C) Storing values
      4. (D) Displaying text
    4. (    )4.When should you write a function?

      1. (A) Never
      2. (B) When you find yourself writing the same thing twice
      3. (C) Only at the start
      4. (D) Only for maths
    5. (    )5.What is the first rule of fixing a bug?

      1. (A) Rewrite everything
      2. (B) Make the problem happen again on purpose
      3. (C) Restart the computer
      4. (D) Ask someone else
    6. (    )6.Why do clear names matter so much?

      1. (A) They run faster
      2. (B) Programmers read code far more than they write it
      3. (C) The compiler needs them
      4. (D) They use less memory
  3. 三、填空(每題填一個單字)(30 分)

    1. 1.A ____ is a named box that holds a value.(提示:變數)
    2. 2.A ____ repeats steps until something changes.(提示:迴圈)
    3. 3.Put the steps into a ____ so you can use them again.(提示:函式)
    4. 4.There is a ____ somewhere in this code.(提示:程式錯誤)
    5. 5.First ____ the problem, then you can fix it.(提示:重現)
    6. 6.Break the problem down until each step is ____.(提示:顯而易見的)
  4. 四、簡答(用英文回答,一到兩句即可)(20 分)

    1. 1.Why is programming mostly thinking rather than typing?為什麼寫程式主要是在思考而不是打字?

    2. 2.Explain rubber duck debugging and why it works.說明小黃鴨除錯法,以及它為什麼有效。

接棒學院 academy.codingwizard.com.tw · 電腦與網路 / 程式設計