Wednesday, March 18, 2015

My Website (in progress)

My Website (HTML)
in progress
Here, you can see the main template of my website. I have a banner, 4 buttons and a footer that I have created on Adobe Photoshop and I put the whole thing together in Adobe Dreamweaver. The white part in the middle is where the content will go so i have created an editable region so I can edit the part to make multiple pages. This isn't finished yet, and i will be adding more things in the future (like some actual content) 

Tuesday, January 20, 2015

My Calorie Counter (microsoft excel)


Calorie Counter

This is the main sheet of my calorie counter. One side is for the questions,and the other is for the results. I have used drop-down lists, radio buttons and spinners to allow the user to edit their answers. It calculates your BMI using your weight and height, then it looks up the average BMI for your age. I have not put in this function yet, but i will and when I do I will use the "VLOOKUP" command. It also calculates the number of calories in each meal, each day and each year. To do this i had to find out the calories for each meal of the day, add them up to get the calories for each day, then multiply them by 365.25 to get the calories for each year. I will put a question to see how many calories are burned in a day to make it more accurate.

This is the second sheet of my calorie counter. This is where I keep all the data to make the first sheet work. There is a table on the right of all the foods and their calories. I have made these appear on the first sheet using the "VLOOKUP" command.
On the left there is the calculation to differentiate the results of male and female users.I have not put this in yet, but i shall do so later on.
 
This is the "VLOOKUP" formula that i used. This formula is very effective because it can look at a chart and understand what something means, for example on the charts shown above it says that eggs are 155 calories, if we used "VLOOKUP"on a cell that says eggs, it will be able to understand that eggs are 155 calories.


Here are the differences between a male's and a female's results. The top one is the female results and the bottom is the male results

This is the results for a person who only eats junk food that contains lots of calories.

This is the results for a person who only eats low calorie food.

Tuesday, November 25, 2014

Testing Strategy And Plan (complete)

TESTING STRATEGY & PLAN
I will test my quiz to make sure it works while I create it. I will also test it after I have finished coding to make sure it works fully as planned. I shall do the testing myself but I shall also ask Amirali




to test certain parts of it. I shall be a test buddy for Amirali


Here are the tests:-

Test 1:  The program must have clear instructions for the user.

Test 2: The program must be error-free

DONE

Test 3: The program must have meaningful variables.

Test 4: The program must be documented well in the blog so that I can come back to it at a later date to make alterations to it if needed.

DONE

Test 5: The quiz has to be generated in question number order.

DONE

Test 6: The program has to keep a score of all the correctly answered questions.

DONE

Test 7: The program must have an introduction that welcomes the user.

DONE

Test 8: The program must have meaningful questions and answers.

DONE

Test 9: The program must have a game over screen.

Test 10: The program must have a end of quiz screen.


Wednesday, November 19, 2014

Testing Strategy And Plan

TESTING STRATEGY & PLAN
I will test my quiz to make sure it works while I create it. I will also test it after I have finished coding to make sure it works fully as planned. I shall do the testing myself but I shall also ask Amirali to test certain parts of it. I shall be a test buddy for Amirali


Here are the tests:-

Test 1:  The program must have clear instructions for the user.

Test 2: The program must be error-free

Test 3: The program must have meaningful variables.

Test 4: The program must be documented well in the blog so that I can come back to it at a later date to make alterations to it if needed.

Test 5: The quiz has to be generated in question number order.

Test 6: The program has to keep a score of all the correctly answered questions.

Test 7: The program must have an introduction that welcomes the user.

Test 8: The program must have meaningful questions and answers.

Test 9: The program must have a game over screen.

Test 10: The program must have a end of quiz screen.



TESTING
Add screenshots to each of the test items above as evidence that you have tested them. For each test, explain the various states of the program (e.g. show what happens when the score increases).



EVALUATE

In your blog, evaluate how well your quiz works. What are its strengths? How could you improve it further if you had more time?

My Old Scratch Game





This is a game that i made last year. This was my first actual scratch program. here is a screen shot.
 This is pretty simple. There is three main commands. One to go forward, one to go right and one to go left. there is a bunch of 'if' commands so that when you touch the sides you restart. It also has a second level.

Tuesday, November 11, 2014

The Final Stage Of My Scratch Quizz

This is the completed version of the scratch project i have been working on for a few months now.

I have used a bunch of variables and lists to make the quiz work. A basic explanation of how it works is that when the main character asks the question a message is sent to the other sprites to tell them to change costume to fit the question. It also adds to a variable called 'question' so the behavior of the question sprites changes according to the question. Most of the coding in this quiz is animations and other stuff to make it look and seem nicer and isn't vital. 


Tuesday, October 21, 2014

Scratch Programming Tips 2


Scratch Quiz


This is one of the ways I made my scratch quiz. There were Two ways of making the code for the answer boxes. The one on the left is the better one I made. What i did was I made a variable called 'Answer' so I could add one on to 'Answer' so it changes along with the question that the main sprite is on. The reason for this is so the behavior of the answer boxes when clicked changes accordingly to the question number, So if i were on question 1, answer 'A' may be right but on question 2, answer 'A' may be wrong. This meant that I only had to use 3 answer box sprites for the whole quiz. The code on the right is completely different from the first one. First of all, it has no variable, so what i did for that one was that I made a new sprite for each question and i made different codes for each of them so instead of changing the sprites behavior like the first one did, this one changes the sprite completely! This wasn't as effective because since every question had its own set of 3 sprites, i ended up having to make a total of 15 answer box sprites! I think that the second method is more useful because it requires much less sprites and is much easier to change or spot a problem. Also, the second method was quite buggy and didn't always work properly.