chore(i18n,curriculum): update translations (#42608)

This commit is contained in:
camperbot
2021-06-23 21:35:24 +05:30
committed by GitHub
parent cf78d4e476
commit 6d3a801bd6
34 changed files with 144 additions and 144 deletions

View File

@ -1,6 +1,6 @@
--- ---
id: 5e7b9f060b6c005b0e76f05b id: 5e7b9f060b6c005b0e76f05b
title: Build your own Functions title: 編寫你自己的函數
challengeType: 11 challengeType: 11
videoId: nLDychdBwUg videoId: nLDychdBwUg
dashedName: build-your-own-functions dashedName: build-your-own-functions
@ -8,15 +8,15 @@ dashedName: build-your-own-functions
# --description-- # --description--
More resources: 更多資源
\- [Exercise](https://www.youtube.com/watch?v=ksvGhDsjtpw) \- [練習](https://www.youtube.com/watch?v=ksvGhDsjtpw)
# --question-- # --question--
## --text-- ## --text--
What will the following Python program print out?: 下面這個 Python 程序會打印什麼?:
```python ```python
def fred(): def fred():

View File

@ -1,6 +1,6 @@
--- ---
id: 5e7b9f0b0b6c005b0e76f06d id: 5e7b9f0b0b6c005b0e76f06d
title: Comparing and Sorting Tuples title: Tuples 的比較和排序
challengeType: 11 challengeType: 11
videoId: dZXzBXUxxCs videoId: dZXzBXUxxCs
dashedName: comparing-and-sorting-tuples dashedName: comparing-and-sorting-tuples
@ -8,15 +8,15 @@ dashedName: comparing-and-sorting-tuples
# --description-- # --description--
More resources: 更多資源:
\- [Exercise](https://www.youtube.com/watch?v=EhQxwzyT16E) \- [練習](https://www.youtube.com/watch?v=EhQxwzyT16E)
# --question-- # --question--
## --text-- ## --text--
Which does the same thing as the following code?: 哪個代碼與示例代碼完成相同的功能?
```python ```python
lst = [] lst = []

View File

@ -1,6 +1,6 @@
--- ---
id: 5e7b9f050b6c005b0e76f058 id: 5e7b9f050b6c005b0e76f058
title: Conditional Execution title: 根據條件執行
challengeType: 11 challengeType: 11
videoId: gz_IfIsZQtc videoId: gz_IfIsZQtc
dashedName: conditional-execution dashedName: conditional-execution
@ -10,7 +10,7 @@ dashedName: conditional-execution
## --text-- ## --text--
Which code is indented correctly to print "Yes" if x = 0 and y = 10? 以下哪個代碼縮進能夠滿足當“x=0”和“y=10”的時打印 "Yes"
## --answers-- ## --answers--

View File

@ -1,6 +1,6 @@
--- ---
id: 5e7b9f6a0b6c005b0e76f097 id: 5e7b9f6a0b6c005b0e76f097
title: 'Data Visualization: Mailing Lists' title: '數據可視化:郵件列表'
challengeType: 11 challengeType: 11
videoId: RYdW660KkaQ videoId: RYdW660KkaQ
dashedName: data-visualization-mailing-lists dashedName: data-visualization-mailing-lists
@ -8,27 +8,27 @@ dashedName: data-visualization-mailing-lists
# --description-- # --description--
More resources: 更多資源:
\- [Exercise: Geodata](https://www.youtube.com/watch?v=KfhslNzopxo) \- [練習:Geodata](https://www.youtube.com/watch?v=KfhslNzopxo)
\- [Exercise: Gmane Model](https://www.youtube.com/watch?v=wSpl1-7afAk) \- [練習:Gmane 模型](https://www.youtube.com/watch?v=wSpl1-7afAk)
\- [Exercise: Gmane Spider](https://www.youtube.com/watch?v=H3w4lOFBUOI) \- [練習:Gmane Spider](https://www.youtube.com/watch?v=H3w4lOFBUOI)
\- [Exercise: Gmane Viz](https://www.youtube.com/watch?v=LRqVPMEXByw) \- [練習:Gmane Viz](https://www.youtube.com/watch?v=LRqVPMEXByw)
\- [Exercise: Page Rank](https://www.youtube.com/watch?v=yFRAZBkBDBs) \- [練習:Page Rank](https://www.youtube.com/watch?v=yFRAZBkBDBs)
\- [Exercise: Page Spider](https://www.youtube.com/watch?v=sXedPQ_AnWA) \- [練習:Page Spider](https://www.youtube.com/watch?v=sXedPQ_AnWA)
\- [Exercise: Page Viz](https://www.youtube.com/watch?v=Fm0hpkxsZoo) \- [練習: Page Viz](https://www.youtube.com/watch?v=Fm0hpkxsZoo)
# --question-- # --question--
## --text-- ## --text--
Which is a common JavaScript visualization library? 哪個是常見的 JavaScript 可視化庫?
## --answers-- ## --answers--

View File

@ -1,6 +1,6 @@
--- ---
id: 5e7b9f6a0b6c005b0e76f096 id: 5e7b9f6a0b6c005b0e76f096
title: 'Data Visualization: Page Rank' title: '數據可視化:頁面排名'
challengeType: 11 challengeType: 11
videoId: 6-w_qIUwaxU videoId: 6-w_qIUwaxU
dashedName: data-visualization-page-rank dashedName: data-visualization-page-rank
@ -10,19 +10,19 @@ dashedName: data-visualization-page-rank
## --text-- ## --text--
How does the PageRank algorithm work? 頁面排名算法是如何工作的?
## --answers-- ## --answers--
It determines which pages are most highly connected. 它決定哪些頁面之間的連接程度最高。
--- ---
It ranks pages based on view counts. 它用瀏覽量來決定排名
--- ---
It figures out which pages contain the most important content. 它能判斷出哪些頁面包含最重要的內容。
## --video-solution-- ## --video-solution--

View File

@ -1,6 +1,6 @@
--- ---
id: 5e7b9f0a0b6c005b0e76f069 id: 5e7b9f0a0b6c005b0e76f069
title: Dictionaries and Loops title: 字典和循環
challengeType: 11 challengeType: 11
videoId: EEmekKiKG70 videoId: EEmekKiKG70
dashedName: dictionaries-and-loops dashedName: dictionaries-and-loops
@ -8,15 +8,15 @@ dashedName: dictionaries-and-loops
# --description-- # --description--
More resources: 更多資源:
\- [Exercise](https://www.youtube.com/watch?v=PrhZ9qwBDD8) \- [練習](https://www.youtube.com/watch?v=PrhZ9qwBDD8)
# --question-- # --question--
## --text-- ## --text--
What will the following code print?: 以下代碼將打印什麼?
```python ```python
counts = { 'chuck' : 1 , 'annie' : 42, 'jan': 100} counts = { 'chuck' : 1 , 'annie' : 42, 'jan': 100}
@ -42,7 +42,7 @@ jan 100</pre>
--- ---
<pre>[Error]</pre> <pre>[Error](錯誤)</pre>
## --video-solution-- ## --video-solution--

View File

@ -1,6 +1,6 @@
--- ---
id: 5e7b9f070b6c005b0e76f061 id: 5e7b9f070b6c005b0e76f061
title: Intermediate Strings title: 中間字符串
challengeType: 11 challengeType: 11
videoId: KgT_fYLXnyk videoId: KgT_fYLXnyk
dashedName: intermediate-strings dashedName: intermediate-strings
@ -8,15 +8,15 @@ dashedName: intermediate-strings
# --description-- # --description--
More resources: 更多資料:
\- [Exercise](https://www.youtube.com/watch?v=1bSqHot-KwE) [練習](https://www.youtube.com/watch?v=1bSqHot-KwE)
# --question-- # --question--
## --text-- ## --text--
What is the value of i in the following code? 下面的代碼中 i 的值是什麼?
```python ```python
word = "bananana" word = "bananana"
@ -37,7 +37,7 @@ nanana
--- ---
True True(真)
--- ---

View File

@ -1,6 +1,6 @@
--- ---
id: 5e6a54c358d3af90110a60a3 id: 5e6a54c358d3af90110a60a3
title: 'Introduction: Elements of Python' title: '導言:Python 的元素'
challengeType: 11 challengeType: 11
videoId: aRY_xjL35v0 videoId: aRY_xjL35v0
dashedName: introduction-elements-of-python dashedName: introduction-elements-of-python
@ -10,7 +10,7 @@ dashedName: introduction-elements-of-python
## --text-- ## --text--
What will the following program print out: 以下代碼將打印出什麼?
```python ```python
x = 43 x = 43

View File

@ -1,6 +1,6 @@
--- ---
id: 5e6a54af58d3af90110a60a1 id: 5e6a54af58d3af90110a60a1
title: 'Introduction: Hardware Architecture' title: '導言:硬件架構'
challengeType: 11 challengeType: 11
videoId: H6qtjRTfSog videoId: H6qtjRTfSog
dashedName: introduction-hardware-architecture dashedName: introduction-hardware-architecture
@ -10,19 +10,19 @@ dashedName: introduction-hardware-architecture
## --text-- ## --text--
Where are your programs stored when they are running? 當你的程序運作時,它被存儲在哪裏?
## --answers-- ## --answers--
Hard Drive. 硬盤。
--- ---
Memory. 內存。
--- ---
Central Processing Unit. 中央處理器。
## --video-solution-- ## --video-solution--

View File

@ -1,6 +1,6 @@
--- ---
id: 5e6a54ba58d3af90110a60a2 id: 5e6a54ba58d3af90110a60a2
title: 'Introduction: Python as a Language' title: '導言Python 這門編程語言'
challengeType: 11 challengeType: 11
videoId: 0QeGbZNS_bY videoId: 0QeGbZNS_bY
dashedName: introduction-python-as-a-language dashedName: introduction-python-as-a-language
@ -10,7 +10,7 @@ dashedName: introduction-python-as-a-language
## --text-- ## --text--
What will print out after running these two lines of code: 運行這兩行代碼後打印出什麼樣的內容:
```python ```python
x = 6 x = 6

View File

@ -1,6 +1,6 @@
--- ---
id: 5e6a54a558d3af90110a60a0 id: 5e6a54a558d3af90110a60a0
title: 'Introduction: Why Program?' title: '導言:爲何編程?'
challengeType: 11 challengeType: 11
videoId: 3muQV-Im3Z0 videoId: 3muQV-Im3Z0
dashedName: introduction-why-program dashedName: introduction-why-program
@ -8,29 +8,29 @@ dashedName: introduction-why-program
# --description-- # --description--
More resources: 更多資源:
\- [Install Python on Windows](https://youtu.be/F7mtLrYzZP8) \- [Windows 系統安裝 Python](https://youtu.be/F7mtLrYzZP8)
\- [Install Python on MacOS](https://youtu.be/wfLnZP-4sZw) \- [MacOS 系統安裝 Python](https://youtu.be/wfLnZP-4sZw)
# --question-- # --question--
## --text-- ## --text--
Who should learn to program? 誰應該學習編程?
## --answers-- ## --answers--
College students. 大學生。
--- ---
People who want to become software developers. 想成爲軟件開發者的人。
--- ---
Everyone. 所有人。
## --video-solution-- ## --video-solution--

View File

@ -1,6 +1,6 @@
--- ---
id: 5e7b9f070b6c005b0e76f05d id: 5e7b9f070b6c005b0e76f05d
title: 'Iterations: Definite Loops' title: '迭代:定義循環'
challengeType: 11 challengeType: 11
videoId: hiRTRAqNlpE videoId: hiRTRAqNlpE
dashedName: iterations-definite-loops dashedName: iterations-definite-loops
@ -10,7 +10,7 @@ dashedName: iterations-definite-loops
## --text-- ## --text--
How many lines will the following code print?: 以下代碼將打印多少行?
```python ```python
for i in [2,1,5]: for i in [2,1,5]:

View File

@ -1,6 +1,6 @@
--- ---
id: 5e7b9f070b6c005b0e76f05e id: 5e7b9f070b6c005b0e76f05e
title: 'Iterations: Loop Idioms' title: '迭代:循環成語'
challengeType: 11 challengeType: 11
videoId: AelGAcoMXbI videoId: AelGAcoMXbI
dashedName: iterations-loop-idioms dashedName: iterations-loop-idioms
@ -10,7 +10,7 @@ dashedName: iterations-loop-idioms
## --text-- ## --text--
Below is code to find the smallest value from a list of values. One line has an error that will cause the code to not work as expected. Which line is it?: 以下是一個如何在一串數值中找到最小的數值的代碼。 一行代碼有錯誤,導致整個代碼無法和預期一樣的運行。 那麼是哪一行?
```python ```python
smallest = None smallest = None

View File

@ -1,6 +1,6 @@
--- ---
id: 5e7b9f070b6c005b0e76f05f id: 5e7b9f070b6c005b0e76f05f
title: 'Iterations: More Patterns' title: '迭代:更多模式'
challengeType: 11 challengeType: 11
videoId: 9Wtqo6vha1M videoId: 9Wtqo6vha1M
dashedName: iterations-more-patterns dashedName: iterations-more-patterns
@ -8,15 +8,15 @@ dashedName: iterations-more-patterns
# --description-- # --description--
More resources: 更多資源:
\- [Exercise](https://www.youtube.com/watch?v=kjxXZQw0uPg) \- [練習](https://www.youtube.com/watch?v=kjxXZQw0uPg)
# --question-- # --question--
## --text-- ## --text--
Which of these evaluates to False? 其中哪一個評估爲 False(假)?
## --answers-- ## --answers--

View File

@ -1,6 +1,6 @@
--- ---
id: 5e7b9f060b6c005b0e76f05c id: 5e7b9f060b6c005b0e76f05c
title: Loops and Iterations title: 循環和迭代
challengeType: 11 challengeType: 11
videoId: dLA-szNRnUY videoId: dLA-szNRnUY
dashedName: loops-and-iterations dashedName: loops-and-iterations
@ -10,7 +10,7 @@ dashedName: loops-and-iterations
## --text-- ## --text--
What will the following code print out?: 這些代碼會打印出什麼?
```python ```python
n = 0 n = 0

View File

@ -1,6 +1,6 @@
--- ---
id: 5e7b9f170b6c005b0e76f08b id: 5e7b9f170b6c005b0e76f08b
title: Make a Relational Database title: 建立關係數據庫
challengeType: 11 challengeType: 11
videoId: MQ5z4bdF92U videoId: MQ5z4bdF92U
dashedName: make-a-relational-database dashedName: make-a-relational-database
@ -10,7 +10,7 @@ dashedName: make-a-relational-database
## --text-- ## --text--
What SQL command would you use to retrieve all users that have the email address `quincy@freecodecamp.org`? 您將使用什麼 SQL 命令來檢索具有電子郵件地址 `quincy@freecodecamp.org` 的所有用戶?
## --answers-- ## --answers--

View File

@ -1,6 +1,6 @@
--- ---
id: 5e7b9f060b6c005b0e76f059 id: 5e7b9f060b6c005b0e76f059
title: More Conditional Structures title: 更多條件結構
challengeType: 11 challengeType: 11
videoId: HdL82tAZR20 videoId: HdL82tAZR20
dashedName: more-conditional-structures dashedName: more-conditional-structures
@ -8,17 +8,17 @@ dashedName: more-conditional-structures
# --description-- # --description--
More resources: 更多資源:
\- [Exercise 1](https://www.youtube.com/watch?v=crLerB4ZxMI) \- [練習 1](https://www.youtube.com/watch?v=crLerB4ZxMI)
\- [Exercise 2](https://www.youtube.com/watch?v=KJN3-7HH6yk) \- [練習 2](https://www.youtube.com/watch?v=KJN3-7HH6yk)
# --question-- # --question--
## --text-- ## --text--
Given the following code: 給出以下代碼:
```python ```python
temp = "5 degrees" temp = "5 degrees"
@ -28,7 +28,7 @@ cel = (fahr - 32.0) * 5.0 / 9.0
print(cel) print(cel)
``` ```
Which line/lines should be surrounded by `try` block? 哪一行/幾行應該被 `try` 塊包圍?
## --answers-- ## --answers--
@ -40,7 +40,7 @@ Which line/lines should be surrounded by `try` block?
--- ---
3,4 34
--- ---
@ -48,7 +48,7 @@ Which line/lines should be surrounded by `try` block?
--- ---
None
## --video-solution-- ## --video-solution--

View File

@ -1,6 +1,6 @@
--- ---
id: 5e7b9f060b6c005b0e76f05b id: 5e7b9f060b6c005b0e76f05b
title: Build your own Functions title: 编写你自己的函数
challengeType: 11 challengeType: 11
videoId: nLDychdBwUg videoId: nLDychdBwUg
dashedName: build-your-own-functions dashedName: build-your-own-functions
@ -8,15 +8,15 @@ dashedName: build-your-own-functions
# --description-- # --description--
More resources: 更多资源
\- [Exercise](https://www.youtube.com/watch?v=ksvGhDsjtpw) \- [练习](https://www.youtube.com/watch?v=ksvGhDsjtpw)
# --question-- # --question--
## --text-- ## --text--
What will the following Python program print out?: 下面这个 Python 程序会打印什么?:
```python ```python
def fred(): def fred():

View File

@ -1,6 +1,6 @@
--- ---
id: 5e7b9f0b0b6c005b0e76f06d id: 5e7b9f0b0b6c005b0e76f06d
title: Comparing and Sorting Tuples title: Tuples 的比较和排序
challengeType: 11 challengeType: 11
videoId: dZXzBXUxxCs videoId: dZXzBXUxxCs
dashedName: comparing-and-sorting-tuples dashedName: comparing-and-sorting-tuples
@ -8,15 +8,15 @@ dashedName: comparing-and-sorting-tuples
# --description-- # --description--
More resources: 更多资源:
\- [Exercise](https://www.youtube.com/watch?v=EhQxwzyT16E) \- [练习](https://www.youtube.com/watch?v=EhQxwzyT16E)
# --question-- # --question--
## --text-- ## --text--
Which does the same thing as the following code?: 哪个代码与示例代码完成相同的功能?
```python ```python
lst = [] lst = []

View File

@ -1,6 +1,6 @@
--- ---
id: 5e7b9f050b6c005b0e76f058 id: 5e7b9f050b6c005b0e76f058
title: Conditional Execution title: 根据条件执行
challengeType: 11 challengeType: 11
videoId: gz_IfIsZQtc videoId: gz_IfIsZQtc
dashedName: conditional-execution dashedName: conditional-execution
@ -10,7 +10,7 @@ dashedName: conditional-execution
## --text-- ## --text--
Which code is indented correctly to print "Yes" if x = 0 and y = 10? 以下哪个代码缩进能够满足当“x=0”和“y=10”的时打印 "Yes"
## --answers-- ## --answers--

View File

@ -1,6 +1,6 @@
--- ---
id: 5e7b9f6a0b6c005b0e76f097 id: 5e7b9f6a0b6c005b0e76f097
title: 'Data Visualization: Mailing Lists' title: '数据可视化:邮件列表'
challengeType: 11 challengeType: 11
videoId: RYdW660KkaQ videoId: RYdW660KkaQ
dashedName: data-visualization-mailing-lists dashedName: data-visualization-mailing-lists
@ -8,27 +8,27 @@ dashedName: data-visualization-mailing-lists
# --description-- # --description--
More resources: 更多资源:
\- [Exercise: Geodata](https://www.youtube.com/watch?v=KfhslNzopxo) \- [练习:Geodata](https://www.youtube.com/watch?v=KfhslNzopxo)
\- [Exercise: Gmane Model](https://www.youtube.com/watch?v=wSpl1-7afAk) \- [练习:Gmane 模型](https://www.youtube.com/watch?v=wSpl1-7afAk)
\- [Exercise: Gmane Spider](https://www.youtube.com/watch?v=H3w4lOFBUOI) \- [练习:Gmane Spider](https://www.youtube.com/watch?v=H3w4lOFBUOI)
\- [Exercise: Gmane Viz](https://www.youtube.com/watch?v=LRqVPMEXByw) \- [练习:Gmane Viz](https://www.youtube.com/watch?v=LRqVPMEXByw)
\- [Exercise: Page Rank](https://www.youtube.com/watch?v=yFRAZBkBDBs) \- [练习:Page Rank](https://www.youtube.com/watch?v=yFRAZBkBDBs)
\- [Exercise: Page Spider](https://www.youtube.com/watch?v=sXedPQ_AnWA) \- [练习:Page Spider](https://www.youtube.com/watch?v=sXedPQ_AnWA)
\- [Exercise: Page Viz](https://www.youtube.com/watch?v=Fm0hpkxsZoo) \- [练习: Page Viz](https://www.youtube.com/watch?v=Fm0hpkxsZoo)
# --question-- # --question--
## --text-- ## --text--
Which is a common JavaScript visualization library? 哪个是常见的 JavaScript 可视化库?
## --answers-- ## --answers--

View File

@ -1,6 +1,6 @@
--- ---
id: 5e7b9f6a0b6c005b0e76f096 id: 5e7b9f6a0b6c005b0e76f096
title: 'Data Visualization: Page Rank' title: '数据可视化:页面排名'
challengeType: 11 challengeType: 11
videoId: 6-w_qIUwaxU videoId: 6-w_qIUwaxU
dashedName: data-visualization-page-rank dashedName: data-visualization-page-rank
@ -10,19 +10,19 @@ dashedName: data-visualization-page-rank
## --text-- ## --text--
How does the PageRank algorithm work? 页面排名算法是如何工作的?
## --answers-- ## --answers--
It determines which pages are most highly connected. 它决定哪些页面之间的连接程度最高。
--- ---
It ranks pages based on view counts. 它用浏览量来决定排名
--- ---
It figures out which pages contain the most important content. 它能判断出哪些页面包含最重要的内容。
## --video-solution-- ## --video-solution--

View File

@ -1,6 +1,6 @@
--- ---
id: 5e7b9f0a0b6c005b0e76f069 id: 5e7b9f0a0b6c005b0e76f069
title: Dictionaries and Loops title: 字典和循环
challengeType: 11 challengeType: 11
videoId: EEmekKiKG70 videoId: EEmekKiKG70
dashedName: dictionaries-and-loops dashedName: dictionaries-and-loops
@ -8,15 +8,15 @@ dashedName: dictionaries-and-loops
# --description-- # --description--
More resources: 更多资源:
\- [Exercise](https://www.youtube.com/watch?v=PrhZ9qwBDD8) \- [练习](https://www.youtube.com/watch?v=PrhZ9qwBDD8)
# --question-- # --question--
## --text-- ## --text--
What will the following code print?: 以下代码将打印什么?
```python ```python
counts = { 'chuck' : 1 , 'annie' : 42, 'jan': 100} counts = { 'chuck' : 1 , 'annie' : 42, 'jan': 100}
@ -42,7 +42,7 @@ jan 100</pre>
--- ---
<pre>[Error]</pre> <pre>[Error](错误)</pre>
## --video-solution-- ## --video-solution--

View File

@ -1,6 +1,6 @@
--- ---
id: 5e7b9f070b6c005b0e76f061 id: 5e7b9f070b6c005b0e76f061
title: Intermediate Strings title: 中间字符串
challengeType: 11 challengeType: 11
videoId: KgT_fYLXnyk videoId: KgT_fYLXnyk
dashedName: intermediate-strings dashedName: intermediate-strings
@ -8,15 +8,15 @@ dashedName: intermediate-strings
# --description-- # --description--
More resources: 更多资料:
\- [Exercise](https://www.youtube.com/watch?v=1bSqHot-KwE) [练习](https://www.youtube.com/watch?v=1bSqHot-KwE)
# --question-- # --question--
## --text-- ## --text--
What is the value of i in the following code? 下面的代码中 i 的值是什么?
```python ```python
word = "bananana" word = "bananana"
@ -37,7 +37,7 @@ nanana
--- ---
True True(真)
--- ---

View File

@ -1,6 +1,6 @@
--- ---
id: 5e6a54c358d3af90110a60a3 id: 5e6a54c358d3af90110a60a3
title: 'Introduction: Elements of Python' title: '导言:Python 的元素'
challengeType: 11 challengeType: 11
videoId: aRY_xjL35v0 videoId: aRY_xjL35v0
dashedName: introduction-elements-of-python dashedName: introduction-elements-of-python
@ -10,7 +10,7 @@ dashedName: introduction-elements-of-python
## --text-- ## --text--
What will the following program print out: 以下代码将打印出什么?
```python ```python
x = 43 x = 43

View File

@ -1,6 +1,6 @@
--- ---
id: 5e6a54af58d3af90110a60a1 id: 5e6a54af58d3af90110a60a1
title: 'Introduction: Hardware Architecture' title: '导言:硬件架构'
challengeType: 11 challengeType: 11
videoId: H6qtjRTfSog videoId: H6qtjRTfSog
dashedName: introduction-hardware-architecture dashedName: introduction-hardware-architecture
@ -10,19 +10,19 @@ dashedName: introduction-hardware-architecture
## --text-- ## --text--
Where are your programs stored when they are running? 当你的程序运作时,它被存储在哪里?
## --answers-- ## --answers--
Hard Drive. 硬盘。
--- ---
Memory. 内存。
--- ---
Central Processing Unit. 中央处理器。
## --video-solution-- ## --video-solution--

View File

@ -1,6 +1,6 @@
--- ---
id: 5e6a54ba58d3af90110a60a2 id: 5e6a54ba58d3af90110a60a2
title: 'Introduction: Python as a Language' title: '导言Python 这门编程语言'
challengeType: 11 challengeType: 11
videoId: 0QeGbZNS_bY videoId: 0QeGbZNS_bY
dashedName: introduction-python-as-a-language dashedName: introduction-python-as-a-language
@ -10,7 +10,7 @@ dashedName: introduction-python-as-a-language
## --text-- ## --text--
What will print out after running these two lines of code: 运行这两行代码后打印出什么样的内容:
```python ```python
x = 6 x = 6

View File

@ -1,6 +1,6 @@
--- ---
id: 5e6a54a558d3af90110a60a0 id: 5e6a54a558d3af90110a60a0
title: 'Introduction: Why Program?' title: '导言:为何编程?'
challengeType: 11 challengeType: 11
videoId: 3muQV-Im3Z0 videoId: 3muQV-Im3Z0
dashedName: introduction-why-program dashedName: introduction-why-program
@ -8,29 +8,29 @@ dashedName: introduction-why-program
# --description-- # --description--
More resources: 更多资源:
\- [Install Python on Windows](https://youtu.be/F7mtLrYzZP8) \- [Windows 系统安装 Python](https://youtu.be/F7mtLrYzZP8)
\- [Install Python on MacOS](https://youtu.be/wfLnZP-4sZw) \- [MacOS 系统安装 Python](https://youtu.be/wfLnZP-4sZw)
# --question-- # --question--
## --text-- ## --text--
Who should learn to program? 谁应该学习编程?
## --answers-- ## --answers--
College students. 大学生。
--- ---
People who want to become software developers. 想成为软件开发者的人。
--- ---
Everyone. 所有人。
## --video-solution-- ## --video-solution--

View File

@ -1,6 +1,6 @@
--- ---
id: 5e7b9f070b6c005b0e76f05d id: 5e7b9f070b6c005b0e76f05d
title: 'Iterations: Definite Loops' title: '迭代:定义循环'
challengeType: 11 challengeType: 11
videoId: hiRTRAqNlpE videoId: hiRTRAqNlpE
dashedName: iterations-definite-loops dashedName: iterations-definite-loops
@ -10,7 +10,7 @@ dashedName: iterations-definite-loops
## --text-- ## --text--
How many lines will the following code print?: 以下代码将打印多少行?
```python ```python
for i in [2,1,5]: for i in [2,1,5]:

View File

@ -1,6 +1,6 @@
--- ---
id: 5e7b9f070b6c005b0e76f05e id: 5e7b9f070b6c005b0e76f05e
title: 'Iterations: Loop Idioms' title: '迭代:循环成语'
challengeType: 11 challengeType: 11
videoId: AelGAcoMXbI videoId: AelGAcoMXbI
dashedName: iterations-loop-idioms dashedName: iterations-loop-idioms
@ -10,7 +10,7 @@ dashedName: iterations-loop-idioms
## --text-- ## --text--
Below is code to find the smallest value from a list of values. One line has an error that will cause the code to not work as expected. Which line is it?: 以下是一个如何在一串数值中找到最小的数值的代码。 一行代码有错误,导致整个代码无法和预期一样的运行。 那么是哪一行?
```python ```python
smallest = None smallest = None

View File

@ -1,6 +1,6 @@
--- ---
id: 5e7b9f070b6c005b0e76f05f id: 5e7b9f070b6c005b0e76f05f
title: 'Iterations: More Patterns' title: '迭代:更多模式'
challengeType: 11 challengeType: 11
videoId: 9Wtqo6vha1M videoId: 9Wtqo6vha1M
dashedName: iterations-more-patterns dashedName: iterations-more-patterns
@ -8,15 +8,15 @@ dashedName: iterations-more-patterns
# --description-- # --description--
More resources: 更多资源:
\- [Exercise](https://www.youtube.com/watch?v=kjxXZQw0uPg) \- [练习](https://www.youtube.com/watch?v=kjxXZQw0uPg)
# --question-- # --question--
## --text-- ## --text--
Which of these evaluates to False? 其中哪一个评估为 False(假)?
## --answers-- ## --answers--

View File

@ -1,6 +1,6 @@
--- ---
id: 5e7b9f060b6c005b0e76f05c id: 5e7b9f060b6c005b0e76f05c
title: Loops and Iterations title: 循环和迭代
challengeType: 11 challengeType: 11
videoId: dLA-szNRnUY videoId: dLA-szNRnUY
dashedName: loops-and-iterations dashedName: loops-and-iterations
@ -10,7 +10,7 @@ dashedName: loops-and-iterations
## --text-- ## --text--
What will the following code print out?: 这些代码会打印出什么?
```python ```python
n = 0 n = 0

View File

@ -1,6 +1,6 @@
--- ---
id: 5e7b9f170b6c005b0e76f08b id: 5e7b9f170b6c005b0e76f08b
title: Make a Relational Database title: 建立关系数据库
challengeType: 11 challengeType: 11
videoId: MQ5z4bdF92U videoId: MQ5z4bdF92U
dashedName: make-a-relational-database dashedName: make-a-relational-database
@ -10,7 +10,7 @@ dashedName: make-a-relational-database
## --text-- ## --text--
What SQL command would you use to retrieve all users that have the email address `quincy@freecodecamp.org`? 您将使用什么 SQL 命令来检索具有电子邮件地址 `quincy@freecodecamp.org` 的所有用户?
## --answers-- ## --answers--

View File

@ -1,6 +1,6 @@
--- ---
id: 5e7b9f060b6c005b0e76f059 id: 5e7b9f060b6c005b0e76f059
title: More Conditional Structures title: 更多条件结构
challengeType: 11 challengeType: 11
videoId: HdL82tAZR20 videoId: HdL82tAZR20
dashedName: more-conditional-structures dashedName: more-conditional-structures
@ -8,17 +8,17 @@ dashedName: more-conditional-structures
# --description-- # --description--
More resources: 更多资源:
\- [Exercise 1](https://www.youtube.com/watch?v=crLerB4ZxMI) \- [练习 1](https://www.youtube.com/watch?v=crLerB4ZxMI)
\- [Exercise 2](https://www.youtube.com/watch?v=KJN3-7HH6yk) \- [练习 2](https://www.youtube.com/watch?v=KJN3-7HH6yk)
# --question-- # --question--
## --text-- ## --text--
Given the following code: 给出以下代码:
```python ```python
temp = "5 degrees" temp = "5 degrees"
@ -28,7 +28,7 @@ cel = (fahr - 32.0) * 5.0 / 9.0
print(cel) print(cel)
``` ```
Which line/lines should be surrounded by `try` block? 哪一行/几行应该被 `try` 块包围?
## --answers-- ## --answers--
@ -40,7 +40,7 @@ Which line/lines should be surrounded by `try` block?
--- ---
3,4 34
--- ---
@ -48,7 +48,7 @@ Which line/lines should be surrounded by `try` block?
--- ---
None
## --video-solution-- ## --video-solution--