• Post category:StudyBullet-13
  • Reading time:6 mins read


Easy and fast – Your start into programming as an absolute beginner

What you will learn

You can write simple graphical apps.

You can use instructions in your programs.

You can use loops, conditional statements, and variables.

You will learn the basics of object-oriented programming.

Description

If you have never written a line of code before, then this is the right place for you to start. You will learn the basics of programming so that you can judge whether programming is something for you or not.

Do you know this? You want to learn something practical, but first you have to learn a lot of theory. This is different here: you will start writing your first program already in the second lesson. The essential components of a programming language will be explained and, above all, practiced without going into too much detail.

As programming language you will use C# (pronounced: “see sharp”), because it is very easy to learn and there are good tools for beginners. As a programming tool you will use the {Coder for C#}, which is very good for getting started.

Besides the most important topics around the programming language C# such as


Get Instant Notification of New Courses on our Telegram channel.


  • Variables and operators
  • Conditional statements
  • Repeating statements (loops)
  • Objects (classes)

you will write many simple programs in the exercises. Besides graphical programs (driving a car, drawing a smiley, painting) you will program the game Pong as a continuous exercise. The game was developed in 1972 by the Atari company as a game console. As a vintage game it is very popular again today. The player hits the ball with a bat against a wall in single-game mode.

To keep track of the game, a cheat sheet is available for download, where you can look up the most important instructions.

To attend this course, you need a computer with the Windows operating system and should be able to use Windows.

English
language

Content

Motivation & Introduction

What requirements should you bring along?

What is Programming?

Install β€œCoder for C#”
Your first program
What is a program?
Exercise
Can I also program my own Functions?
Where do the previous used functions come from?
Pong Game 1
Other graphical shapes
Draw a smiley

Variables and Operators

What are variables and data types?
Numbers
What other data types are there?
What other operators are there?
Predefined variables
Exercise
Pong Game 2 – The racket
Pong Game 3 – The ball
Pong Game 4 – Racket and ball

Conditional Statements

Conditional statement: if…else…
Exercise
Logical connectives
Exercise
Keyboard input
Pong Game 5 – Ball bounces
Pong Game 6 – Racket hits ball
Pong Game 7 – …a few more gimmicks

Repeat Statements (Loops)

What is a loop?
while loop
Exercise
for loop
Exercise
Pong Game 8 – 3D ball
Pong Game 9 – Own functions with parameters

Objects

What is a programming paradigm?
Programming with objects, classes and instances
How to create a class in C#?
How to create an instance from a class?
The canvas as a class
Pong Game 10 – The ball as an object
Pong Game 11 – The racket as an object
Pong Game 12 – Pong Game for professionals
That’s it…