ITT - IT116
Intermediate Programming
December 2008
Notes and Assignments:
- Week 1 - Friday, December 5, 2008
- Welcome to the first day of class.
- We'll do introductions, pass out the syllabus, take a quick assesment quiz (0 points), review some basic programming topics, pick teams for group project and then start on the course material.
- Unit 1 - Power Point
- Unit 1 - Homework Assignment
- Class Project
- Lab 1
- Review Links:
- Control Statements
- hello world program
- if/then
- input/output
- Loops
- switch
- New Topic Links (for further understanding):
- Compiler
- Software Documentation
- Microsoft Visual Studio
- Visual Basic .NET
- Other Resources:
- Download Visual Basic 2008 Express
- Google: "vb.net 2005 tutorials"
- Google: "vb.net 2008 tutorials"
- ITT Virtual Library
- VB.net Developer Center
- Youtube - VB.net Tutorials - Link 1
- Youtube - VB.net Tutorials - Link 2
Week 2 - Friday, December 12, 2008
Last week we went through the power point provided by ITT, we then went through a series of tutorials to get familiar with the VB's IDE. Today we'll start with a quiz to review topics we covered last week, we will then go through the class material and continue working on tutorials to further our understanding of the course material.
Unit 2 - Power Point
Unit 2 - Homework Assignment
Lab 2
Links and Topics To Read/Understand:
Compound Operators
Concatenation Operator
Data types and type conversions
Debugging
Exception handling
Group Box control
Load event procedure
Managing Focus
Message Box
Number formating functions and other formatting
Operator - Mathematics
Operator - Programming
Scope
Text Property
Variables
Variables - Declaring, initializing, and setting variables
VB Datatypes
VB Datatypes - Link 2
VB.NET New Logical Operators
After you finish the lab answer the following Questions/Do the following Exercises in Class:
- Write code that sums all integers from 1 to 1000
- Write code that sums all even integers from 100 to 2000
- Write code that will sum all integers between two user inputted integers
- Write code that outputs the first 100 prime numbers
- Write code that initializes some basic data and then casting between the following datatypes: Byte, Double, Integer, Long, Single, and String.
- What has higher precidence, a variable name that is more global or more local to a loop? Write some code that proves your answer.
- Use google to find 5 useful webpages that can help you through out your future vb.net programming career (single tutorials do not work, a successful reference would be something like: http://www.devguru.com/Technologies/vbscript/quickref/vbscript_list.html).
- Do the following tutorials from "Hello World" through "Noughts and Crosses" VB Tutorials
Other Tutorials and further understanding:
Understanding Properties in VB.NET
VB Tutorials - Go to the VB 2005 Express Tutorials
Dev Guru - VB Script Reference
Links to Other Resources, Not Related to Class, But that students asked questions about:
The site to reference for internet programming
Learn HTML
Learn CSS
Learn XML
Learn ASP
Learn PHP
Need to know how to connect to a database? Check out the connection string
- We'll start with a quiz next week covering all of the information up to the end of this class.
- Homework 2 will be due at the beginning of next class.
- Both parts 1 and 2 of the class project are due at the beginning of next class.
Week 3 - Friday, December 19, 2008
In order to save on wasted papger, students will print their own Lab and Homework Assignments in class, I will provide the hard copies of the quizes.
We'll start with a quiz today. I'll then collect the homework as well as parts 1 and 2 of the class project.
Today we'll cover some important topics which will be used often in your programmming career. The topics go along with the power point. After we finish the power point presentation, then we'll work on the lab and continue the programs I listed last week and continue reviewing the links I already provided.
Unit 3 - Power Point
Unit 3 - Homework Assignment
Lab 3
Part 3 of the project is due at the beginning of next class.
Week 4 - Friday, January 9th, 2009
There will not be a quiz today. This will allow students to get back up to speed on things. We will continue weekly quizes again starting next week.
Last week's lab is due at the beginning of class. Part 3 of the Course Project is due at the beginning of class.
Unit 4 - Power Point
Unit 4 - Homework Assignment
Lab 4
Course project deliverables 4 is due at the beginning of next week.
Extra Links for Further Clarification:
Visual Basic
Dev Guru - VB Script Reference
VB: For Each
VB: For Next
VB: Do Loop
VB: Nested For Loop
Code Project's VB Knowledge Base
Extra Credit: Challenge yourself with some ACM programming problems. You'll then want to click on "browse problems" on the left, then "problem set volumes." You'll have to create an account, submit your code and verify that it is correct through their system. Once you have successfully coded problem(s), send me an email with the code which references the website description and problem number and have your class name and your name documented in the code as well. Some problems are easier than others, which can be judged by me on the solving percent shown by the UVA system. The harder the problem, the more extra credit you'll receive. If you kmnow C++ then you can submit the answers to the website that way. If you do not know c++ then you'll have to write the code in VB and let me see your code and results.
Lastly, here are some details about Microsoft's MCPD certifications.
Week 5 - Friday, January 16th, 2009
We used last week to play catch up and further understand the material we've covered thus far. All homework, labs, and projects given out through week 3 are due today.
We will start off with a quiz today and will then start on both week 4 and 5 material today. Notes/Outline for topics in these chapters
Unit 4 - Power Point
Unit 4 - Homework Assignment
Lab 4
Unit 5 - Power Point
Unit 5 - Homework Assignment
Lab 5
If you haven't yet, you'll want to look at the MS certification link I gave last week. You'll also want to take a look at the ACM programming problems.
For references on week 4 material, please review the links listed last week. For week 5 material, please see the links below for further understanding.
Dev Guru - VB Script Reference
VB Functions
VB Subs
Week 6 - Friday, January 23rd, 2009
Grade Reports will be given out at the beginning of class.
Midterm Today.
All assignments through week 4 are due today. Week 5 and 6 material is due next week.
By popular request, we'll have a lecture separate of the power point. Please read the following power point on your own: Unit 6 - Power Point
Our class lecture will be based on hands on material. We'll start with tutorials that I assigned towards the begining of the quarter. We'll then make modifications to understand various topics that we should understand up to this point. After that we'll work on this week's lab.
VB 2005 Express Tutorials - Hello World, Drawing, Simple Text Editor, Simple Drawing Package, Read "Web Brower" for VB Express 2008 to learn how menus work, then try to implement with VB 2005.
Lab 6
Unit 6 - Homework Assignment
Week 7 - Friday, January 30th, 2009
As we talked about in class last week, I extended deadlines for assignments, quizes and projects in the following manner:
Due this week at the begining of class: hw5, hw6, lab5, project 4 and 5.
Due next week at the begining of class: hw7, lab6, lab7, project 6 and 7.
Also as we talked about, I'm available by both email and phone for any questions. If you have questions, make sure you start everything early enough that you can receive replies and still get the work done.
Unit 7 - Power Point - Read on your own before next class
Lab 7
Unit 7 - Homework Assignment
Related Topics:
Arrays
Timers
Random Numbers
Parallel Arrays
Multidimensional Arrays
Dynamic Arrays
Timer Control
Anchoring and Docking Controls
Helpful Links:
VB.Net Example on how to generate a random number
Timer Control Further explained
VB.Net Timer Control Example Code
Anchoring and Docking Example
VB.net Dynamic Arrays Example
ArrayList Explained
More on ArrayList
VB.net arrays, and multidimensional arrays example
Structs in VB.net
Week 8 - Friday,
We talked about structs last week and will continue our discussion today. We'll also talk about additional topics to increase your programming ability.
Unit 8 - Power Point - Read on your own
Lab 8 - Read on your own
Today will talk about reading and writing from files, printing documents, and structs.
Tasks to Accomplish:
Check to see if a file exists
Create a file
Write to a file
Read from a file
Delete a file
Rename a file
Use the concept of a struct and write it to a file
Week 9 - Friday February 13th, 2009
Last week, we reviewed topics reinforce understanding of past material.
All material through Unit 7 is due no later than the beginning of class.
Reallly late assignments may be docked points. Assignments for Unit 7 and before, turned in after the beginning of class, will receive zero points.
No homework will be assigned this week or next week in order to lightent he load for the labs and projects.
Unit 8 - Power Point - Read on your own
Unit 9 - Power Point - Read on your own
Unit 10 - Power Point - Read on your own
Lab 8
Lab 9
Lab 10
Labs 8 and 9 are due next week. Projects 8 and 9 are due next week.
Labs and Project 10 are due before the final on Week 11.
VB file io tutorial
Structs versus Multidemnsional Arrays
OOP in VB.net Tutorial
VB.net Reference
VB.net Intro to Classes
VB.net Collections
VB.net Try Catch Exception (Error Handling)
VB.net Database Example
VB.net Database Project Reference
VB.net Databases (look at bullet 24)
Database Explained
SQL Tutorial
After today you should be able to read from a file, write to a file,
create an array of structs,
be able to pass a struct as a parameter (both by value and by reference),
be able to create classes and instances of the class (objects),
know the difference between private and public variables,
be able to call procedures (method calls) of classes,
understand what "Nothing" is and how to use it,
understand the difference between pass by value and pass by reference,
understand what a class constructor is,
understand error handling and how to handle it with the Try Catch Exception,
understand what a base class is and what a derived class is (class inheritance),
understand what a database is,
understand what a primary keys and foreign keys are,
understand what fields are,
understand what a database schema is,
understand one-to-one and one-to-many relationships,
know what Structured Query Language (SQL) is,
and know select and where commands for SQL.
Note that the information above is important and might be on the partical part of the final next week...
Week 10 - Friday February 20th, 2009
We will do a review for the writen part of the final today. We will also do the partical part of the final today. Lastly, we'll continue work on Lab 10 and Project 10.
Week 11 - Friday February 27th, 2009
Final Exam Today.
Power Points:
Unit 1 - Power Point
Unit 2 - Power Point
Unit 3 - Power Point
Unit 4 - Power Point
Unit 5 - Power Point
Unit 6 - Power Point
Unit 7 - Power Point
Unit 8 - Power Point
Unit 9 - Power Point
Unit 10 - Power Point