Learn the fundamentals of computer programming with C#, the in-demand and incredibly useful programming language that incorporates the best features of Visual Basic, C++, and Java. You'll first develop your understanding of programming fundamentals: input/output operations, decision making, and looping. Then, we'll explore the many benefits of object oriented programming, with plenty of vivid, real-life examples. Then, you'll gain hands-on experience with sequential data files, and you'll be able to build a professional-looking and intuitive Graphical User Interface (GUI) application on your very own computer. Because there is no better way to learn programming than hands-on practice, almost every lesson includes practical examples and assignments you can use to develop your knowledge of programming. Learn to program the right way: by using a state-of-the-art language to build impressive applications on your schedule and on your very own computer.
How It Works
This course is fully online, you require internet access and an email account. The course duration is 6 weeks, followed by a 2-week period to complete the final exam (online, open book). Lessons are released on Wednesdays and Fridays of each week, for a total of 12. You are not required to be online at any specific time. In addition to the specific lesson content, there is a discussion board with each lesson and often there is an optional assignment to apply the learning. Following each lesson, there is a short multiple choice quiz. Your score on these quizzes does not count towards the final mark but completing these helps solidify your learning as well as prepare you for the final exam. The final exam is an open-book, multiple choice exam and you need to achieve a minimum of 65% on the final exam to pass the course. There is only one opportunity to pass the exam. A certificate of completion from Ed2Go is available for printing immediately upon successful completion of the course and a certificate from the University of Waterloo will be emailed typically 1-2 weeks later. Many of the Ed2Go courses are eligible towards the various online certificates offered by WatSPEED.
Microsoft Windows XP, Vista, 7 or 8.
Lesson 1 - Computer Basics and the History of Programming. C# is a fantastic programming language that combines the best parts of C++, Java, and Visual Basic all into one language. In our first lesson, you'll get an idea of where we've come from by taking a look at a brief history of programming languages. We'll then explore the .NET framework and get a better feeling for what makes C# so special.
Lesson 2 - The C# Compiler and Your First C# Program. Armed with some background, you'll now proceed to installing the C# compiler, and then we'll write, compile, and run our first C# program. Although we'll start with a small program, you'll see that even small C# programs can be a bit tricky. Today's lesson gives you a great opportunity to practice working with the compiler, something that you'll be using for the remainder of the course.
Lesson 3 - Data Types and Mathematical Operators. Now that you're comfortable with compiling and running simple programs, we can take a look at math. Don't worry, we won't be running calculations for launching the Space Shuttle. But you will be learning about the basic math operators that C# provides. And because we'll need some place to save the results of our calculations, we'll also talk about variables and their data types.
Lesson 4 - Value Returning Methods. Today's lesson is our first step into modular programming with methods. Methods are a helpful tool because they allow us to break up big programs into smaller, more manageable parts. We'll start by looking at a few built-in methods that are available to us to use in our programs. But then you'll learn how to write your own methods and call them in your program. Hopefully you'll agree that this way of programming makes it easier to tackle large problems.
Lesson 5 - Void Methods and Overloading. In today's lesson, we'll continue building on the concept of methods by discussing methods that don't return any value. While these methods may not seem as important, they still help in making your program more modular. We'll also talk about method overloading, which can help improve the readability of your programs by reusing method names within the same code file.
Lesson 6 - The if Selection Structure. By this point in the course, you'll be comfortable doing the basics of C#: working with variables, math, and methods. So now we'll turn our attention to the first programming structure: decisions. In this lesson, you'll learn about the if statement and how you can use it to let the computer choose which set of statements to execute based on some condition.
Lesson 7 - More About the Selection Structure. We'll continue our investigation of the decision structure in today's lesson by taking a look at more complex if statements. You'll also learn how to use the switch statement to make decisions in your programs as well. This ability to have multiple programming structures is sort of like having another tool in your tool belt. Sometimes a job is far easier to do if you just use the right tool. You may not always need to use every tool, but it's good to know what tools are there and how to use them. You'll find the same is true in programming.
Lesson 8 - The Repetition Structure. Keeping with the theme of programming structures, we'll now take a look at the repetition structure. Just as there were different ways to implement the decision structure, there are a couple of ways to work with loops. Specifically in this lesson, we'll talk about the while loop, the for loop, and the do loop. Each structure works the same in that they allow you to repeat statements, but each one is a little different. Here you'll learn their differences and add to the tools in your tool belt.
Lesson 9 - Arrays. One of the most useful applications of loops is arrays, so it makes sense for us to build on your knowledge of loops and explore array variables in this lesson. You'll learn how to create and access array variables. We'll also see how to work with arrays and methods.
Lesson 10 - Classes. Object-oriented programming is a big topic, and C# is an object-oriented language. We'll spend some time in this lesson going over exactly what an object is and how it relates to a class. Then you'll write a class that will store the data necessary to keep track of the time. Since you're writing this class, you'll have the ability to take this code and add it to any program that needs to store information about the time, such as appointment books and scheduling programs.
Lesson 11 - Exceptions and Files. Obviously, computer programs are big time savers and really help us to automate things. But in order for a program to be really useful, it needs to be able to save data for use later. That's why we'll go over data files in this lesson. Today, you'll learn how to read from and write to external data files so you can store your user data forever.
Lesson 12 - Graphical User Interfaces. For our final lesson, we'll look at programs with a Graphical User Interface (GUI). While C# has an Integrated Development Environment (IDE) that gives you the ability to easily create GUI applications, the code that's generated is buried deep in the file structure. So to show you that there's no magic going on, today I'll show you how to build your own GUI without an IDE. By doing this, you'll be far better prepared for working with IDEs in the future because you'll know exactly what's going on behind the scenes.