Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📜 Fix typos in english workbook #6191

Merged
merged 4 commits into from
Feb 23, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions content/workbooks/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ levels:
A computer does not just do something by itself. You must always give a computer a task. Such a task is called a command. To print out code, we use the command `print`.

### Printing text
On the screen you've just deen the `print` command.
On the screen you've just seen the `print` command.
A `print` command prints a word, when it's between quotation marks. For example `print hello`.
#### Exercise 1: Predict the output
- type : output
code : "print Hello everybody"
answer : "Hello everybody"
lines : 1
- type : output
code : "print goedemorgen"
answer : "goedemorgen"
code : "print Good morning"
answer : "Good morning"
lines : 1
- type : text
contents : |-
Expand Down Expand Up @@ -130,7 +130,7 @@ levels:

You've just seen the `is` command on the screen.
An `is` command saves something in the computer memory and gives it a name. We call this a variable.
What is saved in the variable is calles the value of the variable.
What is saved in the variable is called the value of the variable.
code: |-
name is Mo
print name
Expand Down Expand Up @@ -186,8 +186,8 @@ levels:
- type : output
code : |-
first_name is Layla
print Goodmorning first_name!
answer : "Goodmorning Layla!"
print Good morning first_name!
answer : "Good morning Layla!"
lines : 1
- type : text
contents : |-
Expand All @@ -198,21 +198,21 @@ levels:
options : ["Correct" , "Incorrect"]
code : |-
surname is Johnson
print Goodmorning surname!
print Good morning surname!
answer : "Correct"

- type : MC-code
options : ["Correct" , "Incorrect"]
code : |-
name is
print Goodmorning, name!
print Good morning, name!
answer : "Incorrect. Name is not set."

- type : MC-code
options : ["Correct" , "Incorrect"]
code : |-
name is Johnson
print Goodmorning mr name!
print Good morning mr name!
print Hello mr name!
answer : "Correct. You are allowed to use a variable multiple times."
- type : text
Expand Down Expand Up @@ -595,7 +595,7 @@ levels:
answer : "Incorrect. Remember to use a variable with ask!"
- type : MC-code
options : ["Correct" , "Incorrect"]
code : "naam is ask 'What is your name"
code : "name is ask 'What is your name"
answer : "Incorrect. You need a pair of quotation marks."
- type : MC-code
options : ["Correct" , "Incorrect"]
Expand Down Expand Up @@ -756,7 +756,7 @@ levels:
code : |-
if name Hedy
print 'Programming is fun!'
answer : "Incorrect. There needs to be an `is` in the frist line."
answer : "Incorrect. There needs to be an `is` in the first line."
- type : MC-code
options : ["Correct" , "Incorrect"]
code : |-
Expand Down Expand Up @@ -856,7 +856,7 @@ levels:

Addition is done with the normal plus sign: `5 + 5`.
Subtraction is also using the normal minus sign: `5 - 5`.
With multiplications it might look a bit differnt than usually, we use the asterisk (above the 8): `5 * 5`.
With multiplications it might look a bit different than usually, we use the asterisk (above the 8): `5 * 5`.
Division is done with the slash forward: `5 / 5`.

Please note that maths code doesn't need quotation marks.
Expand Down Expand Up @@ -887,12 +887,12 @@ levels:
code : |-
print 'five plus ten is ' ___
print 'six minus five is ' ___
print 'one hunderd diveded by five is ' ___
print 'one hundred divided by five is ' ___
___ _________________________ 4 * 12
answer : |-
five plus ten is 50
six minus five is 1
one hunderd devided by five is 20
one hundred divided by five is 20
four times twelve is 48
lines : 4
- type : text
Expand Down Expand Up @@ -1069,7 +1069,7 @@ levels:
options : ["Correct" , "Incorrect"]
code : |-
people = mum, dad, Emma, Sophie
repeat 7 times print 'The dishes will be done by ' mensen
repeat 7 times print 'The dishes will be done by ' people
answer : Incorrect, at random is missing
- type : MC-code
options : ["Correct" , "Incorrect"]
Expand Down