μ 체 κΈ
-
[OS] νλ‘μΈμ€μ μμ±κ³Ό νλ‘μΈμ€ κ°μ νλ ₯Computer Science/OS 2023. 1. 12. 18:56
μμ€ν μ΄ λΆν λ ν μ΅μ΄μ νλ‘μΈμ€λ μ΄μ체μ κ° μ§μ μμ±νμ§λ§ κ·Έ λ€μλΆν°λ μ΄λ―Έ μ‘΄μ¬νλ νλ‘μΈμ€κ° λ€λ₯Έ νλ‘μΈμ€λ₯Ό 볡μ μμ±νκ² λ©λλ€. μ΄ λ νλ‘μΈμ€λ₯Ό μμ±ν νλ‘μΈμ€λ₯Ό λΆλͺ¨ νλ‘μΈμ€λΌκ³ νκ³ , μλ‘κ² μμ±λ νλ‘μΈμ€λ₯Ό μμ νλ‘μΈμ€λΌκ³ νλ€. νλ‘μΈμ€μ μΈκ³μμ , μμμ΄ λ¨Όμ μ£½κ³ μ΄μ λν μ²λ¦¬λ μμμ μμ±νλ λΆλͺ¨ νλ‘μΈμ€κ° λ΄λΉνλ λ°©μμΌλ‘ μ§νλλ€. νλ‘μΈμ€ μμ±(Process Creation) λΆλͺ¨ νλ‘μΈμ€κ° μμ νλ‘μΈμ€ μμ± νλ‘μΈμ€μ νΈλ¦¬(κ³μΈ΅ ꡬ쑰) νμ± νλ‘μΈμ€λ μμ μ μννκΈ° μν΄μλ μμμ νμλ‘ ν¨ μμ νλ λ°©λ² μ΄μ체μ λ‘λΆν° λ°λλ€ λΆλͺ¨μ 곡μ νλ€ μμμ 곡μ λΆλͺ¨μ μμμ΄ λͺ¨λ μμμ 곡μ νλ λͺ¨λΈ μΌλΆλ₯Ό 곡μ νλ λͺ¨λΈ μ ν 곡μ νμ§ μλ λͺ¨λΈ μν(Execu..
-
[OS] μ°λ λμ λ©ν°μ°λ λComputer Science/OS 2023. 1. 5. 14:25
http://www.kocw.net/home/cview.do?lid=29d9a718cff884c3 μ΄μ체μ μ΄μ체μ λ μ»΄ν¨ν° νλμ¨μ΄ λ°λ‘ μμ μ€μΉλλ μννΈμ¨μ΄ κ³μΈ΅μΌλ‘μ λͺ¨λ μ»΄ν¨ν° μμ€ν μ νμμ μΈ λΆλΆμ΄λ€. λ³Έ κ°μ’μμλ μ΄μ κ°μ μ΄μ체μ μ κ°λ κ³Ό μν , μ΄μ체μ λ₯Ό ꡬμ±νλ κ° www.kocw.net Process2 λκΈ°μ μ μΆλ ₯κ³Ό λΉλκΈ°μ μ μΆλ ₯, νλ‘μΈμ€ μ€μΌμ€λ§ νμ λͺ¨μ΅, Thread http://www.kocw.net/home/cview.do?lid=54e1a4abcd59272d μ΄μ체μ μ΄μ체μ λ μ»΄ν¨ν° νλμ¨μ΄ λ°λ‘ μμ μ€μΉλλ μννΈμ¨μ΄ κ³μΈ΅μΌλ‘μ λͺ¨λ μ»΄ν¨ν° μμ€ν μ νμμ μΈ λΆλΆμ΄λ€. λ³Έ κ°μ’μμλ μ΄μ κ°μ μ΄μ체μ μ κ°λ κ³Ό μν , μ΄μ체μ λ₯Ό ꡬμ±νλ κ° www.kocw...
-
[OS] μ΄μ체μ νλ‘μΈμ€, μ€μΌμ€λ¬Computer Science/OS 2022. 12. 29. 19:02
http://www.kocw.net/home/cview.do?lid=b31830a2b3cf1e60 μ΄μ체μ μ΄μ체μ λ μ»΄ν¨ν° νλμ¨μ΄ λ°λ‘ μμ μ€μΉλλ μννΈμ¨μ΄ κ³μΈ΅μΌλ‘μ λͺ¨λ μ»΄ν¨ν° μμ€ν μ νμμ μΈ λΆλΆμ΄λ€. λ³Έ κ°μ’μμλ μ΄μ κ°μ μ΄μ체μ μ κ°λ κ³Ό μν , μ΄μ체μ λ₯Ό ꡬμ±νλ κ° www.kocw.net Process 1 νλ‘μΈμ€μ κ°λ , νλ‘μΈμ€μ μν(Process State), νλ‘μΈμ€μ κ°λ , νλ‘μΈμ€ μνλ, Process Control Block(PCB), λ¬Έλ§₯κ΅ν(Context Switch), νλ‘μΈμ€λ₯Ό μ€μΌμ€λ§νκΈ° μν ν, Ready Queueμ λ€μν Device Queue, μ€μΌμ€λ¬(Scheduler) νλ‘μΈμ€ μ€ν μ€μΈ νλ‘κ·Έλ¨ νλ‘μΈμ€μ λ¬Έλ§₯ νλ‘μΈμ€κ° νμ¬ μ΄λ€ μνμμ ..
-
[OS] μμ€ν ꡬ쑰μ νλ‘κ·Έλ¨ μ€νComputer Science/OS 2022. 12. 29. 14:24
https://core.ewha.ac.kr/assets/publish/C0101020140314151238067290 λ°ν¨κ²½ [μ΄μ체μ ] 4. System Structure & Program Execution 2 μ€λͺ μ΄ μμ΅λλ€. core.ewha.ac.kr System Structure & Program Execution 2 μ»΄ν¨ν° μμ€ν ꡬ쑰, μΈν°λ½νΈ(Interrupt), λκΈ°μ μ μΆλ ₯κ³Ό λΉλκΈ°μ μ μΆλ ₯, μμ€ν μ½(System Call), DMA(Direct Memory Access), μλ‘ λ€λ₯Έ μ μΆλ ₯ λͺ λ Ήμ΄, μ μ₯μ₯μΉ κ³μΈ΅ ꡬ쑰, νλ‘κ·Έλ¨μ μ€ν(λ©λͺ¨λ¦¬ load), 컀λ μ£Όμ 곡κ°μ λ΄μ©, μ¬μ©μ νλ‘κ·Έλ¨μ΄ μ¬μ©νλ ν¨μ, νλ‘κ·Έλ¨μ μ€ν μ»΄ν¨ν° μμ€ν μ ꡬ쑰 interruptκ° λ€μ΄μλμ§ μ²΄ν¬..
-
[Python] 1744 μλ¬ΆκΈ°Algorithm/λ°±μ€ 2022. 12. 28. 21:22
1. λ¬Έμ π https://www.acmicpc.net/problem/1744 2. μ μΆλ ₯ μ π 3. μκ³ λ¦¬μ¦ β - μ΅λκ° λμ€κΈ° μν΄μ μμμμ κ²½μ°μ μ 1) μμ * μμ κ²½μ°μ μ 2) μμ + μμ κ²½μ°μ μ 3) μμ * 0 κ²½μ°μ μ 4) μμ 4κ°μ§ μ€μ μ΅λ κ°μ μμλ κ²½μ°μ μ 1) μμ * μμ κ²½μ°μ μ 2) μμ + μμ κ²½μ°μ μ 3) μμ 3κ°μ§ μ€μ μ΅λ κ°μ λν΄μΌνλ€ λ°λΌμ μΈνμ λ°λ‘ λ°λ‘ λ°μμ£Όμ΄ λͺ¨λ κ²½μ°μ μλ₯Ό λ°μ Έμ€λΉ 4. μμ€μ½λ π» import sys input = sys.stdin.readline N = int(input().strip()) negative_arr = [] zero_arr = [] positive_arr = [] for i in ran..
-
[OS] μ»΄ν¨ν° μμ€ν ꡬ쑰Computer Science/OS 2022. 12. 27. 03:35
http://www.kocw.net/home/cview.do?lid=36f314da6dc42576 μ΄μ체μ μ΄μ체μ λ μ»΄ν¨ν° νλμ¨μ΄ λ°λ‘ μμ μ€μΉλλ μννΈμ¨μ΄ κ³μΈ΅μΌλ‘μ λͺ¨λ μ»΄ν¨ν° μμ€ν μ νμμ μΈ λΆλΆμ΄λ€. λ³Έ κ°μ’μμλ μ΄μ κ°μ μ΄μ체μ μ κ°λ κ³Ό μν , μ΄μ체μ λ₯Ό ꡬμ±νλ κ° www.kocw.net System Structure & Program Execution 1 μ»΄ν¨ν° μμ€ν ꡬ쑰, Mode bit, Timer, Device Controller, μ μΆλ ₯(I/O)μ μν, λκΈ°μ μ μΆλ ₯κ³Ό λΉλκΈ°μ μ μΆλ ₯, μμ€ν μ½(System Call), μΈν°λ½νΈ(Interrupt) μ»΄ν¨ν° μμ€ν ꡬ쑰 λ©λͺ¨λ¦¬: cpu μμ κ³΅κ° λ¬΄ν루νλ₯Ό λλ νλ‘κ·Έλ¨ → κ³μ CPUλ§ μ¬μ© κ·Έλμ timer λΌλ νλμ¨..
-
[Python] 1541 μμ΄λ²λ¦° κ΄νΈAlgorithm/λ°±μ€ 2022. 12. 27. 02:14
1. λ¬Έμ π https://www.acmicpc.net/problem/1541 2. μ μΆλ ₯ μ π 3. μκ³ λ¦¬μ¦ β 그리λ -> μ΅μλ‘ λ§λ€λ €λ©΄ - μμμ κ΄νΈλ‘ λ¬Άμ΄μ -λ₯Ό μ΅λν λ§μ΄ λ§λ€μ΄μ€μΌν¨ 4. μμ€μ½λ π» import sys input = sys.stdin.readline().strip() input_arr = [] num = '' index = 0 temp = input # μ«μμ κΈ°νΈλ₯Ό λΆλ¦¬ν΄μ£Όλ μμ while len(input) != 0: if input[0] == '-' or input[0] == '+': input_arr.append(int(num)) num = '' input_arr.append(input[0]) else: num += input[0] index += 1 inp..
-
[OS] μ΄μ체μ μ μ, κΈ°λ₯, λΆλ₯, ꡬ쑰Computer Science/OS 2022. 12. 27. 00:34
http://www.kocw.net/home/cview.do?lid=af8e05c97c6d60de μ΄μ체μ μ΄μ체μ λ μ»΄ν¨ν° νλμ¨μ΄ λ°λ‘ μμ μ€μΉλλ μννΈμ¨μ΄ κ³μΈ΅μΌλ‘μ λͺ¨λ μ»΄ν¨ν° μμ€ν μ νμμ μΈ λΆλΆμ΄λ€. λ³Έ κ°μ’μμλ μ΄μ κ°μ μ΄μ체μ μ κ°λ κ³Ό μν , μ΄μ체μ λ₯Ό ꡬμ±νλ κ° www.kocw.net Introduction to Operating Systems μ΄μ체μ λ 무μμΈκ°, μ΄μ체μ μ λͺ©μ , μ΄μ체μ μ λΆλ₯, μ΄μ체μ μ μ, μ΄μ체μ μ ꡬ쑰 μ΄μ체μ μ μ μ μ»΄ν¨ν° νλμ¨μ΄ λ°λ‘ μλ¨μ μ€μΉλλ μννΈμ¨μ΄λ₯Ό μλ―Ένλ€. νλμ¨μ΄ μμ κΈ°λ³Έμ μΌλ‘ μ΄μ체μ λ₯Ό νμ¬νμ¬ μ μμ μΌ°μ λ, μμ½κ² μ¬μ©ν μ μλ μνκ° λλλ‘ νλ κ² μ»€λ λ©λͺ¨λ¦¬μ μμ£Όνλ μ΄μ체μ μ λΆλΆ μ΄μ체μ μ½λ μ€μμλ ..