fix(curriculum): standardize fill-in-the-blank format and typos (#39011)
This PR changes the format of earlier fill-in-the-blank questions/answers to the one used in later questions. It also fixes a few typos.
This commit is contained in:
committed by
GitHub
parent
10b0c9ed94
commit
f967b279a7
@ -31,18 +31,34 @@ question:
|
|||||||
```py
|
```py
|
||||||
import csv
|
import csv
|
||||||
|
|
||||||
with open(___, 'r') as fp:
|
with open(__A__, 'r') as fp:
|
||||||
reader = csv.reader(fp, delimiter=___)
|
reader = csv.reader(fp, delimiter=__B__)
|
||||||
next(reader)
|
next(reader)
|
||||||
for index, values in enumerate(reader):
|
for index, values in enumerate(reader):
|
||||||
name, certs_num, months_num = values
|
name, certs_num, months_num = values
|
||||||
print(f"{name} earned {___} certificates in {months_num} months")
|
print(f"{name} earned {__C__} certificates in {months_num} months")
|
||||||
```
|
```
|
||||||
|
|
||||||
answers:
|
answers:
|
||||||
- <code>'certificates.csv', '-', values</code>
|
- |
|
||||||
- <code>'certificates.csv', '$', certs_num</code>
|
A: `'certificates.csv'`
|
||||||
- <code>'certificates', '$', certs_num</code>
|
|
||||||
|
B: `'-'`
|
||||||
|
|
||||||
|
C: `values`
|
||||||
|
- |
|
||||||
|
A: `'certificates.csv'`
|
||||||
|
|
||||||
|
B: `'$'`
|
||||||
|
|
||||||
|
C: `certs_num`
|
||||||
|
- |
|
||||||
|
|
||||||
|
A: `'certificates'`
|
||||||
|
|
||||||
|
B: `'$'`
|
||||||
|
|
||||||
|
C: `certs_num`
|
||||||
solution: 2
|
solution: 2
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -21,17 +21,23 @@ question:
|
|||||||
```py
|
```py
|
||||||
def banner(ip, port):
|
def banner(ip, port):
|
||||||
s = socket.socket()
|
s = socket.socket()
|
||||||
s.____((ip, ____))
|
s.__A__((ip, __B__))
|
||||||
print(s.recv(1024))
|
print(s.recv(1024))
|
||||||
```
|
```
|
||||||
|
|
||||||
answers:
|
answers:
|
||||||
- |
|
- |
|
||||||
`connect`, `port`
|
A: `connect`
|
||||||
|
|
||||||
|
B: `port`
|
||||||
- |
|
- |
|
||||||
`getsockname`, `'1-1024'`
|
A: `getsockname`
|
||||||
|
|
||||||
|
B: `'1-1024'`
|
||||||
- |
|
- |
|
||||||
`connect`, `int(port)`
|
A: `connect`
|
||||||
|
|
||||||
|
B: `int(port)`
|
||||||
solution: 3
|
solution: 3
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ videoId: kfv0K8MtkIc
|
|||||||
```yml
|
```yml
|
||||||
question:
|
question:
|
||||||
text: |
|
text: |
|
||||||
Fill in the blanks below to complete the architechture for a convolutional neural network:
|
Fill in the blanks below to complete the architecture for a convolutional neural network:
|
||||||
|
|
||||||
```py
|
```py
|
||||||
model = models.__A__()
|
model = models.__A__()
|
||||||
|
@ -16,7 +16,6 @@ videoId: j5xsxjq_Xk8
|
|||||||
```yml
|
```yml
|
||||||
question:
|
question:
|
||||||
text: |
|
text: |
|
||||||
|
|
||||||
Fill in the blanks below to create the training examples for the RNN:
|
Fill in the blanks below to create the training examples for the RNN:
|
||||||
|
|
||||||
```py
|
```py
|
||||||
|
@ -16,7 +16,7 @@ videoId: ZyCaF5S-lKg
|
|||||||
```yml
|
```yml
|
||||||
question:
|
question:
|
||||||
text: |
|
text: |
|
||||||
Natural Language Processing is a branch of artifitial intelligence that...:
|
Natural Language Processing is a branch of artificial intelligence that...:
|
||||||
answers:
|
answers:
|
||||||
- deals with how computers understand and process natural/human languages.
|
- deals with how computers understand and process natural/human languages.
|
||||||
- translates image data into natural/human languages.
|
- translates image data into natural/human languages.
|
||||||
|
@ -18,7 +18,7 @@ question:
|
|||||||
text: What is an optimizer function?
|
text: What is an optimizer function?
|
||||||
answers:
|
answers:
|
||||||
- A function that increases the accuracy of a model's predictions.
|
- A function that increases the accuracy of a model's predictions.
|
||||||
- A function that implements the gradient descent and backpropogation algorithms for you.
|
- A function that implements the gradient descent and backpropagation algorithms for you.
|
||||||
- A function that reduces the time a model needs to train.
|
- A function that reduces the time a model needs to train.
|
||||||
solution: 2
|
solution: 2
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user