본문 바로가기
반응형

IT139

운영체제의 정의 및 목표 (3/11/2020) 하드웨어를 제어하는 시스템 소프트웨어 1. 시스템 s/w(관리 프로그램) 응용 s/w(게임, 카톡) 2. 자원을 관리한다 : - h/w : cpu 메모리 i/o process - 실행중인 프로그램 prcoessor - 처리하는, cpu 중앙처리장치 - s/w : system software, game etc 3. 사용자의 편이성 4. 초기 -> rom 현재는 -> ram으로 올리는데, 디스크는 이제 rom역할을 하면서 디스크에 있는 것을 램에 올리면 boot strapping loader 보 -> 주 올리는 방식. rom은 아직도 사용한다. memory = read only memory 전원이 있는 없든 계속 유지 비휘발성, random acess memory 임시저장 휘발성. 펌웨어 = 기계 + sw .. 2020. 3. 11.
IP 주소(3/11/2020) IP 주소는 ipv4 그리고 ipv6가 있다. ipv4는 32bit, xxx.xxx.xxx.xxx, 각 xxx가 8bit를 가지고 있어서 32bit체계이다. 2^32를 하면 4294967296, 의 아이피를 가질 수 있지만 현재로서는 턱없이 부족한 수여서 ipv6, 126bit를 가진 ip를 만들었다. 하지만 공유기를 통해 많은 아이피를 사용할 수 있게됐다. ip는 a,b,c,d,e클래스가 존재하며, 현재는 a,b,c만 사용한다. 클래스 상위비트 상위 8비트 클래스범위 a 0 00000000~01111111 0.0.0.0 ~ 127.0.0.0 b 10 10000000~10111111 128.0.0.0 ~ 191.0.0.0 c 110 11000000~11011111 192.0.0.0 ~ 223.0.0.0 .. 2020. 3. 11.
Checked vs Unchecked 2020. 3. 5.
Git https://github.github.com/training-kit/downloads/github-git-cheat-sheet/ https://try.github.io/ Git branches are simply pointers pointing to a specific command. Branch early, and branch often. rebase in git HEAD - symbolic name for currently checked out commit. always points to the most recent commit. instead of checking out to a branch, you could check out towards specific commit. Caret(^) - tr.. 2020. 3. 4.
Design ToolBox object composition - composition simple defines HAS-A relation. For example, abstract factory pattern uses object composition, having many interfaces in the abstract factory showing a has-a relationship. OO Basics - Abstraction - Encapsulation - wrapping up of data under a single unit. (varies variables under a class) - Polymorphism - the ability of an object to take on many forms. (person, empl.. 2020. 2. 29.
Strategy Pattern Strategy pattern is useful when we want our application to be flexible. Made up of strategy and context. Source code : https://github.com/Tonyzorz/DesignPatterns/tree/master/bin/behavior/strategy 2020. 2. 28.
반응형