[운영체제] 운영체제의 전반적인 기초지식

운영체제 개념

  • Computer Hardware(CPU,I/O)를 관리해주면서 동시에 여러 application들이 작동할 수 있는 환경을 제공해주는 Software
  • HW를 사용할 수 있도록 기능 제공
  • HW & 사용자, 응용프로그램 & 시스템프로그램 사이에서 인터페이스 제공
  • 응용프로그램을 제어
  • 컴퓨터 시스템을 보호하려고 입출력을 제어하고 데이터를 관리, 시스템 오류 예방
  • 처리량 향상, 지연 및 응답시간 단축, 신뢰도 향상, 사용 가능도 향상

Continue reading

[cpp] 한 쌍의 데이터를 정렬하기

백준 11650번 : 한 쌍의 데이터를 정렬하기

흔히 우리가 알고있는 알고리즘은 int arr[10]등 과 같이 1개의 데이터에 대하여 정렬을 한다. 그런데 백준 11650번에서는 좌표값(x,y)을 입력받아서 x에 따라 정렬하고 x가 같을 경우 y에 따라 정렬해 출력해야 했다.

Continue reading

[java] LinkedHashMap에서 containsKey

코드

public class TestClass{
        public String one;
        public String two;
        TestClass(String one, String two){
            this.one=one;
            this.two=two;
        }
    }
    public void testPersonWord(){
        LinkedHashMap<TestClass, Integer> testMap= new LinkedHashMap<>();
        TestClass temp= new TestClass("hdy","hello");
        testMap.put(temp,3);
        TestClass temp2= new TestClass("hdy","hello");
        if(testMap.containsKey(temp2)){
            testMap.replace(temp2,5);
        }else{
            testMap.put(temp2,8);
        }
    }

Continue reading

Pagination


© 2019.04. by h-dyeon

Powered by theorydb