rand
Here are 5 public repositories matching this topic...
Virtual Memory simulator, with directory and table indexing and paging. Also includes replacement algorithms (Rand, FIFO, CLOCK, LRU and OPT) used by the VM
-
Updated
Dec 25, 2017 - C
Write a program that tests the effectiveness of the rand( ) function provided by your compiler. Start by initializing 10 counters, such as onescount, twoscount to tenscount, all to 0. Then generate a large number of random integers between 1 and 10. Each time a 1 occurs, increment onescount; when a 2 occurs, increment twoscount; etc. Finally, pr…
-
Updated
Jul 13, 2020 - C
Improve this page
Add a description, image, and links to the rand topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the rand topic, visit your repo's landing page and select "manage topics."