chore(i18n,curriculum): processed translations (#42721)

This commit is contained in:
camperbot
2021-07-02 18:45:29 +05:30
committed by GitHub
parent 4be8a6f224
commit 84044e9cc2
70 changed files with 431 additions and 421 deletions

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f080b6c005b0e76f063
title: Files as a Sequence
title: 文件作爲序列
challengeType: 11
videoId: cIA0EokbaHE
dashedName: files-as-a-sequence
@ -8,31 +8,31 @@ dashedName: files-as-a-sequence
# --description--
More resources:
更多資源:
\- [Exercise](https://www.youtube.com/watch?v=il1j4wkte2E)
\- [練習](https://www.youtube.com/watch?v=il1j4wkte2E)
# --question--
## --text--
What does the word 'continue' do in the middle of a loop?
“continue”這個詞在循環中間起到什麼作用
## --answers--
Skips to the code directly after the loop.
循環後直接跳轉到代碼。
---
Skips to the next line in the code.
跳到代碼的下一行。
---
Skips to the next iteration of the loop.
跳到循環的下一個迭代。
---
Skips the next block of code.
跳過下一個代碼塊。
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f050b6c005b0e76f057
title: Intermediate Expressions
title: 中間表達式
challengeType: 11
videoId: dKgUaIa5ATg
dashedName: intermediate-expressions
@ -8,17 +8,17 @@ dashedName: intermediate-expressions
# --description--
More resources:
更多資源:
\- [Exercise 1](https://youtu.be/t_4DPwsaGDY)
\- [練習 1](https://youtu.be/t_4DPwsaGDY)
\- [Exercise 2](https://youtu.be/wgkC8SxraAQ)
\- [練習 2](https://youtu.be/wgkC8SxraAQ)
# --question--
## --text--
What will print out after running this code:
這些代碼運作之後會打印出什麼:
```python
width = 15

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f0d0b6c005b0e76f075
title: 'Networking: Using urllib in Python'
title: '網絡:在 Python 中使用 urllib'
challengeType: 11
videoId: 7lFM1T_CxBs
dashedName: networking-using-urllib-in-python
@ -10,7 +10,7 @@ dashedName: networking-using-urllib-in-python
## --text--
What will the output of the following code be like?:
以下代碼的輸出將是什麼樣的?
```python
import urllib.request
@ -21,15 +21,15 @@ for line in fhand:
## --answers--
Just contents of "romeo.txt".
只有 “romeo.txt” 的內容。
---
A header and the contents of "romeo.txt".
“romeo.txt” 的 header 和內容。
---
A header, a footer, and the contents of "romeo.txt".
“romeo.txt” 的 headerfooter 和內容。
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f0d0b6c005b0e76f076
title: 'Networking: Web Scraping with Python'
title: '網絡:使用 Python 進行 Web 爬取'
challengeType: 11
videoId: Uyioq2q4cEg
dashedName: networking-web-scraping-with-python
@ -8,19 +8,19 @@ dashedName: networking-web-scraping-with-python
# --description--
More resources:
更多資料:
\- [Exercise: socket1](https://www.youtube.com/watch?v=dWLdI143W-g)
\- [練習:socket1](https://www.youtube.com/watch?v=dWLdI143W-g)
\- [Exercise: urllib](https://www.youtube.com/watch?v=8yis2DvbBkI)
\- [練習:urllib](https://www.youtube.com/watch?v=8yis2DvbBkI)
\- [Exercise: urllinks](https://www.youtube.com/watch?v=g9flPDG9nnY)
\- [練習:urllinks](https://www.youtube.com/watch?v=g9flPDG9nnY)
# --question--
## --text--
What Python library is used for parsing HTML documents and extracting data from HTML documents?
哪個 Python 庫是用於解析 HTML 文檔並從中提取數據?
## --answers--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f0c0b6c005b0e76f071
title: Networking with Python
title: Python 聯網
challengeType: 11
videoId: _kJvneKVdNM
dashedName: networking-with-python
@ -10,7 +10,7 @@ dashedName: networking-with-python
## --text--
What Python library gives access to TCP Sockets?
哪個 Python 庫提供對 TCP 套接字的訪問?
## --answers--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f160b6c005b0e76f086
title: 'Objects: A Sample Class'
title: '對象:一個示例類'
challengeType: 11
videoId: FiABKEuaSJ8
dashedName: objects-a-sample-class
@ -10,7 +10,7 @@ dashedName: objects-a-sample-class
## --text--
What will the following program print?:
以下程序將打印什麼?
```python
class PartyAnimal:

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f170b6c005b0e76f088
title: 'Objects: Inheritance'
title: '對象:繼承'
challengeType: 11
videoId: FBL3alYrxRM
dashedName: objects-inheritance
@ -10,23 +10,23 @@ dashedName: objects-inheritance
## --text--
What is inheritance in object-oriented programming?
面向對象編程中的繼承是指什麼?
## --answers--
A new class created when a parent class is extended.
擴展父類時創建的新類。
---
A constructed instance of a class.
類的構造實例。
---
The ability to create a new class by extending an existing class.
通過擴展現有類來創建新類的能力。
---
A method that is called at the moment when a class is being used to construct an object.
在使用類構造對象時調用的方法。
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f090b6c005b0e76f067
title: Python Dictionaries
title: Python 字典
challengeType: 11
videoId: dnzvfimrRMg
dashedName: python-dictionaries
@ -10,7 +10,7 @@ dashedName: python-dictionaries
## --text--
What does dict equal after running this code?:
當這些代碼運行之後dict 等於什麼?
```python
dict = {"Fri": 20, "Thu": 6, "Sat": 1}

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f060b6c005b0e76f05a
title: Python Functions
title: Python 函數
challengeType: 11
videoId: 3JGF-n3tDPU
dashedName: python-functions
@ -10,27 +10,27 @@ dashedName: python-functions
## --text--
What is the purpose of the "def" keyword in Python?
在 Python 中,關鍵詞 “def” 有什麼作用?
## --answers--
It is slang that means "The following code is really cool."
這是一個俚語,代表“這些代碼真的酷斃了”。
---
It indicates the start of a function.
它表示一個函數的開始。
---
It indicates that the following indented section of code is to be stored for later.
它表示以下的縮進代碼段將被儲存起來以後再用。
---
It indicates the start of a function, and the following indented section of code is to be stored for later.
它代表一個函數的開始,然後接下來的代碼會被儲存到以後使用。
---
None of the above.
以上全都不對。
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f080b6c005b0e76f064
title: Python Lists
title: Python 列表
challengeType: 11
videoId: Y0cvfDpYC_c
dashedName: python-lists
@ -10,7 +10,7 @@ dashedName: python-lists
## --text--
What is the value of x after running this code:
在這些代碼運行後x 的值是什麼?
```python
fruit = "banana"

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f160b6c005b0e76f085
title: Python Objects
title: Python 對象
challengeType: 11
videoId: uJxGeTYy0us
dashedName: python-objects
@ -10,23 +10,23 @@ dashedName: python-objects
## --text--
Which is NOT true about objects in Python?
關於 Python 對象的說法,哪一個是不正確的?
## --answers--
Objects get created and used.
對象被創建和使用
---
Objects are bits of code and data.
對象是代碼和數據的一部分
---
Objects hide detail.
對象隱藏細節
---
Objects are one of the five standard data types.
對象是五個標準數據類型之一
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f0b0b6c005b0e76f06f
title: 'Regular Expressions: Matching and Extracting Data'
title: '正則表達式:匹配和提取數據'
challengeType: 11
videoId: LaCZnTbQGkE
dashedName: regular-expressions-matching-and-extracting-data
@ -10,7 +10,7 @@ dashedName: regular-expressions-matching-and-extracting-data
## --text--
What will the following program print?:
該程序會打印出什麼?
```python
import re

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f0b0b6c005b0e76f070
title: 'Regular Expressions: Practical Applications'
title: '正則表達式: 實用應用'
challengeType: 11
videoId: xCjFU9G6x48
dashedName: regular-expressions-practical-applications
@ -10,7 +10,7 @@ dashedName: regular-expressions-practical-applications
## --text--
What will search for a "$" in a regular expression?
在正則表達式中,怎麼搜索一個 “$” 符號?
## --answers--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f0b0b6c005b0e76f06e
title: Regular Expressions
title: 正則表達式
challengeType: 11
videoId: Yud_COr6pZo
dashedName: regular-expressions
@ -10,7 +10,7 @@ dashedName: regular-expressions
## --text--
Which regex matches only a white space character?
哪一個正則表達式匹配只有一個空白字符?
## --answers--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f180b6c005b0e76f08f
title: 'Relational Databases: Join Operation'
title: '關係數據庫:聯接操作'
challengeType: 11
videoId: jvDw3D9GKac
dashedName: relational-databases-join-operation
@ -10,19 +10,19 @@ dashedName: relational-databases-join-operation
## --text--
When using a JOIN clause in an SQL statement, what does ON do?
在 SQL 語句中使用 JOIN 子句時ON 的作用是什麼?
## --answers--
It indicates what tables to perform the JOIN on.
它指示在哪些表上執行 JOIN
---
It specifies the fields to use for the JOIN.
它指定用於 JOIN 的字段。
---
It indicates how the two tables are to be joined.
它指示如何將兩個表連接在一起。
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f190b6c005b0e76f090
title: 'Relational Databases: Many-to-many Relationships'
title: '關係型數據庫:多對多關係'
challengeType: 11
videoId: z-SBYcvEQOc
dashedName: relational-databases-many-to-many-relationships
@ -8,39 +8,39 @@ dashedName: relational-databases-many-to-many-relationships
# --description--
More resources:
更多資料:
\- [Exercise: Email](https://www.youtube.com/watch?v=uQ3Qv1z_Vao)
\- [練習:電子郵件](https://www.youtube.com/watch?v=uQ3Qv1z_Vao)
\- [Exercise: Roster](https://www.youtube.com/watch?v=qEkUEAz8j3o)
\- [練習:名冊](https://www.youtube.com/watch?v=qEkUEAz8j3o)
\- [Exercise: Tracks](https://www.youtube.com/watch?v=I-E7avcPeSE)
\- [練習:曲目](https://www.youtube.com/watch?v=I-E7avcPeSE)
\- [Exercise: Twfriends](https://www.youtube.com/watch?v=RZRAoBFIH6A)
\- [練習:推特好友](https://www.youtube.com/watch?v=RZRAoBFIH6A)
\- [Exercise: Twspider](https://www.youtube.com/watch?v=xBaJddvJL4A)
\- [練習:推特爬蟲](https://www.youtube.com/watch?v=xBaJddvJL4A)
# --question--
## --text--
Which is an example of a many-to-many relationship?
哪個是多對多關係的示例?
## --answers--
teacher to student
老師與學生
---
customer to order
客戶與訂單
---
book to pages
書與內頁
---
city to country
城市與國家
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f180b6c005b0e76f08e
title: 'Relational Databases: Relationship Building'
title: '關係型數據庫:關係的建立'
challengeType: 11
videoId: CSbqczsHVnc
dashedName: relational-databases-relationship-building
@ -10,19 +10,19 @@ dashedName: relational-databases-relationship-building
## --text--
What does the INSERT command do in SQL?
INSERT 命令在 SQL 中的作用是什麼?
## --answers--
It defines a new row by listing the fields we want to include followed by the values we want placed in the new row.
它定義新行,通過列出我們要包括的字段,然後列出要放入新行中的值。
---
It defines a new column by listing the rows we want to include followed by the values we want placed in the new column.
它定義新列,通過列出要包含的行以及要放入新列中的值。
---
It defines a new table by listing the rows and fields we want to include followed by the values that we want placed in the table.
它定義一個新表,通過列出要包括的行和字段以及要放入表中的值。
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f090b6c005b0e76f066
title: Strings and Lists
title: 字符串和列表
challengeType: 11
videoId: lxcFa7ldCi0
dashedName: strings-and-lists
@ -8,15 +8,15 @@ dashedName: strings-and-lists
# --description--
More resources:
更多資源:
\- [Exercise](https://www.youtube.com/watch?v=-9TfJF2dwHI)
\- [練習](https://www.youtube.com/watch?v=-9TfJF2dwHI)
# --question--
## --text--
What does n equal in this code?
在這個代碼中n 等於什麼?
```python
words = 'His e-mail is q-lar@freecodecamp.org'
@ -27,7 +27,7 @@ n = parts[1]
## --answers--
mail
郵件
---

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f070b6c005b0e76f060
title: Strings in Python
title: Python 字符串
challengeType: 11
videoId: LYZj207fKpQ
dashedName: strings-in-python
@ -10,7 +10,7 @@ dashedName: strings-in-python
## --text--
What will the following code print?:
這些代碼會打印出什麼?
```python
for n in "banana":

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f0a0b6c005b0e76f06c
title: The Tuples Collection
title: 元組集合
challengeType: 11
videoId: 3Lxpladfh2k
dashedName: the-tuples-collection
@ -10,7 +10,7 @@ dashedName: the-tuples-collection
## --text--
What will the following code print?:
這些代碼會打印出什麼?
```python
d = dict()

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f0e0b6c005b0e76f07a
title: Using Web Services
title: 使用網絡服務
challengeType: 11
videoId: oNl1OVDPGKE
dashedName: using-web-services
@ -10,27 +10,27 @@ dashedName: using-web-services
## --text--
What are the two most common ways to send data over the internet?
通過互聯網發送數據的兩種最常見的方法是什麼?
## --answers--
JSON and TXT
JSON TXT
---
JSON and XML
JSON XML
---
XML and TXT
XML TXT
---
XML and PHP
XML PHP
---
PHP and TXT
PHP TXT
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f050b6c005b0e76f056
title: 'Variables, Expressions, and Statements'
title: '變量、表達式和語句'
challengeType: 11
videoId: nELR-uyyrok
dashedName: variables-expressions-and-statements
@ -10,7 +10,7 @@ dashedName: variables-expressions-and-statements
## --text--
What is the symbol used in an assignment statement?
賦值語句中使用的符號是什麼?
## --answers--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f150b6c005b0e76f080
title: 'Web Services: API Rate Limiting and Security'
title: 'Web 服務API 速率限制和安全性'
challengeType: 11
videoId: pI-g0lI8ngs
dashedName: web-services-api-rate-limiting-and-security
@ -8,37 +8,37 @@ dashedName: web-services-api-rate-limiting-and-security
# --description--
More resources:
更多資料:
\- [Exercise: GeoJSON](https://www.youtube.com/watch?v=TJGJN0T8tak)
\- [練習:GeoJSON](https://www.youtube.com/watch?v=TJGJN0T8tak)
\- [Exercise: JSON](https://www.youtube.com/watch?v=vTmw5RtfGMY)
\- [練習:JSON](https://www.youtube.com/watch?v=vTmw5RtfGMY)
\- [Exercise: Twitter](https://www.youtube.com/watch?v=2c7YwhvpCro)
\- [練習:Twitter](https://www.youtube.com/watch?v=2c7YwhvpCro)
\- [Exercise: XML](https://www.youtube.com/watch?v=AopYOlDa-vY)
\- [練習:XML](https://www.youtube.com/watch?v=AopYOlDa-vY)
# --question--
## --text--
When making a request from the Twitter API, what information must always be sent with the request?
當 Twitter API 發出請求時,必須始終隨請求一起發送什麼信息?
## --answers--
Twitter username
Twitter 用戶名
---
date range
日期範圍
---
search term
搜索詞
---
key
密鑰
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f150b6c005b0e76f07f
title: 'Web Services: APIs'
title: 'Web 服務:API'
challengeType: 11
videoId: oUNn1psfBJg
dashedName: web-services-apis
@ -10,23 +10,23 @@ dashedName: web-services-apis
## --text--
What does API stand for?
API 的全稱是什麼?
## --answers--
Application Portable Intelligence
應用便攜式智能(Application Portable Intelligence
---
Associate Programming International
國際助理編程(Associate Programming International
---
Application Program Interface
應用程序接口(Application Program Interface
---
Action Portable Interface
動作便攜式接口(Action Portable Interface
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f140b6c005b0e76f07e
title: 'Web Services: Service Oriented Approach'
title: 'Web 服務:面向服務的方法'
challengeType: 11
videoId: muerlsCHExI
dashedName: web-services-service-oriented-approach
@ -10,19 +10,19 @@ dashedName: web-services-service-oriented-approach
## --text--
With a services oriented approach to developing web apps, where is the data located?
用面向服務的方法來開發網絡應用,數據位於何處?
## --answers--
Spread across many computer systems connected via the internet or internal network.
分佈在許多通過互聯網或內部網絡連接的計算機系統上。
---
Within different services on the main web server.
在主 Web 服務器上的不同服務中。
---
On a separate database server.
在單獨的數據庫服務器上。
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f0e0b6c005b0e76f07c
title: 'Web Services: XML Schema'
title: 'Web 服務XML 模式'
challengeType: 11
videoId: yWU9kTxW-nc
dashedName: web-services-xml-schema
@ -10,19 +10,19 @@ dashedName: web-services-xml-schema
## --text--
What is XSD?
什麼是 XSD
## --answers--
The W3C Schema specification for XML.
XML 的 W3C 模式規範。
---
The standard JSON schema from MOZ.
來自 MOZ 的標準 JSON 模式。
---
Extensible Situational Driver
可擴展情境驅動程序
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f0e0b6c005b0e76f07b
title: 'Web Services: XML'
title: 'Web 服務:XML'
challengeType: 11
videoId: _pZ0srbg7So
dashedName: web-services-xml
@ -10,7 +10,7 @@ dashedName: web-services-xml
## --text--
What is wrong with the following XML?:
以下 XML 有什麼問題?
```xml
<person>
@ -23,19 +23,19 @@ What is wrong with the following XML?:
## --answers--
Email tag is missing closing tag.
Email 標籤缺少結束標籤。
---
Spacing will cause XML to be invalid.
間距將導致 XML 無效。
---
Phone tag is missing closing tag.
Phone 標籤缺少結束標籤。
---
Plain text should be encoded using UTF-8.
純文本應使用 UTF-8 編碼。
## --video-solution--