You will always find the full and updated course material over here: C-Sharp Basics by Marc Zaku
I recommend to always click on above link once per day!
This is a one week course to introduce you to the very basics of C# Console Programming. This week's course will conclude with a final assignment of implementing Nim
as a Console Application and a bonus assignment for implementing either Tic-Tac-Toe or Battleships, too.
For the grading, all other exercises don't matter, so you may go ahead and skip straight to the juicy stuff.
But then again, all these exercises are meant to exercise one element of the language that you just learnt through the slides, and give you the opportunity to test, if you have really understood what it's about.
Official Grade | Internal Grade | Requirement |
---|---|---|
VG | Summa Cum laude (A*) | Completed the Battleships game. |
VG | Magna Cum Laude (A) | Completed the Tic-Tac-Toe game. |
VG | Cum Laude (B) | Completed the Nim game to a playable version. |
G | Passed (C) | Completed all exercises including the Nim game, even if the code contains bugs / flaws. |
G | Barely Passed (D) | Put in an effort of solving all exercises which did not involve implementing a whole game. |
U | Insufficient (E) | Put in a visible effort of solving the exercises. |
U | Failed (F) | Did not hand in any code. |
Understand, how to set up a C# Project from scratch, understand the Code involved with a simple Hello World Application
- Work your way through the slides 003.1 Hello World
- Set up your GitHub Classroom Repository
- Clone your GitHub Classroom Repository (e.g. using GitHub Desktop)
- Pick an IDE of your choice (Jetbrains Rider is highly recommended, free student licenses available through your student email address)
- Open the Hello World application in your IDE
- Run the Hello World application through your IDE
Learn about the core language features for interacting with the console and storing and manipulating data using operators.
- Work your way through the Assignments 003.3.1: C# Console Basics 1 and the slides mentioned in those assignments.
Learn about more complex data manipulation through Maths, Strings, Random Numbers and comparison, as well as code flow control through conditional code.
- Work your way through the Assignments 003.3.2: C# Console Basics 2 and the slides mentioned in those assignments.
Learn about complex code flow controls through Loops and complex data storage through arrays.
- Work your way through the Assignments 003.3.3: C# Console Basics 3 and the slides mentioned in those assignments.
Recap everything that you have learned this week through an advanced exercise. Pick either the Nim-Game, the Tic-Tac-Toe-Game or the Battleship-Game depending on your confidence in your abilities.
You are allowed to complete all three games, if you feel that you are up for the challenge.
- Work your way through the Assignments 003.3.4: C# Console Basics Game.