Skip to content

Commit

Permalink
Programming 2022 metadat
Browse files Browse the repository at this point in the history
  • Loading branch information
sebazai committed Dec 10, 2021
1 parent 4f907ea commit a53e805
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 20 deletions.
10 changes: 5 additions & 5 deletions course-metadata.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"@context": "http://schema.org",
"@type": "Course",
"name": "Ohjelmoinnin perusteet ja jatkokurssi 2021",
"name": "Programming MOOC 2022",
"description": "",
"provider": {
"@type": "Organization",
Expand All @@ -16,23 +16,23 @@
"hasCourseInstance": [
{
"@type": "CourseInstance",
"name": "Ohjelmoinnin perusteet ja jatkokurssi 2021",
"name": "Programming MOOC 2022",
"courseMode": ["MOOC", "online"],
"location": {
"@type": "Place",
"name": "Exactum, Kumpulan kampus",
"address": "Gustaf Hällströmin katu 2b 00560 Helsinki, Finland"
},
"startDate": "2021-01-11",
"startDate": "2022-01-10",
"audience": {
"@type": "EducationalAudience",
"educationalRole": "student",
"audienceType": "everyone"
},
"inLanguage": {
"@type": "Language",
"name": "Finnish",
"alternateName": "fi"
"name": "English",
"alternateName": "en"
},
"isAccessibleForFree": true
}
Expand Down
12 changes: 6 additions & 6 deletions course-settings.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
const courseSettings = {
language: "en",
name: "Python Programming MOOC 2021",
siteUrl: "https://programming-21.mooc.fi",
githubUrl: "https://github.com/rage/programming-21",
name: "Python Programming MOOC 2022",
siteUrl: "https://programming-22.mooc.fi",
githubUrl: "https://github.com/rage/programming-22",
subtitle: "Python Programming MOOC",
slug: "programming-21",
slug: "programming-22",
organizationName: "MOOC",
tmcCourse: "programming-21",
quizzesId: "7bbf042f-25dc-4c79-8529-f0193857fd89",
tmcCourse: "programming-22",
quizzesId: "cc7ec951-c28b-4f16-86ff-0f9dc9196db4",
tmcOrganization: "mooc",
bannerPath: "banner.svg",
showExerciseDescriptionWhenNotLoggedIn: true,
Expand Down
6 changes: 0 additions & 6 deletions data/grading-and-exams.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,8 @@ To pass the Python Programming MOOC courses you are expected to both complete ex

#### Introduction to Programming

* Tuesday 26.10.21
* Saturday 27.11.21
* Saturday 15.1.22

#### Advanced Course in Programming

* Thursday 16.12.21
* Saturday 15.1.22

## Taking a programming exam

Expand Down
6 changes: 3 additions & 3 deletions data/part-4/1-vscode.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ hidden: false
After this section

- You will be equipped to use the Visual Studio Code editor to complete exercises on this course
- You will be familiar with the interactive Python interpreter, and will be able to use it to run code
- You will be familiar with the interactive Python interpreter, and will be able to use it to run code

</text-box>

Thus far all the exercises on this course have been completed directly on the course pages in embedded editor windows. Programming in the browser is very suitable for the very first steps in programming, but now it is time to start using a separate editor especially made for programming.

There are dozens of different editors that are suited to programming. On this course we will use the [Visual Studio Code](https://code.visualstudio.com/) editor, which has been gaining traction in recent years.

Please install the Visual Studio Code editor on your own computer now. You may also need to install Python and the Visual Studio Code plugin for Python. You will also need the TMC plugin, which will take care of running the tests that go with the exercises. In the TMC plugin, select **MOOC** as the organization and **Python Programming 2021** as the course.
Please install the Visual Studio Code editor on your own computer now. You may also need to install Python and the Visual Studio Code plugin for Python. You will also need the TMC plugin, which will take care of running the tests that go with the exercises. In the TMC plugin, select **MOOC** as the organization and **Python Programming 2022** as the course.

[Here is a guide](https://www.mooc.fi/en/installation/vscode) to installing and running all of these. Read the instructions on working on and submitting exercises, and then complete the task below:

Expand Down Expand Up @@ -177,7 +177,7 @@ Let's try a few of them, `reverse` and `clear` seem promising:

As you can see, these methods do pretty much what you would expect based on their names.

Notice how the interpreter doesn't print out anything when you run the command `numbers.reverse()`. This is because the interpreter prints something out only if the line of code has a value. The `reverse()` method here doesn't return any value.
Notice how the interpreter doesn't print out anything when you run the command `numbers.reverse()`. This is because the interpreter prints something out only if the line of code has a value. The `reverse()` method here doesn't return any value.

In the above example we printed out the value of the list `numbers` by typing in just the name of the variable. In fact, it is rarely necessary to explicitly type in `print` commands in the interpreter. You can include them if you want to, however.

Expand Down

0 comments on commit a53e805

Please sign in to comment.