Ryan Bowen 2011. Powered by Blogger.
RSS
Showing posts with label assignment. Show all posts
Showing posts with label assignment. Show all posts

Assignment Information

Alright here's a little information on the assignment I'm currently working on:

We have to be highly modularised, which means pretty much every minor action in the program gets its own function and is all stored in separate files instead of one chunk of code. Apparently this is less confusing, whoever believes this is stupid.

We have to make a program that generates random numbers, then subs those random numbers into an equation which somehow integrates the equation, not sure how sound the mathematics is but who cares it's worth 15% of this subject.

It's not going too well at the moment, it's due in two days. I'll post more progress up until then but don't expect me to do very well as it pretty much covers all the topics I'm yet to learn.

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

Big Update!

Well I finally picked up the 6th edition of C: How To Program, the only difference is that some chapters are removed as far as I can tell; a little disappointing.

Also an update on what I've been doing: working bloody hard! It's mid-semester which means loads of assignments are due. Specifically programming this Monday, a program using random numbers; an audio editing assignment next Friday; a piece of fiction due tomorrow and a maths test every week with an extra maths test on Tuesday.

I'll post more information on the programming assignment this weekend where I'll be working most on it! It's certainly been a busy time.

Also: I received a reply regarding posting code. Unfortunately I cannot post it all since it might be plagiarised, what I can do is post parts and discuss what I did without giving future students something to copy and paste. So expect that soon too!

Enjoy this big update!

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

Assignment 2 Retry

Well as you saw yesterday I finally completed my retry of the first of last semester's assignments. I also began to re-do the second one which seems strange considering I got a mark of 97/100 for that one. But I'm a perfectionist so I want to get 100/100 for it.

My second reasoning is also because the third assignment is a mixture of the first two, so the more perfect they are the better it will be.

Expect me to begin assignment 3 retry sometime this week. I'm still waiting on confirmation if I can post university assignment code online or not so bear with me on that.

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

Hallelujah!

Finally! I have completed my re-doing of my assignment from last semester; best of all I fixed all the errors by myself!

It's far from an exciting or even perfect program but I'm proud I finally finished it. I'll get to work on retrying the second and third ones too, which I actually found a lot lot easier than this one when they were first due so expect them soonish.

I'll post the code itself asap; I'm currently double-checking everything and I'll add comments so newbies can understand the code itself!

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

Assignment Retry Update

Well I'm happy to say I've made great progress, I'm pretty much done! There's just a small error that causes the program to crash right at the end instead of being happy and finishing.

Once I figure out the problem I'll be done! I'll post the code on here with a nice explanation so you can see what it is that's been killing me for the last few months!

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

Good News And Bad News: Including Assignment Retry Update #2

I'm feeling very disheartened, this assignment was for people with only a few weeks knowledge of C, I've been doing C for months and can't quite get this to work!

I've made good progress but the fact that this progress hasn't been swift makes me feel a little disappointed in myself as I feel as if my skills should be much more progressed by now.

Good news after the jump:

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

Assignment Retry Update #1

I'm having a lot of trouble with this assignment, as I did the first time around, except that was justified since I was new to C; this is inexcusable that I'm doing so terribly to make this program work!

I'll be working on it for the next hour or two but I'm not feeling very confident, maybe I'll do some more reading of my textbook on strings since that seems to be where I'm going wrong.

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

I Make A Foolish Mistake, As Usual

For those of you who understand programming, take a look at this code and have a good laugh at me:



For those who don't understand where I went wrong, here's what I stupidly did:

I set it so that if the user entered something that wasn't a digit, it would ask them to type a new value.

Alas I thought I was being clever by using "confirmed--" which tells the code to reduce the value of confirmed by one. What I didn't consider what that, if the user did it wrong more than once, the value of confirmed would plummet into negative numbers and the loop would last forever. Even if the user did enter a correct digit!

I'm working on fixing it now, I haven't had much time to work this week but I intend on catching up!

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

Total Pageviews