Wednesday, 26 November 2014

First Python Code


Today in class we started off with our new topic, Python. We started with the basics, using Print. We got it to asks us what are names were and to say hello, followed by our name. Another thing we learnt was how to use the If and elif statement to start off.

Tuesday, 25 November 2014

Evaluation

For my Quiz, if i had more time i would have ensured that my quiz worked and my main sprite asked all of the questions with working answer sprites. I also would make sure the coding for all of the quiz worked without faults. If i had more time i would have, when 3 answers were answered wrong, a fail screen replace the main screen. I think my question sprite code would have worked if i had the time to continue and my answer box sprites almost worked.

Testing Strategy and plan (unmarked)

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 ... to test certain parts of it. I shall be a test buddy for...
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 Quiz Questions must make sense.
Test 8: The quiz must have at least two different screens/stages.
Test 9: The quiz must have at least one working variable.
Test 10: 
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?

Wednesday, 19 November 2014

Testing Strategy & 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 ... to test certain parts of it. I shall be a test buddy for...
Here are the tests:-


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

A mistake i made was to not add instructions for the user, it goes straight into the questions. 


Test 2: The program must be error-free

My scratch quiz has minor faults throughout, some i do not know how to fix and on one of the sprites the code is incomplete.

Test 3: The program must have meaningful variables.


I have variables for question numbers, score to keep track for the user, for a wrong answer and question.

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.

My blog has all of the correct posts for the construction of the quiz.


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


I have used the question numbers in the code, from 1-5.


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


My quiz has a variable to keep track of the answered questions, but the code has a few faults in it so it does not work fully.


Test 7: The Quiz Questions must make sense.

All of my questions for the quiz make sense, and two are related to the main sprite's appearance.

Test 8: The quiz must have at least two different screens/stages.

I have four different screens for my quiz, one for the start, one for the end, one for the main screen and a fail screen if 3+ answers are answered wrong.

Test 9: The quiz must have at least one working variable.

My question variable works and counts the question the user is on correctly. 


Test 10: 
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?

Tuesday, 11 November 2014

Continuing our Quiz

Since my last post, Our class has been developing the scripts for our main sprite and trying to get the questions and answers to work (with the help of our classmate, Kerem). We have made it so our main sprite, and host of the quiz, says the questions for the participant.
Mine is below.