{"action":"created","issue":{"url":"https://api.github.com/repos/CS149-3/homework5/issues/5","repository_url":"https://api.github.com/repos/CS149-3/homework5","labels_url":"https://api.github.com/repos/CS149-3/homework5/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/CS149-3/homework5/issues/5/comments","events_url":"https://api.github.com/repos/CS149-3/homework5/issues/5/events","html_url":"https://github.com/CS149-3/homework5/issues/5","id":139757459,"number":5,"title":"C-SCAN","user":{"login":"flip40","id":10754057,"avatar_url":"https://avatars.githubusercontent.com/u/10754057?v=3","gravatar_id":"","url":"https://api.github.com/users/flip40","html_url":"https://github.com/flip40","followers_url":"https://api.github.com/users/flip40/followers","following_url":"https://api.github.com/users/flip40/following{/other_user}","gists_url":"https://api.github.com/users/flip40/gists{/gist_id}","starred_url":"https://api.github.com/users/flip40/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flip40/subscriptions","organizations_url":"https://api.github.com/users/flip40/orgs","repos_url":"https://api.github.com/users/flip40/repos","events_url":"https://api.github.com/users/flip40/events{/privacy}","received_events_url":"https://api.github.com/users/flip40/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"isabelchan","id":14025243,"avatar_url":"https://avatars.githubusercontent.com/u/14025243?v=3","gravatar_id":"","url":"https://api.github.com/users/isabelchan","html_url":"https://github.com/isabelchan","followers_url":"https://api.github.com/users/isabelchan/followers","following_url":"https://api.github.com/users/isabelchan/following{/other_user}","gists_url":"https://api.github.com/users/isabelchan/gists{/gist_id}","starred_url":"https://api.github.com/users/isabelchan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isabelchan/subscriptions","organizations_url":"https://api.github.com/users/isabelchan/orgs","repos_url":"https://api.github.com/users/isabelchan/repos","events_url":"https://api.github.com/users/isabelchan/events{/privacy}","received_events_url":"https://api.github.com/users/isabelchan/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2016-03-10T01:47:16Z","updated_at":"2016-03-12T23:11:10Z","closed_at":null,"body":"http://www.cs.iit.edu/~cs561/cs450/disksched/disksched.html\r\nhttps://en.wikipedia.org/wiki/LOOK_algorithm\r\n\r\nSuppose that a disk drive has 5000 cylinders, numbered 0 to 4999. The drive is currently serving a request at cylinder 2255, and the previous request was at cylin-der 1723. The queue of pending requests, in FIFO order, is: 2055, 1175, 2304, 2700, 513, 1680, 256, 1401, 4922, 3692 For each of the following disk-scheduling algorithms, starting from the current head position, what is the order of cylinders visited by the head? What is the total distance (in cylinders) that the disk arm moves to satisfy all the pending requests for each of the following disk-scheduling algorithms?\r\n"},"comment":{"url":"https://api.github.com/repos/CS149-3/homework5/issues/comments/195823624","html_url":"https://github.com/CS149-3/homework5/issues/5#issuecomment-195823624","issue_url":"https://api.github.com/repos/CS149-3/homework5/issues/5","id":195823624,"user":{"login":"isabelchan","id":14025243,"avatar_url":"https://avatars.githubusercontent.com/u/14025243?v=3","gravatar_id":"","url":"https://api.github.com/users/isabelchan","html_url":"https://github.com/isabelchan","followers_url":"https://api.github.com/users/isabelchan/followers","following_url":"https://api.github.com/users/isabelchan/following{/other_user}","gists_url":"https://api.github.com/users/isabelchan/gists{/gist_id}","starred_url":"https://api.github.com/users/isabelchan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isabelchan/subscriptions","organizations_url":"https://api.github.com/users/isabelchan/orgs","repos_url":"https://api.github.com/users/isabelchan/repos","events_url":"https://api.github.com/users/isabelchan/events{/privacy}","received_events_url":"https://api.github.com/users/isabelchan/received_events","type":"User","site_admin":false},"created_at":"2016-03-12T23:11:10Z","updated_at":"2016-03-12T23:11:10Z","body":"Oh shoot. I just looked at the example online, and you are write. If you want, you can use this for C-Look, and I can fix C-Scan tonight, and scan the right fixed version of C-Scan by tonight."}}