{"id":26833780,"url":"https://github.com/mr-won/computer_structure_finalexam","last_synced_at":"2025-03-30T15:29:58.769Z","repository":{"id":165625085,"uuid":"640948751","full_name":"mr-won/Computer_Structure_Finalexam","owner":"mr-won","description":"컴퓨터구조 기말고사 정리입니다.","archived":false,"fork":false,"pushed_at":"2023-06-18T14:08:11.000Z","size":7665,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-18T02:27:04.180Z","etag":null,"topics":["computer-structure"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mr-won.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-05-15T13:10:56.000Z","updated_at":"2023-06-14T03:49:42.000Z","dependencies_parsed_at":"2023-07-19T15:15:40.991Z","dependency_job_id":null,"html_url":"https://github.com/mr-won/Computer_Structure_Finalexam","commit_stats":null,"previous_names":["wonttan/computer_structure_finalexam","wonchihyeon/computer_structure_finalexam","chihyunwon/computer_structure_finalexam","mr-won/computer_structure_finalexam","chihyeonwon/computer_structure_finalexam"],"tags_count":null,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mr-won%2FComputer_Structure_Finalexam","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mr-won%2FComputer_Structure_Finalexam/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mr-won%2FComputer_Structure_Finalexam/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mr-won%2FComputer_Structure_Finalexam/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mr-won","download_url":"https://codeload.github.com/mr-won/Computer_Structure_Finalexam/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246338359,"owners_count":20761363,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["computer-structure"],"created_at":"2025-03-30T15:29:58.103Z","updated_at":"2025-03-30T15:29:58.755Z","avatar_url":"https://github.com/mr-won.png","language":null,"readme":"# Computer_Structure_Finalexam\n컴퓨터구조 기말고사 정리입니다.\n\n## 기말고사 풀이\n![image](https://github.com/chihyeonWON/Computer_Structure_Finalexam/assets/58906858/8f9a5f6e-bae1-43f8-99f4-03aadff811f8)\n![image](https://github.com/chihyeonWON/Computer_Structure_Finalexam/assets/58906858/5faa42bc-bca1-488c-a32d-4b7cea629e2d)\n![image](https://github.com/chihyeonWON/Computer_Structure_Finalexam/assets/58906858/f864dc2a-c0fc-4999-af25-7726efbe02ba)\n![image](https://github.com/chihyeonWON/Computer_Structure_Finalexam/assets/58906858/35b614a9-a562-4acb-9372-df355a246af3)\n![image](https://github.com/chihyeonWON/Computer_Structure_Finalexam/assets/58906858/f8b6c360-f3bf-4205-9619-d8a77d0be1c0)\n![image](https://github.com/chihyeonWON/Computer_Structure_Finalexam/assets/58906858/5c64bf74-c52e-4a64-b541-eba84965c255)\n![image](https://github.com/chihyeonWON/Computer_Structure_Finalexam/assets/58906858/8fe062b0-2ed2-4cf8-b87e-377caa778a61)\n\n\n\n[기말고사 정리는 여기서](https://ttl-blog.tistory.com/1096)\n[데이터 Harzard Forwarding](https://velog.io/@embeddedjune/%EC%BB%B4%ED%93%A8%ED%84%B0%EA%B5%AC%EC%A1%B0-%EC%9A%94%EC%95%BD-%EC%A0%95%EB%A6%AC-9.-Pipelined-Architecture-3)\n![image](https://github.com/chihyeonWON/Computer_Structure_Finalexam/assets/58906858/8e9000b9-80cf-4e01-ae6a-0e5031b7e8c8)\n![image](https://github.com/chihyeonWON/Computer_Structure_Finalexam/assets/58906858/aa950302-63f2-4750-9435-37404912f2a3)\n\n\n```\n1번 문제 풀이\n\naverage rotational latency 즉 회전 지연 시간을 구하는 문제이다.\n0.5rotation/(7,200/60RPS) = 4.167 (아마 근삿값으로 오차도 허용)\n\ntransfer time 데이터에 접근해서 데이터를 전송하는데 걸리는 시간 거/속*시, 즉 transfer rate 속도가 34MB/sec 로 주어졌고 거리는 1024byte = 1KB로 주어져있으니까 시간은 거/속 1KB/(34MB/sec) = 0.029ms(오차범위허용) 1/34 해준 값임\n\ncontroller overhead : 문제에서 주어진 480 Mbits/sec을 물리단위 변환하라는 문제 1byte는 8bit니까 (480*M/8)/sec 계산하면 \n60MB/sec 를 ms로 변환하면 1/60 하라는 거 그래서 0.017ms\n\n4개 (average rotational latency + transfer time + controller overhead + average seek time) 다 더하면\n4.167 + 0.029 + 0.017 + 11 = 15.206 \n```\n![image](https://github.com/chihyeonWON/Computer_Structure_Finalexam/assets/58906858/4a3405aa-d429-4cf1-b5ac-4b7bd2b177a5)\n```\n2번 문제 풀이\n```\n![image](https://github.com/chihyeonWON/Computer_Structure_Finalexam/assets/58906858/84f9b370-a5db-4aaa-9266-321e039ed600)\n```\n1번 문제 풀이\n\nblock 개수 = (32K/2)/8 = 2K = 2의 11승 \nindex size = 11\ntag size = 64-(11+1+3) = 49\n\nvalid + tag = metadata\ntotal cache size = #blocks * (valid + tag + data) = 2의11 * (1 + 49 + 2*64)\n\nblock 개수 = (64K/16)/8 = 0.5K = 2의 9승\nindex size = 9\ntag size = 64-(9+4+3) = 48\ntotal cache size = 2의9 * (1 + 48 + 16*64) = 549376 (콤마 쓰지 말것)\n```\n![image](https://github.com/chihyeonWON/Computer_Structure_Finalexam/assets/58906858/1a3afc56-e893-498c-bcaa-2795e32b010f)\n```\n2번 문제 풀이\n\n문제 오류로 생략\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmr-won%2Fcomputer_structure_finalexam","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmr-won%2Fcomputer_structure_finalexam","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmr-won%2Fcomputer_structure_finalexam/lists"}