This didn't really work and this is something i will address next lesson with a clear head.
Thursday, 31 May 2012
1st - June - END
Today i looked at a number of games you want to play function adding to my version 2 of my program.
1st June - Start
Today i plan to add a "How many games do you want to play" to the start of my program. this will be included in version 2.
Thursday, 24 May 2012
25/May - End
Today i put my first version of my program into python. It had many bugs.
This was my first run after writing it out. After this i went back to my code and found that i had repeated one of my statements, on accident. I then removed the mistake and ran the program again.

This was my first run after writing it out. After this i went back to my code and found that i had repeated one of my statements, on accident. I then removed the mistake and ran the program again.
This time i found a typo in my code. I now realize i am going to have a lot of these that i will have to proofread my code a lot.
Something good did come out of this test as i did get a chance to test my unexpected boundary cases, which seem to be in working order. Hooray!
I found what was causing the error and all it was, was a simple (x).
I then fixed this and tested my program again.
The program seems to run! It has working inputs and tells the user if the guess
is in the word or not but does not end once finishing the word. The program
will need a lot of work still to be done on it but this is a great step for my
assessment as i now know that my program kind of works.
==================================EDIT==================================
I tested my program with the word "hi" and found out that my program does end, it just doesn't recognize double letters in a word. I knew this was going to be a problem but I will find a way around this. The program also tells the user when they loose, which is great because it means it is working properly. If the user gets 12 guesses wrong it tells the user they loose and what the word was.
25/May - Start
This lesson i plan to put my algorithm v2 into python for a test. I realize it will have many bugs i will have to fix.
Monday, 21 May 2012
22/May - END
Today i decided to put all of my processes into separate modules so they can be called when needed. I found out how i can use an array and how to remove letters out of it. Next time i plan to produce version 2 of my pseudo code with modules and arrays.
22/May - Start
Today i found out that when my pseudo code tells the user to guess again nothing happens. It will print the instruction but nothing will happen afterwards. To fix this i will create a working function for my pseudo code to make sure that the user can guess again when they input an invalid guess. I plan to do this by putting my main working into a module to make sure that it can be called when needed.
Sunday, 13 May 2012
14/May - End
Today i created my algorithm log, I finished specifying my variables and started to list my inputs and outputs.
I also decided to have a play again function in my algorithm. I will do this by putting my main process into a module and when the “play again” module is called it will ask the user if they want to play again, (y, n). If the user answers yes, the program will run the “Main” module. If no, the program will use the function inside python called “exit()” which will terminate the program. This will be included in version 2 of the algorithm which i plan to make soon.
I also decided to have a play again function in my algorithm. I will do this by putting my main process into a module and when the “play again” module is called it will ask the user if they want to play again, (y, n). If the user answers yes, the program will run the “Main” module. If no, the program will use the function inside python called “exit()” which will terminate the program. This will be included in version 2 of the algorithm which i plan to make soon.
14/May - Start
Today i plan to create an algorithm log so i can log my changes to my algorithm in one text document, but of course all my logs will be on my blog too, to prove that i did these changes when i said i did.
Thursday, 10 May 2012
11 May - Home
I just finished reviewing my Managing achievement standard to make sure I had finished everything that it said on the marking schedule
11 May - End
Today i converted my flowchart into detailed pseudo code and listed my variables their scopes and data types.
11 May - Start
Today i plan to convert my flowchart into pseudo code and add modules where needed to enhance efficiency
Monday, 7 May 2012
8th/May - End
Today we had a look at the marking schedule for all assessments and figured what i had to do to get excellence. I also made my flow chart more suitable and easier to read. I also created some new ideas to make my program more efficient and added them into my flow chart.
8th/May - Start
Today I plan to create a more indepth flow chart/algorithm and annotate all my modules ect.
Thursday, 3 May 2012
4th/May - End
Today i played around with python testing if things in my algorithm would work and they did, Next lesson i plan to go back to my algorithm and edit/add annotations to make it more clear and define modules.
Wednesday, 2 May 2012
3rd May - End
Today i think i finished my algorithm in flowchart form. Although i think i may have to come back and make some changes to this next lesson as it needs to be more detailed. (Annotated)
Subscribe to:
Posts (Atom)