네트워크
-
[Careerthon] OSI 7계층와 TCP/IP 4계층의 차이점네트워크/CS Study 2023. 11. 13. 15:20
차이점 OSI는 개방형 시스템 상호 연결을 나타냅니다. TCP는 전송 제어 프로토콜을 나타냅니다. OSI는 네트워크 계층을 사용하여 라우팅 표준과 프로토콜을 정의합니다. TCP/IP는 인터넷 계층만 사용합니다. OSI는 수직적 접근 방식을 따릅니다. TCP/IP는 수평적 접근 방식을 따릅니다. OSI 모델에서 전송 계층은 연결 지향적입니다. TCP/IP 모델의 계층은 연결 지향적이며 비연결적입니다. OSI 모델에서 데이터 링크 계층과 물리적 계층은 별도의 계층입니다. TCP에서는 물리적 링크와 데이터 링크가 모두 단일 호스트-네트워크 계층으로 결합됩니다. 세션 및 프레젠테이션 계층은 OSI 모델의 일부입니다. TCP 모델에는 세션 및 프레젠테이션 계층이 없습니다. 이는 인터넷 출현 이후에 정의됩니다. 이..
-
[Careerthon] 네트워크 기초네트워크/CS Study 2023. 11. 13. 15:16
개요 네트워크 기본개념 네트워크 토폴로지 네트워크 분류 OSI 7계층 컴퓨터 네트워크 컴퓨터 네트워크란 서로 데이터를 교환하고 리소스를 공유할 수 있는 디지털 전기통신망을 말한다. 네트워크 : 노드(Node)와 링크(Link)가 서로 연결되어 있거나 연결되지 않은 집합체 노드: 서버, 라우터, 스위치 등의 네트워크 장비 링크: 유선, 무선 처리량 : 링크를 통해 전달되는 단위시간당 데이터 양 지연시간: 요청이 처리되는 시간 (두 장치 사이를 어떠한 메시지가 왕복한는 데 걸리는 시간) 매체타입(유,무선), 패킷 크기, 라우터의 패킷처리 시간에 영향을 받음 패킷: 용량이 큰 데이터를 분할해서 전송할 때 사용하는 단위 분할 시 패킷별로 순서가 생성되고 순서에 상관없이 전송된 후 목적지에 정렬 네트워크 토폴로지..
-
[Careerthon] 큐와 스택의 차이, 선형자료구조의 특징네트워크/CS Study 2023. 11. 10. 11:37
선형자료구조의 특징 데이터를 순차적으로 관리하는 자료구조 선형자료구조는 인덱스와 데이터의 1대1구조로 데이터의 접근이 빠른 장점이 있고, 많은 수의 데이터를 처리해야할 때 자주 사용된다. 스택과 큐의 차이 스택은 선입후출의 형태를 띄는데 이는 블록을 쌓고 위에서부터 꺼내는 식으로 마지막의 넣은 값이 가장 먼저 나오는 경우이다 우리가 함수에서 call stack이라고 부르는 것도 스택의 구조로 되어있다. 큐는 선입선출의 형태를 띄기에 먼저 넣은 값이 가장 먼저 출력이 된다 프린트를 할 때 page가 1번부터 출력이 된다면 큐에 해당하는 경우가 되겠다
-
[Careerthon] 선형자료구조네트워크/CS Study 2023. 11. 10. 11:30
개요 자료구조란? 비선형자료구조 자료구조란? 전산학에서 자료를 효율적으로 이용할 수 있도록 컴퓨터에 저장하는 방법 효율적인 알고리즘을 사용할 수 있게 해준다. 분류) 선형자료구조란 : 데이터를 순차적으로 나열시킨 형태 비선형자료구조 : 하나의 데이터 뒤(안)에 여러개의 자료가 존재한다. 선형자료구조 많은 수의 데이터를 사용할 때 index와 데이터의 1 : 1 구조이기에 자주 활용 된다 index를 이용하여 데이터에 접근이 빠르다 추가 삭제시 번거롭다. Array 가장 기본적인 자료구조 논리적 저장순서와 물리적 저장순서가 일치한다. index로 해당 element에 접근한다 삽입, 삭제 과정에서 해당요소를 삭제하는 작업 + 빈공간에 대해 index를 shift해줘야하는 작업까지 요구 됨 O(n)의 시간을..