You are viewing a single comment's thread from:
RE: SLC21 Week6 - Programming Games&Puzzles (part 2)
Task | Comment | Grade |
---|---|---|
1. What role do random numbers play in the computer world? How to turn them from "pseudo-random" into more random ones. | You described everything well, even more than necessary))) | 1+/1 |
2. Write a random number generator. Research it. | Навіть двома способами це показали, це дуже добре | 2+/2 |
3. "Deck of cards" - Find several ways to fill the array 1...N - 1 One way - one point. | Your first method is not crude enough, there is even cruder)))) Then there are methods using a logical array, thank you, I forgot and haven't mentioned this method for a long time... and probably the best method is Fisher Yates. Regarding the last two methods, I would avoid something library))) like set, STL... | 4.5/5 |
4. Construct a table of the dependence of the number of operations when generating a deck of N cards for your methods | These are theoretical calculations, it would be better to make practical calculations with the calculation of the average value. | 1.7/2 |
Total: | 9.2/10 |
Thank you for participating.