Welcome 🤗! In the next ~4h we will cover:
Let us use our fresh minds for learning instead of all the Logistics. We will right now only cover Breaks, the general goal, 📊 Live poll and Q&A right now. We will cover logistics gradually today and next weeks.
Before we begin with the class, we need two Feedback persons.

“Welcome” by TheMuuj, CC BY-SA 2.0
Chat¶
Use chat in study mode
I encourage you to use the chat – but in a way which supports your learning: You should do the thinking and the chat should guide you through the process. To achieve this, you can use the following instructions:
On the chat prompt write @study or @lær på dansk:

Claude has a skill called learn. To activate it:
Click ➕ icon on the chat prompt.
Click
Skills.Click
Browse-skills.Search for
learnand click on ➕. The ➕ will turn to a ⚙️ icon.Close the skills window. Now the skill will be available when you type
/Type
/and selectlearn.
Click ➕ icon on the chat prompt.
Vælge
Studietilstand.
Claude’s learn skill is free to use.
Unfortunately it is not available on Claude’s official skill repository. Here is a copy: learn
-skill -by -anthropic .md. Alternatively you can copy paste the skill from Claude by finding the skill as described on the Claudetab.Create an agent that uses this skill as a system prompt or include the skill as a file.
Now paste the exercise you need help with or your question. For example Claude replies as follows:
This looks like a course exercise, so rather than just handing you a finished flowchart, let’s build your ability to construct one — that’s what you’ll need on the exam too.
First, a quick check: have you drawn flowcharts before ...
If you would like to explore more about AI & education:
Prompts for learning by Northwestern University.
100 chats for college students by OpenAI.
Husk kildeangivelsen ved brug af generativ AI i dine afleveringer og projekt.
Overtrædelse af ovenstående regler gælder som eksamenssnyd.
E: Chat in study mode¶
Flowchart¶
translate a process into a flowchart
Mission: Safe landing¶

Figure 2:Lunar lander trying to land
You are an engineer and you want to build a system to land a space vehicle on the moon.
Problems:
limited fuel 🌡️
crash if high speed 💥
E: Describing a process¶
Flowchart can also be used for describing a process.
Flowchart shapes¶
Meanings of shapes
Name | Shape | Example |
|---|---|---|
process | ||
flowline | ||
decision | ||
input/output | ||
terminal |
Translating an example process¶
Ask your guest how many sugars they want in their coffee, then add that many spoonfuls of sugar.
Lazy 🦥:
Better, by breaking down the process into steps, which can be processed individually 🤓:
Best, using real data, e.g., numbers in variables to represent the problem 💪:
Drawing Tools¶
Pen & paper ― it is ok if you take a photo and upload or use a tablet.
Declarative app: Mermaid. Select
Flowchartfrom the sample diagrams.[2]I use Mermaid for the diagrams you see here. If you are new to coding, it may be overwhelming.
E: Hello flowchart¶
E: Hello flowchart quiz¶
Which of the following is used for input?
What is the main purpose of:
Show the order of execution
End the process
Store a variable
Output a variable
Which of the following always exist in a flowchart?
Repository¶
Explain why we use repositories
Upload your work to a repository
Accept and submit an assignment using Classroom 50 and GitHub
Delete a file on GitHub
See autograder results
E: GitHub support¶
Did you run into any problems in Opening a GitHub account and Enrolling the GitHub organization for the class? We will help each other, until everyone is on board.
E: Why repositories?¶
Most programmers use a repository to organize their software projects, but should you ― as a student in this course or in next semesters, based on the chapter you havewatched.
(1 min)
Why do we use repositories?¶
Keeping a history of changes is helpful if we or someone else who also work in the project would like to understand changes in the project which is useful for collaboration. Keeping a history helps also to roll changes back if something does not work as intended.
Keeping projects in a repository is also helpful to collaborate and share code. You share your photos on a social image sharing platform like Instagram, and the programmers use a forge to share code and follow other software projects — for example GitHub has a feed, where you can get updates about your followed people or projects. We will use GitHub[4].
Another important advantage: pushing your code to a forge will keep a backup of your project in the cloud.
I also keep my projects on repositories, including my lectures.
Last but not least, many companies ask applicants to include a forge link in their applications.
In this course you will submit your assignments for feedback mainly by submitting a repository.
E: First submission¶
First: Accept the assignment and then follow the following steps.
(In case) You may have to login and authorize Classroom 50 app.
Click Accept Assignment:

Click Open repository:

Now we will upload the files.
Click +:

Click Upload files.

Every flowchart must be individually uploaded. Name them:
flowchart1.svg flowchart2.svg ...If you dont have all flowcharts, upload the ones you have.
If you did not use Draw.io, upload photos of your flowcharts as jpg.
(Optional) Upload
.drawiofiles if you want to keep them for future.
Drag and drop the files:

Click Commit changes.

🥳 Congratulations, you submitted your assignment!
Every time you make a change (commit), you will submit your assignment again. Your last submission takes precedence.
E: Autograde feedback¶
The assignments will have an autograde program which gives you and us feedback about your submission about e.g.,:
Did you submit all required files?
Did you answer correctly to the multiple choice questions?
Does your program output
helloifhiis input? (when we start writing code)
After committing, you will be back on the main page of your repository. Press F5 to refresh the page. After ~30 seconds, you will see a status symbol:

Meanings of the status symbols:
Click Details to see the autograde results:

Click Failure details to see the reason of the failure:

For example, the following failure message indicates:
The test
files-presenthave failed.the file
flowchart8.*could not be found:

You can use the feedback to fix your submission and submit again.
These checks support you and us in the feedback process to catch some of the mistakes. They will in most cases not catch all criteria for your assignments.
E: Deleting a file on GitHub¶
Try deleting a file on GitHub as an exercise.
Click the file you want to delete, e.g.,
flowchart1.svg.Click the on the right side of your screen and then click Delete file:

Click Commit changes to delete the file.

🥳 Congratulations!
E: Hello Classroom 50¶
Classroom 50 uses GitHub repositories for managing assignments. It gives you an overview of your assignments: deadlines, your submission status etc.
Go to https://
classroom50 .org and login if necessary. Openyour organization C Programming:

Click View assignmentson C Programming:

You get an overview of the assignments you have accepted.
Click View my submission to see submission details.

You see the status of your submission:

Classroom 50 gives a nicer overview compared to the GitHub.
E: Reflection¶
We will usually end the day with this activity.
Note to your diary.
Take 5 min and name at least 3 concepts/topics you have learned today.
Did a concept surprise you or was difficult to understand?
Would you like to dig deeper into a topic?

🎊 Congratulations on the first day! 🎊
After coding the diagram, you can export it as an SVG or PNG file, or paste its contents to an
*.mdfile and upload it to GitHub. GitHub can render it.If you see
this kindof formatting, then it is usually part of code, e.g., a variable name, an output message, etc.Other popular forges are GitLab, or Codeberg. GitHub is the most popular one and on which most of the open source projects in the world are organized. GitLab is popular among companies, because GitLab is open-source and can be installed in a private data center. Codeberg is organized by a European non-profit organization and is privacy-focused.




