2026年1月27日 星期二

教師留言給佳恩的作業指派-1月27日

         2025/1/27(二) 19:00-19:50 

  1. 今日教學進度:
    • 教師帶領佳恩複習 Khan Academy: Intro to computer science - Python/Unit 3: Simulating phenomena with loops/Lesson 2: While Loops/Challenge: Dice rolls 全部完成
    • 作業指派:
      1. 請佳恩複習今天學習的單元程式設計
      2. 請佳恩嘗試以今天程式功能為基礎,增加新功能如下:
        1.  骰子數量可由使用者指定,(也就是一次可以擲3顆, 4顆,... n 顆骰子)
        2.  每次擲骰子,都要顯示各骰子的點數,及本次的點數總和,
        3.  把本次的點數總和加入累積點數,
        4.  設定一個門檻,當累積點數到達域超越門檻時,就停止擲骰子,
        5.  顯示實驗總次數、累積點數、以及每次平均點數。
    • 下次課程計畫: 
      1. 下次課程日期預計:2025/2/3(二)。 
      2. 檢閱上次作業派執行狀況。
      3. 教師指導佳恩寫程註解。
      4. 教師帶領佳恩複習 Khan Academy: Intro to computer science - Python/Unit 3: Simulating phenomena with loops/Lesson 2: While loops/Challenge: Dice rolls
      5. 參考編碼
        1. import random

        2. experiment_times = int(input("How many times do you want \
        3. to repeat the experiment? "))
        4. dice_number = int(input("How many dice do you want? "))
        5. dice_total = 0
        6. time_break = 0
        7. i = 1 # for counting while loop
        8. while i <= experiment_times:
        9.     # Roll dice_number six-sided dice.
        10.     dice_string = ""
        11.     dice_sum = 0
        12.     for n in range(dice_number):
        13.         die = random.randint(1,6)
        14.         dice_string = dice_string + str(die)
        15.         dice_sum = dice_sum + die
        16.     print("You rolled " + dice_string)    
        17.     print("You rolled a " + str(dice_sum) + "!")
        18.     dice_total = dice_total + dice_sum
        19.     time_break = i    
        20.     if dice_total >= 100:        
        21.         break
        22.     i = i + 1

        23. dice_average = dice_total / time_break
        24. print("The total of dice roll for " + \
        25.       str(time_break) + " times is " + str(dice_total))
        26. print("The average of dice roll for " + \
        27.       str(time_break) + " times is " + str(dice_average))

    • 備用教材:
      • GEPT中級聽力AI 生成提示語模板 & ElevenLags TTS Dialogue
      • 中文作文:啟承轉合
      • 《AI雙語字詞發展策略》
      • 《抄寫英語的奇蹟》的 Day9, Day10, Day11
        • 聽力練習(全文)
          • 被動聆聽:習慣發音、語調和節奏。
          • 同步聆聽和默讀。
        • 口說訓練:(全文)
          • 逐句跟唸。
          • 同步跟唸。
          • 邊唸邊寫。
        • 閱讀訓練:(選擇)文章中的句子和段落,進行分析語法、語意、和語用。
        • 寫作訓練:(選擇)文章中的句子和段落,進行改寫、換句話說、拆句、併句。
        • 擴充單字訓練:(選擇)文章中的字詞,進行語意場分析和造句。
      • 《完美英語之心靈盛宴》 的一般使用方法,透過 ChatGPT 生成 1) 換句話說:用不同的說法闡明原短句之涵意,提昇用英文解釋英文的能力,以及用英文思考的能力。2) 造長句:使用不同的結構來造長句,提升應用短句的能力,以及閱讀和寫作長句的能力。3) 語用分析:從某句話推論說話者的意圖和隱含的意思,以及這句話適用的各種情境。 
      • 《完美英語之心靈盛宴》第84頁 Book1 Part2 Unit6 拒絕失敗。
        • Refuse to lose. 拒絕失敗。Refuse to give up. 拒絕放棄。Persistence wins the day. 堅持才會贏。Don't worry about failures. 不要擔心失敗。Worry about missed chances. 擔心錯過機會。Always try, try, try! 永遠嘗試再嘗試。Turn the tables. 反敗為勝。Turn the tide. 扭轉乾坤。 Reverse the situation. 反轉局勢。
      • 《完美英語之心靈盛宴》第502頁 Book4 Part1 Unit3 「不要選邊站」。
        • Don't take sides. 不要選邊站。Be on everyone's side. 要站在所有人這一邊。Be friendly to all. 對人人友善。Everyone is unique. 每個人都獨一無二。Everyone to his taste. 各有所好。To each his own. 各有所好。Never blame others. 不要責備他。Never point a finger at others. 不要指責他人。It reflects badly on you. 這會為你帶來負面影響。
      • 《Heart of  the Matter》Part 1 - Chapter 1 第 4-9 段。
      • 高職統測及全民英檢中級測驗日期
        高職統測 2027年5月中旬,
        全民英檢中級測驗日期如下表:

    沒有留言:

    張貼留言