본문 바로가기

Archived(CSE)

(49)
Chap 13. Ethernet Chap 13. Ethernet * Ethernet, Token, ATM 중 유일하게 살아남은 유선 LAN* IEEE 802 project ( 여러 device 간 통신을 가능케 하는 프로젝트 ) - Datalink - llc/mac * Standard - fast - gigabit - 10 gigabit Ethernet * Standard Ethernet* 특징 - 비연결형, 비신뢰성* field ( preamble(도착), SFD(시작), DA, SA, type, data and padding, CRC )* 최소 프레임 크기 18 + (48~1500)* 주소 지정 방식 (uni(짝수), multi(홀수), broad) * 효율성 - 1/ 1+6.4*a(전파지연/전송지연) - 지연을 구하는 방식은 양o..
Chap 10. User Interface Design Chap 10. User Interface Design * System Interface(machine), User Interface(machine - user)* 6 principle - layout, contents awareness, aesthetics, user experience, consistency, minimum effort* Layout - area* Contents awareness - 어디있는지 계속 인지 할 수 있도록, 어떻게 도달하는지* Aesthetics - simple / density* User Experience - ease of learning, use* Consistency - Navbar * Minimum effort - 3 click * User interface D..
Chap 7. Event-Driven Programming (Chap 6. signal - 동기/비동기, Signal(signum, SIG_IGN or SIG_DFL or function))\ Chap 7. Event-Driven Programming * Lcurses * sleep / alarm* Time - real / virtual(user) / profile(user+kennel)* struct Itimerval - value, interval -> 반복 알람* setitimer(time kind, itimerval, old itimerval)* multi signal * sigaction - struct sigaction.sa_handler - 함수 , sa_flag - 옵션, sa_mask * sigset_t - emptyset, addset -> s..
Chap 11. Physical Architecture layer Design Chap 11. Physical Architecture layer Design * SW components(Data storage, Data access, Application, Presentation logic) / HW components (Server,Client , Network)* Server-based Architecture ( all logic in Server ) - cost, developing cost* Client-based Architecture ( file server / data access, app, presentation - client ) - security, maintainability* Client-Server Architecture ( thin client - pre ..
Team project. 산성비(한컴타자연습) cover 게임 구상 참조: 1) https://m.blog.naver.com/PostView.nhn?blogId=lime94&logNo=220916520534&proxyReferer=https%3A%2F%2Fwww.google.co.kr%2F2) http://janghw.tistory.com/entry/%EC%8B%9C%EC%8A%A4%ED%85%9C-%ED%94%84%EB%A1%9C%EA%B7%B8%EB%9E%98%EB%B0%8D-%ED%8C%80%ED%94%84%EB%A1%9C%EC%A0%9D%ED%8A%B8-4 우리 조는 한컴 타자연습의 산성비 게임을 cover하여 게임을 제작하기로 하였다.이미 오픈 소스로 많이 배포되어 있기에 참고하여 제작하기로 하였는데 몇 가지 차별성을 두기로 하였다. 그리고 다음은 예상 실행 화..
Chap 12. MAC(Media Access Control) Chap 12. MAC(Media Access Control) * Random Access Protocol (RAP) - ALOHA, CSMA/CD, CSMA/CA* ALOHA - Tm * 2 -time out (Cnt max - abort)* vulnerable time - Tfr * 2 * Process volume - G(frame count) * e ^-2G* slotted ALOHA - vulnerable time - Tfr* Process volume - G(frame count) * e ^-G * CSMA (carrier sense multiple access) 충돌 낮추고 성능 높이고* 보내기 전 체크를 하는 것* persistent - 1 non p* CSMA/CD* Tfr >= 2 * ..
Chap 8. Class and Method Design Chap 8. Class and Method Design * Polymorphism ( dynamic binding), (encapsulation, information hiding)* Inheritance * Design Criteria - Coupling, Cohesion, (Connascence)* Coupling - method, inheritance Level - no direct coupling, data, stamp, control, global, pathological* Cohesion - method, classMethod Cohesion Level - Functional, Sequential, Communicational, Procedure, Temporal, Logical, Coinc..
Chap 11. Connecting to Processes Near and Far Servers and Sockets Chap 11. Connecting to Processes Near and Far Servers and Sockets * Unix - one Interface(FILE IO interface) -> disk, device, pipe, socket* Client -Server Processclient - interface / server - service supply* example) BC(client) - DC(server)* BC - DC * fdopen(fd, 모드), fopen(filename, 모드), popen(명령어, 모드) => FILE * 반환* popen() -> fp 값으로 fprintf fscanf 등 가능 * Socket server, client* socket Server - so..