19 May, 2009

End of programming for Semester 1.

Having sat the Chapter 6 Test today and handed in the Alarm Clock assignment last week, that is the end of the programming course requirements for this semester! As this means I probably won't be using Visual Basic for the next seven weeks ... I hope I don't forget everything I have learnt so far!!

17 May, 2009

Chapter 6 Test - again!

In the Multiple Choice part, question 12 and 13, just wondering if anyone can help. As I understand it from the book, when you have a For ... Next loop that runs from 1 To 4 the loop will run 4 times and stop when it gets to 5. Therefore, in question 12 when the values are 1 To 25 with a Step of 3, that would be 1, 4, 7, 10, 13, 16, 19, 22 and 25 - hence looping 9 times ... but when we ran that code in VB it seemed to stop at 25 therefore only running 8 times. Does that make sense? So basically, do people think the answer to number 12 is 8 or 9, and along the same lines in the answer to number 13 3 or 4?? Can anyone help???

Chapter 6 Test.

Quick question for anyone who's looked over the test paper. Where it says Visual Studio 2005 in a couple of the questions, I am assuming that we should just read it as 2008 and that it's not a trick question??

03 May, 2009

BLOG TASK: What other methods are available when using Now?

I found 40 alternative methods (other than AddMinutes) available when using Now:

Add; AddDays; AddHours; AddMilliseconds; AddMonths; AddSeconds; AddTicks; AddYears; Compare; CompareTo; DaysInMonth; Equals; FromBinary; FromFileTime; FromFileTimeUtc; FromOADate; GetDateTimeFormats; GetHashCode; GetType; GetTypeCode; IsDaylightSavingTime; IsLeapYear; Parse; ParseExact; ReferenceEquals; SpecifyKind; Subtract; ToBinary; ToFileName; ToFileNameUtc; ToLocalTime; ToLongDateString; ToLongTimeString; ToOADate; ToShortDateString; ToShortTimeString; ToString; ToUniversalTime; TryParse; TryParseExact.