Friday, January 24, 2014

The quizzer

The script outlined below is essentially a set of electronic flash cards. There are all sorts of websites & programs that offer similar functionality.  That being said, I had a large set of terms I wanted to memorize, and this seemed like a fun way to get a little more Powershell experience.  

Many parts of the script are VERY basic, but there were a few parts (Get-Random and hash tables) that were interesting to explore.  

Here is an overview of the components of the script:

1) Read in a CSV of terms and definitions
2) Randomly pick a Term / Definition to quiz the user on
3) Generate a hash of the correct term (answer) and 4 other false answers
4) Randomize the hash and present to the user
5) Prompt the user to select an answer and evaluate the response

Click here for the full script



No comments:

Post a Comment