QuizEI.py

 

Flow Chart

unnamed

Pseudo Code

  1. Create variable for name, score count, errors for each question, as well as the correct answers
  2. Ask the user for the name
  3. Tell the user that you will now quiz them
  4. Ask the user “who won the 2016 presidential debate?”
  5. If the user puts an answer other than the choices, tell the user and redirect them back to the question.
  6. If the user gets the question correct, add one point to their score.
  7. If the user gets the question wrong, don’t give them a point
  8. Ask the user “what is the most populated continent in the world?”
  9. If the user puts an answer other than the choices, tell the user and redirect them back to the question.
  10. If the user gets the question correct, add one point to their score.
  11. If the user gets the question wrong, don’t give them a point
  12. Ask the user “How old was Harambe when he was killed?”
  13. If the user puts an answer other than the choices, tell the user and redirect them back to the question.
  14. If the user gets the question correct, add one point to their score.
  15. If the user gets the question wrong, don’t give them a point.
  16. Ask the user “What is the spiciest pepper in the world?”
  17. If the user puts an answer other than the choices, tell the user and redirect them back to the question
  18. If the user gets the question correct, add one point to their score.
  19. If the user gets the question wrong, don’t give them a point.
  20. Ask the user “Who is the best teacher in UA Maker?”
  21. If the user puts an answer other than the choices, tell the user and redirect them back to the question
  22. If the user gets the question correct, add one point to their score.
  23. If the user gets the question wrong, don’t give them a point.
  24. Give the user the score they got
  25. Tell the user which questions they got wrong

First Revision

qqq1

SecondĀ revision

qqq2

Final

qq

qq1qq2

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s