Foundations of Programming
Programs, Programmers, and Microsoft Visual Basic 2010.
For most people, computer programs are applications that run on their PCs or Macs and allow them to work, play, communicate and be entertained. But to programmers it’s more than that. Programs do run on desktop machines, but they also are a part of our smartphone, MP3 devices, tablets, and are becoming an important part of our home life too. Televisions, gaming devices like Xbox and Gameboy, DVRs, Blu-ray players, stoves, refrigerators, thermosets and alarm clocks now run programs. In Foundations of Programming students will learn the basics of computer programming using Microsoft Visual Basic 2010. This course is intended for students with little or no background knowledge in computer programming. So, if you have a desire to learn how to write computer code and want to expand your job skills, this is the course for you.
What is Microsoft Visual Basic and what will I learn?
Microsoft Visual Studio 2010 is an Integrated Development Environment or IDE. An IDE is a computer software environment that contains all of the tools and features you need to create, run, and test your programs. Visual Studio 2010 contains several different programming languages, including Visual C++, Visual C#, and Visual F#, it is Visual Basic that this course will focus on. Visual Basic is and event-driven programming language. That is, each procedure, or subroutine only runs when the user performs a task such as clicking a button or selecting an item from a drop-down menu. Visual Basic 2010 is an object-oriented programming language, which is a language that allows the programmer to use object to accomplish a program’s goal. An object is anything that can be seen, touched or used; in other words, an object is nearly any thing. Most importaintly, Visual Basic is a Windows-based application that has the look and feel of a graphical Windows program and runs on a PC.
Let's get started: Hello World
I can't think of a programming class, textbook, or online course where the first program written has not been Hello World. ho am I to break tradition? The Hello World program consists of a single Form, one Command Button and one Label. The code “behind” the command button simply changes the text property of the label to display “Hello World”.
The Main Form