2025年7月21日 星期一

教師留言給晉維英文課-7月21日

   2025/07/21(一) 8:00-8:50 

  1. 今日教學進度:
    1. 教師和晉維檢討上週作業指派。晉維有複習聽力練習The end of the World?,和《Heart of the Matter》第 30 段語意解說(Semantic Analysis)之第 2-4 節,《弦元佑文法解題》第8章分詞 (前半部)。
    2. 教師帶領晉維精讀《Heart of the Matter》第 30 段語意解說(Semantic Analysis)之第 5 節、 Semantic Relationships and Implications。
  2. 作業指派:
    1. 請晉維自自修聽力練習《Living Underground》。
    2. 請晉維複習《Heart of the Matter》第 30 段語意解說(Semantic Analysis)之第 2-4 節。
    3. 請晉維預習《Heart of the Matter》第 30 段語意解說(Semantic Analysis)之 Conclusion、第 31 段 1-3 句、第 32 段 1-3 句、第 32 段之文意解說之第 1 節。
    4. 請晉維自修《弦元佑文法解題》第8章分詞 (後半部)。

  3. 下次課程計畫: 
    1. 檢閱作業派執行狀況
    2. 教師指導晉維精讀 《Heart of the Matter》第 30 段語意解說(Semantic Analysis)之 Conclusion、第 31 段 1-3 句、第 32 段 1-3 句、第 32 段之文意解說之第 1 節。

Python Unit 3 Lesson 3 - For loops - Challenge: Waiting times

 Challenge

import random


num_cashiers = 1

num_cooks = 2


waiting_to_order = 0

waiting_for_food = 0

num_customers_served = 0


for minutes in range(300):

    # Customers arrive every minute and line up to order.

    waiting_to_order = waiting_to_order + random.randint(0, 6)

    

    # Each cashier can take up to three orders per minute.

    new_orders = min(num_cashiers * 3, waiting_to_order)

    

    # After ordering, customers wait for their food to be made.

    waiting_to_order = waiting_to_order - new_orders

    waiting_for_food = waiting_for_food + new_orders


    # Each cook can make up to 1 food per minute.

    new_food = min(num_cooks*1, waiting_for_food)

    num_customers_served = num_customers_served + new_food


    # After providing food, 

    # the customer moves out of the waiting_for_food state.

    waiting_for_food = waiting_for_food - new_food

    

    print(str(waiting_to_order) + " customers waiting to order.")

    print(str(waiting_for_food) + " customers waiting for food.")

print("The total number of customers served is " + \

      str(num_customers_served) + "!")

Bonus

import random

num_cashiers = 2
num_cooks = 5

waiting_to_order = 0
waiting_for_food = 0
num_customers_served = 0

# from 12-2pm the customer arrival rate ever minute = (3, 6)
for minutes in range(120):
    # Customers arrive every minute and line up to order.
    waiting_to_order = waiting_to_order + random.randint(3, 6)
    
    # Each cashier can take up to three orders per minute.
    new_orders = min(num_cashiers * 3, waiting_to_order)
    
    # After ordering, customers wait for their food to be made.
    waiting_to_order = waiting_to_order - new_orders
    waiting_for_food = waiting_for_food + new_orders

    # Each cook can make up to 1 food per minute.
    new_food = min(num_cooks*1, waiting_for_food)
    num_customers_served = num_customers_served + new_food

    # After providing food, 
    # the customer moves out of the waiting_for_food state.
    waiting_for_food = waiting_for_food - new_food
    
    print(str(waiting_to_order) + " customers waiting to order.")
    print(str(waiting_for_food) + " customers waiting for food.")

# Rearrange the staff
num_cashiers = 1
num_cooks = 2
waiting_to_order = 0
waiting_for_food = 0
print("The total number of customers served is " + \
      str(num_customers_served) + "!")
print("----------------------------")
print("----------------------------")
print("----------------------------")
# from 2-5pm the customer arrival rate ever minute = (0, 3)
for minutes in range(180):
    # Customers arrive every minute and line up to order.
    waiting_to_order = waiting_to_order + random.randint(0, 3)
    
    # Each cashier can take up to three orders per minute.
    new_orders = min(num_cashiers * 3, waiting_to_order)
    
    # After ordering, customers wait for their food to be made.
    waiting_to_order = waiting_to_order - new_orders
    waiting_for_food = waiting_for_food + new_orders

    # Each cook can make up to 1 food per minute.
    new_food = min(num_cooks*1, waiting_for_food)
    num_customers_served = num_customers_served + new_food

    # After providing food, 
    # the customer moves out of the waiting_for_food state.
    waiting_for_food = waiting_for_food - new_food
    
    print(str(waiting_to_order) + " customers waiting to order.")
    print(str(waiting_for_food) + " customers waiting for food.")

print("The total number of customers served is " + \
      str(num_customers_served) + "!")

教師留言給尤靖恩尤佳恩程式設計課-7/21

  2025/07/21(一) 14:00-16:00

  1. 今日教學進度:
    1. 教師帶領靖恩和佳恩學習 Python Unit 3 Lesson 2 While loops 的 Challenge: Dice rolls。
  2. 作業指派:
    1. 請靖恩和佳恩複習 Khan Academy Python Unit 3 Lesson 2 While loops 的 Challenge: Dice rolls。
    2. 請靖恩和佳恩自修 Khan Academy Python Unit 3 Lesson 2 While loops 的教學影片、文件、和測驗。

  3. 下次課程計畫:
    1. 2025/07/21(一) 14:00-16:00
    2. 教師檢查靖恩及佳恩作業
    3. 教師指導靖恩及佳恩完成  Khan Academy Python Unit 3 Lesson 3 For loops 的 Challenge: Wait times。

兩顆骰子點數和的機率和期望值



一、可能的點數,最小是 2,最大是 12,各點數的可能情況如下:

  1. 2 點:(1,1)
  2. 3 點:(1,2), (2,1)
  3. 4 點:(1,3), (2,2), (3,1)
  4. 5 點:(1,4), (2,3), (3,2), (4,1)
  5. 6 點:(1,5), (2,4), (3,3), (4,2), (5,1)
  6. 7 點:(1,6), (2,5), (3,4), (4,3), (5,2), (6,1)
  7. 8 點: (2,6), (3,5), (4,4), (5,3), (6,2)
  8. 9 點: (3,6), (4,5), (5,4), (6,3)
  9. 10 點:(4,6), (5,5), (6,4)
  10. 11 點:(5,6), (6,5)
  11. 12 點:(6,6)
    總共有 1+2+3+4+5+6+5+4+3+2+1 = 36 種情況,每一種情況的機率一樣。
    2 點的機率是 1/36,3 點的機率是 2/36 ...

二、所以兩顆骰子點數和的期望值是:

  1. (1*2+2*3+3*4+4*5+5*6+6*7+5*8+4*9+3*10+2*11+1*12)/36=7

Python Unit 3 Lesson 2 - While loops - Challenge: Dice rolls

Step 1, 2 

import random

dice_total = 0

i = 1 # for counting while loop

while i <= 10:

    # Roll two six-sided dice.

    first_die = random.randint(1, 6)

    second_die = random.randint(1, 6)

    dice_sum = first_die + second_die

    print("You rolled a " + str(dice_sum) + "!")

    dice_total = dice_total + dice_sum

    i = i + 1

dice_average = dice_total / 10

print("The average of dice roll is " + str(dice_average))

Step 3

import random

experiment_times = int(input("How many times do you want \
to repeat the experiment? "))
dice_total = 0
i = 1 # for counting while loop
while i <= experiment_times:
    # Roll two six-sided dice.
    first_die = random.randint(1, 6)
    second_die = random.randint(1, 6)

    dice_sum = first_die + second_die
    print("You rolled a " + str(dice_sum) + "!")
    dice_total = dice_total + dice_sum
    i = i + 1

dice_average = dice_total / experiment_times
print("The average of dice roll for " + \
      str(experiment_times) + " times is " + str(dice_average))

2025年7月14日 星期一

教師留言給尤靖恩尤佳恩程式設計課-7/14

 2025/07/14(一) 14:00-16:00

  1. 今日教學進度:
    1. 教師帶領靖恩和佳恩學習 Python Unit 3 Lesson 1 Module imports
  2. 作業指派:
    1. 請靖恩和佳恩自修 Khan Academy Python Unit 3 Lesson 1 Module imports 設計程式,並測試,及除錯。
    2. 請靖恩及佳恩預習 Khan Academy Python Unit 3 Lesson 2 While loops 的教學影片和文件。
  3. 下次課程計畫:
    1. 2025/07/21(一) 14:00-16:00
    2. 教師檢查靖恩及佳恩作業
    3. 教師指導靖恩及佳恩完成  Khan Academy Python Unit 3 Lesson 2 While loops 的 Challenge: Dice rolls。

教師留言給晉維英文課-7月14日

  2025/07/14(一) 8:10-9:00 

        註:《青少年追求卓越》網站虛擬主機當機維修中,教師留言暫置教師的部落格。

  1. 今日教學進度:
    1. 教師和晉維檢討上週作業指派。晉維有複習聽力練習,和《Heart of the Matter》
    2. 教師指導晉維使用The end of the World?》的學習資源。
    3. 教師帶領晉維精讀《Heart of the Matter》第 30 段語意解說(Semantic Analysis)之第 2-4 節。
  2. 作業指派:
    1. 請晉維複習上週聽力練習The end of the World?
    2. 請晉維複習《Heart of the Matter》第 30 段語意解說(Semantic Analysis)之第 2-4 節。
    3. 請晉維預習《Heart of the Matter》第 30 段語意解說(Semantic Analysis)之第 5 節、 Semantic Relationships and Implications 和 Conclusion、以及第 31 段 1-3 句。
    4. 請晉維自修Living Underground
    5. 請晉維自修《弦元佑文法解題》第8章分詞,可以分兩週進行:7/15(二) ~ 7/21(一),以及7/22(二) ~ 7/28(一)。

  3. 下次課程計畫: 
    1. 檢閱作業派執行狀況
    2. 教師指導晉維精讀 《Heart of the Matter》第 30 段語意解說(Semantic Analysis)之第 5 節、 Semantic Relationships and Implications 和 Conclusion、以及第 31 段 1-3 句。

2025年7月9日 星期三

如何發展用英文表達自己的意見、想像、和經驗的能力?

我的母語是中文。我認為我要發展用英文表達自己的、想像、和經驗的能力的最有效方法就是先要有能力用母語表達,然後學習AI翻譯出來的英文。你覺得怎麼樣?

ChatGPT回答

你的想法非常有道理,而且是一個相當有效的語言學習策略。這種方法的核心邏輯是「先理解、再表達」,而你用「母語先行 + AI 翻譯 + 英文學習」的方式,正好符合這個邏輯。以下是我對你方法的看法與建議:

✅ 為什麼這樣做是有效的:

  1. 先用中文思考,有助於思想深度與情感真實性
    你用母語(中文)表達時,不受語言能力限制,能更清楚地表達自己的想法、感受與經驗,這是培養內容深度和真誠表達的關鍵。
  2. AI 翻譯作為「橋梁」
    透過 AI 翻譯,你可以獲得符合英文語法和用法的譯文,進而反思「原來這樣的中文可以這樣說成英文」,從中學到地道的英文表達。
  3. 符合語言學習的自然遷移模式
    這種方式類似「從已知轉向未知」,能有效促進母語與外語之間的語意連結,強化記憶,也降低學習挫折感。

🔍 建議的進一步做法:

  1. 加入對比學習:
    嘗試觀察 AI 翻譯與你自己原本想像的英文說法有什麼不同,並思考「為什麼 AI 這樣說更自然?」。
  2. 反覆輸出練習:
    把 AI 翻譯的句子背下來或轉換成你自己的說法,用英文口說或寫下來,加強語感與語言肌肉記憶。
  3. 主題聚焦學習:
    可以以一個主題為單位,例如「我童年的一件回憶」、「我最近的心情」、「我對某件事的想法」,一方面寫中文日記,一方面用 AI 協助轉譯成英文日記,逐步擴展語言表達範圍。

🧠 心得總結:

你走的是「內容先行、語言漸進」的路,這不僅適合成人學習者,也特別適合你希望傳承思想、智慧與經驗的目標。英文的進步會在這樣的堅持下,自然而然發生。

如果你願意,我可以持續協助你把你寫的中文內容翻成合適的英文,並標示中英文對應句子。這樣的學習記錄還可以成為你的英文寫作素材庫。

你願意我這樣協助你嗎?如果可以,我們可以從你的一篇中文日記或想法開始。



2025年7月7日 星期一

教師留言給晉維英文課

 2025/0707(一) 8:10-9:00 

        註:《青少年追求卓越》網站虛擬主機當機維修中,教師留言暫置教師的部落格。

  1. 今日教學進度:
    1. 教師帶領晉維精讀《Heart of the Matter》第 29 段第 5-7 句,第 30 段第 1-5 句,及第 30 段語意解說(Semantic Analysis)之第 1 節 Dual Roles Centered Around the Heart。
  2. 作業指派:
    1. 請晉維複習上週聽力練習
      1. Learn English | Listening Practice - Listening to a English Weather Forecast
      2. Learn English | Listening Practice - Talking About a Photo in English
      3. Learn English | Listening Practice - Scheduling a Checkup in English
    2. 請晉維複習《Heart of the Matter》第 29 段第 5-7 句,第 30 段第 1-5 句,及第 30 段語意解說(Semantic Analysis)之第 1 節 Dual Roles Centered Around the Heart。
    3. 請晉維預習《Heart of the Matter》第 30 段語意解說(Semantic Analysis)之第 2-5 節及 Semantic Relationships and Implications 和 Conclusion。
    4. 請晉維自修The end of the World?
      1. 點語音播放器可播放語音。參考圖如下:
      2. 填空測驗:從 21 個單字表中選填到 15 個空格,每一個空格限 1 個字。參考圖如下:
    5. 請晉維自修《弦元佑文法解題》第8章分詞

  3. 下次課程計畫: 
    1. 檢閱作業派執行狀況
    2. 教師指導晉維精讀 《Heart of the Matter》第 30 段語意解說(Semantic Analysis)之第 2-5 節及 Semantic Relationships and Implications 和 Conclusion。

教師留言給尤靖恩尤佳恩程式設計課

 2025/0707(一) 14:00-16:00

  1. 今日教學進度:
    1. 教師帶領靖恩和佳恩複習 Python Unit 2 Lesson 5
    2. 教師指導靖恩和佳恩學習畫程式流程圖
  2. 作業指派:
    1. 請靖恩和佳恩自修在 Khan Academy Python Unit 2 Lesson 5 設計程式,並測試,及除錯。
    2. 請靖恩及佳恩預習 Khan Academy Python Unit 3 Lesson 1
  3. 下次課程計畫:
    1. 2025/07/14(一) 14:00-16:00
    2. 教師檢查靖恩及佳恩作業
    3. 教師指導靖恩及佳恩完成  Khan Academy Python Unit 3 Lesson 1 程式流程圖,及編寫程式碼。

2025年7月5日 星期六

《青少年追求卓越》暫停服務的抱歉啟事

抱歉啟事:
最近我個人的《青少年追求卓越》網站的虛擬主機經常當機。也許需一些時間修復。這導致我暫時無法取得我的一些網頁資料。因此暫時無法按時分享原本計畫好的中英雙語逐對照福音原則,及其相關輔助文人件。有使用這個網站的朋友們請諒解。
這個虛擬主機十餘年來都託管在 Google Cloud Platform上。我在上面累積了許多學習資源,我會設法搶救回來。需要一點時間,敬請期待。
我想趁這個《青少年追求卓越》網站當機的空檔,和大家分享我最近用科技學習英文的經驗,希望能和大家交流。
熟悉我的朋友們都知道英文並非我的專長,我的專長是程式設計,我從大學二年級到現在一直在寫程式,大約有56年了。年輕時寫程式是因為工作需要,現在寫程式是為了樂趣,例如:我用 Scratch 寫程式自動解「數獨」的任何難度的題目。
然而,我對學習英文也有興趣,只是一直都沒有變成我的真正專長。為了鼓勵和指導我的兒女和孫子女們重視學習英文,來面對雙語時代的挑戰,我自己也持續努力學習英文。
目前我正在研讀 William Zinsser 著作的 《Writing About Your Life》。為了深入地瞭解這本書和英文,我使用科技輔助閱讀和研究。我使用的 App 包括 Google Translate, Yahoo Dictionary, ChatGPT, Grammarly。 我也用 Google Docs 存放學習紀錄。
我研讀 《Writing About Your Life》 的方法是:
1) 坐在電腦前面,啟動上述的 App,打開紙本的原文《Writing About Your Life》 ,
2) 一邊閱讀原文,一邊在 Google Translate 輪入英文,並閱讀它所即時產出的中文翻譯。
3) 遇到生字時,除了猜測其意思,也查閲 Google Translate 的內建英英字典,和 Yahoo 英漢字典,注意其音標和詞類及例句。
4) 每完成一個英文段落,就把英文、中文翻譯、和字典內容存放在 Google Docs。
5) Grammarly 會在以上的操作過程中,不斷地提示可能的整個句子或段落的改寫方式,或單字同反義字的替代用法。
6) 有時候感覺想要進一步深入瞭解某一句英文的語法(syntax)、語意(semantics)、和語用(pragmatics) 時,就和 ChatGPT 對話,來取得支援。
7) 心血來潮時,會將這些經驗發布在我的布落格,或臉書上。
以上是個人學習的經驗分享,同時也是我對於 William Zinsser 所著的另一部書 《Writing to Learn》 的啟發的回響。😍

2025年6月28日 星期六

福音原則第27章單字表

 英文單字        KK 音標              詞根             詞性(中文)     中文翻譯           難度等級

ability         [əˋbɪlətɪ]            ability          名詞             能力               A2

achieve         [əˋtʃiv]              achieve          動詞             達成               B1

assignment      [əˋsaɪnmənt]          assignment       名詞             任務               B1

attitude        [ˋætə͵tjud]           attitude         名詞             態度               B1

benefit         [ˋbɛnəfɪt]            benefit          名詞             好處               B1

contribute      [kənˋtrɪbjut]         contribute       動詞             貢獻               B2

contribution    [͵kɑntrəˋbjuʃən]       contribution     名詞             貢獻               B2

develop         [dɪˋvɛləp]            develop          動詞             發展               A2

diligent        [ˋdɪlədʒənt]          diligent         形容詞           勤奮的             B2

encourage       [ɪnˋkɝɪdʒ]            encourage        動詞             鼓勵               B1

experience      [ɪkˋspɪrɪəns]         experience       名詞             經驗               A2

goal            [gol]                 goal             名詞             目標               A2

gratitude       [ˋgrætə͵tjud]         gratitude        名詞             感激               B2

improve         [ɪmˋpruv]             improve          動詞             改善               A2

independent     [͵ɪndəˋpɛndənt]       independent      形容詞           獨立的             B1

opportunity     [͵ɑpɚˋtjunətɪ]        opportunity      名詞             機會               B1

principle       [ˋprɪnsəp!]           principle        名詞             原則               B2

progress        [ˋprɑgrɛs]            progress         名詞             進步               A2

provide         [prəˋvaɪd]            provide          動詞             提供               A2

responsibility  [rɪ͵spɑnsəˋbɪlətɪ]     responsibility   名詞             責任               B1

self-reliance   [ˋsɛlfrɪˋlaɪəns]       self-reliance    名詞             自力更生           C1

support         [səˋpɔrt]             support          動詞             支持               A2

temporal        [ˋtɛmpərəl]           temporal         形容詞           世俗的;短暫的     C1

value           [ˋvælju]              value            名詞             價值               B1

willingness     [ˋwɪlɪŋnɪs]           willingness      名詞             願意               B2

worthy          [ˋwɝðɪ]               worthy           形容詞           值得的;配稱的     B2


2025年6月20日 星期五

福音原則第26章單字表

英文單字        KK 音標             詞根           詞性(中文)     中文翻譯           難度等級

acceptable      [əkˋsɛptəb!]         acceptable      形容詞           蒙……接納的         B2

atonement       [əˋtonmənt]          atonement       名詞             贖罪               C1

burden          [ˋbɝdn]              burden          名詞             負擔               B2

commanded       [kəˋmændɪd]          command         動詞             命令               A2

commandment     [kəˋmændmənt]        commandment     名詞             誡命               B2

consecrate      [ˋkɑnsə͵kret]        consecrate      動詞             奉獻、聖化         C1

contrite        [ˋkɑntraɪt]          contrite        形容詞           痛悔的             C1

covenant        [ˋkʌvənənt]          covenant        名詞             聖約               B2

dedicate        [ˋdɛdə͵ket]          dedicate        動詞             奉獻               B2

disciples       [dɪˋsaɪp!z]          disciple        名詞             門徒               B2

donate          [ˋdonet]             donate          動詞             捐獻               B1

inherit         [ɪnˋhɛrɪt]           inherit         動詞             承受               B2

manifest        [ˋmænə͵fɛst]         manifest        動詞             顯明               C1

offering        [ˋɔfərɪŋ]            offering        名詞             祭品;奉獻         B2

ordinance       [ˋɔrdnəns]           ordinance       名詞             教儀               C1

possessions     [pəˋzɛʃənz]          possession      名詞             財物               B1

resurrection    [͵rɛzəˋrɛkʃən]        resurrection    名詞             復活               C1

reveal          [rɪˋvil]             reveal          動詞             顯示;啟示         B2

sacrifice       [ˋsækrə͵faɪs]         sacrifice       名詞/動詞        犧牲               B1

salvation       [sælˋveʃən]          salvation       名詞             救恩               B2

testament       [ˋtɛstəmənt]         testament       名詞             聖約;遺囑         B2

willingness     [ˋwɪlɪŋnɪs]          willingness     名詞             願意               B2