Projects/Toy Projects
-
SSE 프로토콜을 활용하여 제작한 채팅 애플리케이션Projects/Toy Projects 2021. 9. 28. 11:13
기술 스택 IDE - Visual Studio Code - IntelliJ IDEA Language - HTML - CSS - JavaScript - Java Back-end - Spring Boot - Maven - Lombok Database - Mongo DB 프로젝트 목적 ㆍ 비동기 서버의 특성을 파악한다. ㆍ SSE 프로토콜의 동작 과정을 이해한다. 프로젝트 기능 ㆍ 아이디 입력 기능 ㆍ 채팅방 번호 입력 기능 ㆍ 채팅 기능 비동기 서버의 특성 기존의 서블릿 기반의 스프링(동기 서버) ㆍ 기존의 서블릿 기반의 스프링은 Tomcat을 기반으로 동작하고, 동기방식을 사용한다. ㆍ 동기 서버의 동작 방식은 위 사진과 같이 사용자의 요청이 있을 때마다 스레드가 생성된다. ㆍ 스레드가 많아지면 conte..
-
운동시간을 기록하고 그래프를 통해 확인할 수 있는 애플리케이션Projects/Toy Projects 2021. 9. 23. 17:29
프로젝트 이름 프로젝트 일정 2020.12.23 : Android Studio 설치 및 기본 환경설정 2020.12.24 ~ 2020.12.27 : 키, 몸무게에 따른 BMI 수치 및 몸 상태 출력 기능 구현 2020.12.28 ~ 2020.12.30 : Room 라이브러리를 활용한 데이터베이스 구현 2020.12.31 ~ 2021.01.03 : 날짜별 운동시간에 대한 데이터 처리 로직(삽입, 삭제, 수정) 구현 2021.01.04 ~ 2021.01.07 : 설정 메뉴에 대한 UI 구성 및 기능 구현 2021.01.08 ~ 2021.01.13 : MPAndroidChart 라이브러리를 활용한 그래프 구현 및 테스트 2021.01.14 ~ 2021.01.15 : 그래프 출력에 대한 오류 수정 2021.01..
-
CPU 스케줄링 기법들의 구현 및 벤치마킹 프로그램을 통한 모의실험Projects/Toy Projects 2021. 9. 23. 10:27
프로젝트의 목적 ㆍ 다양한 스케줄링 알고리즘을 직접 구현해 봄으로써 각 스케줄링 기법의 동작 과정을 이해한다. ㆍ 각 스케줄링 알고리즘의 간트차트를 분석하여 특성을 파악한다. ㆍ 구현한 프로그램을 통해 모의실험을 함으로써 각 스케줄링 알고리즘을 평가해 본다. 프로젝트의 내용 ㆍ 여러 가지 스케줄링 기법에 대응하는 벤치마킹 프로그램을 구현한다. ㆍ 구현한 벤치마킹 프로그램을 이용해 모의실험을 진행한다. ㆍ 모의실험을 통해 각각의 스케줄링 기법을 평가한다. 스케줄링 알고리즘의 테스트 ㆍ 각 스케줄링 알고리즘을 공평하게 평가하기 위하여 위 표와 같은 입력 예제를 각 스케줄링 알고리즘에게 동일하게 주어 테스트를 진행하였다. ㆍ 도착시간을 고려하지 않고 구현한 Round Robin 스케줄링은 형평성을 위해 테스트..
-
메모리 교체 정책들의 구현 및 벤치마킹 프로그램을 통한 모의실험Projects/Toy Projects 2021. 9. 22. 19:03
프로젝트의 목적 ㆍ 다양한 페이지 교체 알고리즘을 직접 구현해 봄으로써 동작 과정을 이해한다. ㆍ 각 알고리즘의 페이지 교체 과정을 분석하여 특성을 파악한다. ㆍ 구현한 프로그램을 통해 모의실험을 함으로써 각 알고리즘을 평가해 본다. 프로젝트의 내용 ㆍ 여러 가지 페이지 교체 알고리즘에 대응하는 벤치마킹 프로그램을 구현한다. ㆍ 구현한 벤치마킹 프로그램을 이용해 모의실험을 진행한다. ㆍ 모의실험을 통해 각각의 알고리즘을 평가한다. 페이지 교체 알고리즘의 테스트 ㆍ 각 페이지 교체 알고리즘을 공평하게 평가하기 위하여 위 표와 같은 입력 예제를 각 알고리즘에게 동일하게 주어 테스트를 진행하였다. ㆍ 각 페이지 알고리즘은 Effective Access Time(EAT)으로 평가하였다. ㆍ 4가지 입력 예제에 ..
-
Java GUI 환경에서 작동하는 계산기Projects/Toy Projects 2021. 9. 22. 14:42
프로젝트의 목적 ㆍ GUI 환경에서 작동하는 프로그램의 이해력을 높인다. ㆍ 윈도우 프로그램의 구현 방법을 터득한다. ㆍ 스택 자료구조를 이용하여 우선순위 연산을 구현한다. 프로젝트의 내용 ㆍ 사칙연산이 가능한 계산기를 구현한다. ㆍ 계산기의 추가적인 기능을 구현한다. 프로젝트의 기능 ㆍ 사칙연산의 기능 ㆍ 추가적인 연산(제곱, 루트, 나머지 등)의 기능 ㆍ 우선순위 연산의 기능 ㆍ 수식 지우기 기능 ㆍ 실수형 수식의 표현 기능 윈도우의 설계 Frame의 구현 JFrame frame = new JFrame("★Calculator★"); frame.setPreferredSize(new Dimension(450, 500)); frame.setLocation(250, 250); Container content..