Final post!
Yesterday we learned how to make some homemade input boxes without having to steal them from Visual Basic. I personally like the VB input boxes because they are so simple and creating an entire new form just to input data is a bit over kill. I'll be sticking to the VB input boxes unless we absolutely have to use them, they seem to be pretty efficient.Yesterday's homework with the error trapping character pressing was something I still don't get, I only managed to get half of my homework done because of how confusing it was. Hopefully in the future things will come a bit more naturally.
Today was great, we did some work with methods (or subroutines) which can be used to automate tasks that will be repeated multiple times. I was impressed at how simple they were to create and use and I hope to make good use of them through the rest of this course. Today's homework was pretty cool as well, I managed to get most of it done without a hitch but the Even Odd program gave me some trouble and even now still puzzles me. I think I found a work around for the remainder division question though because using the % as the division modifier I was able to do the entire method in a single line. We also took a look at problem solving, debugging (which I still can't do properly) and my nemesis. FLOW CHARTS. I still can't draw a proper flow chart but the teacher recommended we use FastDraw which made things alot easier.Hopefully we won't be doing too many of those...
Thursday, September 17, 2009
Tuesday, September 15, 2009
Catching Up Episode 3:The Revenge of the Blog
B-B-BLOG BREAKER
Was finally able to log in as myself today! We learned about rational and boolean operators for a bit. Was slightly confusing at first but it was similar to other languages so I quickly got the hang of it. As proof I can tell you that "thisBlog!=thatBlog" where thisBlog=my blog and thatBlog=everyone else's blog out there. The Boolean operators were a bit of a new thing. In Turing if statements went something like if (a>=b and b>0) but in C# it's like if (a>=b && b>0) which is a bit odd considering that I never use that key at all.
Today's assignment was making a discount program and a hardware store problem which thankfully was a breeze thanks to my mastery of button placement and naming. The part which is kind of scary is the fact that this is review and the workload is already pretty huge. Looks like I'll have to step up my programming knowledge or I'm gonna be buried in homework by next week! The bonus two programming questions were pretty tough to code in C#, I still haven't memorised the common syntax but I managed to muscle through it.
Was finally able to log in as myself today! We learned about rational and boolean operators for a bit. Was slightly confusing at first but it was similar to other languages so I quickly got the hang of it. As proof I can tell you that "thisBlog!=thatBlog" where thisBlog=my blog and thatBlog=everyone else's blog out there. The Boolean operators were a bit of a new thing. In Turing if statements went something like if (a>=b and b>0) but in C# it's like if (a>=b && b>0) which is a bit odd considering that I never use that key at all.
Today's assignment was making a discount program and a hardware store problem which thankfully was a breeze thanks to my mastery of button placement and naming. The part which is kind of scary is the fact that this is review and the workload is already pretty huge. Looks like I'll have to step up my programming knowledge or I'm gonna be buried in homework by next week! The bonus two programming questions were pretty tough to code in C#, I still haven't memorised the common syntax but I managed to muscle through it.
Friday, September 11, 2009
Catching Up Episode 2:The Blog Wars
More blogging!
After the scare that was the first couple of days we started working on something that I actually could do (Although I still couldn't log into the system properly). We started working with data types which made me flash back to my Turing course. The data types in Turing were:Int for integers,real for real numbers and string for string variables. C# decided it was too cool to actually make sense with the real data type so the names in C# are:Int for integer,double for real numbers and string for string variables. We also learnt some basic math functions (such as x=y+z) and some more complicated ones like Math.Pow(x) for doing advanced math functions.
Apparently there was some sort of practice quiz or something along those lines but I couldn't take it because I still couldn't log in properly (although I got to impersonate as Shailen for a little bit). Our homework included a restaurant tax calculator and a practice exercise involving deciding which data type to use for example variables. I managed to breeze through this with my previous programming knowledge and I'm guessing the other students did too.
After the scare that was the first couple of days we started working on something that I actually could do (Although I still couldn't log into the system properly). We started working with data types which made me flash back to my Turing course. The data types in Turing were:Int for integers,real for real numbers and string for string variables. C# decided it was too cool to actually make sense with the real data type so the names in C# are:Int for integer,double for real numbers and string for string variables. We also learnt some basic math functions (such as x=y+z) and some more complicated ones like Math.Pow(x) for doing advanced math functions.
Apparently there was some sort of practice quiz or something along those lines but I couldn't take it because I still couldn't log in properly (although I got to impersonate as Shailen for a little bit). Our homework included a restaurant tax calculator and a practice exercise involving deciding which data type to use for example variables. I managed to breeze through this with my previous programming knowledge and I'm guessing the other students did too.
Wednesday, September 9, 2009
Some Catching Up to Do.
Looks like I have to blog for my programming course so let's get started!
I don't have much experience with this type of programming language since I studied Turing, I was extremely intimidated by the interface that C# provided! I wasn't able to log in today because I wasn't registered in the system but I had the chance to mess around with buttons and labels. It reminded me of using the interface in Visual Basic.I had no idea what a Windows form was before today but I learnt that it was sort of a window that could be decked out with buttons and labels and stuff. I also learnt some lessons on basic naming conventions such as naming text boxings txt, labels lbl, and buttons btn.
We didn't do a Hello World program off the bat but I was able to make my own using "MessageBox.Show("Hello World!"). I was pretty impressed how simple it was making a dialog box appear using only a single line of code but I guess I wasn't used to using such an advanced language. The syntax looks pretty complicated but I think I'm capable of mastering it. That's about it for today, I'll hopefully get around to posting another one soon.
I don't have much experience with this type of programming language since I studied Turing, I was extremely intimidated by the interface that C# provided! I wasn't able to log in today because I wasn't registered in the system but I had the chance to mess around with buttons and labels. It reminded me of using the interface in Visual Basic.I had no idea what a Windows form was before today but I learnt that it was sort of a window that could be decked out with buttons and labels and stuff. I also learnt some lessons on basic naming conventions such as naming text boxings txt, labels lbl, and buttons btn.
We didn't do a Hello World program off the bat but I was able to make my own using "MessageBox.Show("Hello World!"). I was pretty impressed how simple it was making a dialog box appear using only a single line of code but I guess I wasn't used to using such an advanced language. The syntax looks pretty complicated but I think I'm capable of mastering it. That's about it for today, I'll hopefully get around to posting another one soon.
Subscribe to:
Comments (Atom)