Computer (112) 썸네일형 리스트형 [KY-015] 디지털 온,습도 모듈 Overview DHT11 digital temperature and humidity sensor is a calibrated digital signal output temperature and humidity combined sensor, which Application-specific modules capture technology and digital temperature and humidity sensor technology to ensure that products with high reliability and excellent Long-term stability. The product has excellent quality, fast response, anti-interference abili.. [KY-018] CDS 광센서 모듈 Overview Photo resistors, also known as light dependent resistors (LDR), are light sensitive devices most often used to indicate the presence or absence of light, or to measure the light intensity. In the dark, their resistance is very high, sometimes up to 1MΩ, but when the LDR sensor is exposed to light, the resistance drops dramatically, even down to a few ohms, depending on the light intensi.. [자료구조] MergeSort 합병정렬 알고리즘 구현 특징 1. Stable 한 정렬이다. 2. 추가적인 공간이 필요하므로 in-place algorithm 형식이 아니다. ** in-place algorithm 이란 적은 공간으로 처리하는 알고리즘을 의미한다고 한다. (In-place is an algorithm which transforms input using a data structure with a small, constant amount of extra storage space.) 출처: 위키피디아 구현 KEY POINT 1. 분할을 한다 ( 더이상 쪼갤 수 없을 때까지 "/2" 로 인덱스를 나누어 계속 쪼갠다. ) lgN 2. 병합한다. ( 쪼개어진 값들을 다시 뭉친다. 뭉치면서 값을 비교하여 정렬한다. ) N 속도 : .. [자료구조] Double-Ended Queue (Dequeue) and Randomized Queue Double-Ended Queue (Dequeue) and Randomized Queue 더블엔디드큐 1. pop function call : 값 반환이 앞으로, 뒤로 가능함 ( removeFrist,removeLast ) 2. push function call : 값 삽입이 앞으로, 뒤로 가능함 ( addFirst, addLast ) 랜더마이즈 큐 1. dequeue function call 랜덤한 값을 반환하도록 한다. 2. enqueue function call 시에 할당된 Array 가 가득차있을경우 자동으로 늘려준다. MutableArray ! DOUBLE-Ended Queue ( Dequeue ) 아래의 코드는 부여된 Interface 에서 함수를 작성한 것이다. 이게 답이라고는 얘기할 수 없.. [Scrum] Agile Software Development with Scrum 출처 : http://www.intelligentbee.com/blog/2015/02/20/should-you-do-scrum/ 팀 프로젝트를 진행함에 있어 특정한 프로세스 없이 진행을 했을 때 비생산적이라는 것을 지속적으로 느끼고 있었고, 이번에 소멤 신촌, 강남 친구들의 스크럼 방식의 개발 진행에 느낀바가 있어 책 한권을 읽으며 스크럼에 대해 알고 이를 프로젝트에 적용해보고자 합니다. 일일 스크럼 회의 1. 따로 회의실을 잡지 않고2. 일어선 채로 최대 15분을 넘기지 않고3. 1)지난 일일 스크럼 회의 이후로 무엇을 했고, 2)다음 일일 스크럼 전까지 무엇을 할 계획이며, 3)무엇이 작업을 방해하고 있는가 - 리니지2 개발팀의 스크럼 중 - " 스크럼이나 애자일이 팀의 목표가 되어 가는 건 아닌지를.. [JAVA] 수정자 ( modifier ) PUBLICpublic 은 가장 일반적인 접근 제어자입니다. public 으로 선언된 멤버 변수, 메소드는 어떠한 자바 프로그램에서든지 제한 없이 사용이 가능합니다. PRIVATE private 는 가장 폐쇄적인 접근 제어자입니다. private 으로 선언된 멤버변수, 메소드는 해당 클래스 내부의 메소드에서만 사용할 수 있습니다.즉, 다른 클래스에서는 접근 자체가 불가능합니다. ( 여기서 말하는 다른 클래스는 상속받은 서브클래스도 포함됩니다. ) 자바 프로그래머들이 멤버변수나 메소드 앞에 private 붙이는 주된 이유는 이후에 변경할 가능성이 있기 때문입니다. 왜냐하면, private 변수나 메소드는 추후 내용을 바꿔도 다른 클래스들에게는 아무런 영향이 없기 때문입니다. ( 접근을 못하니 아에 참조하고.. [Algorithm] Selection sort, Insertion sort GiPyeong Lee selection_sort.c // studentID : A889056 // selection_sort.c // Algorithm_Hongik // // Created by GiPyeong Lee on 2015. 3. 3.. // Copyright (c) 2015년 com.devsfolder.Hongik. All rights reserved. // #include #include #include int tempArray[1000001]={0,}; // Container void selection_sort(int argc, const char * argv[]){ if ( argc [Algorithm] 수행시간 측정 방법 향후 알고리즘의 시간 측정은 다음과 같은 방법으로 진행된다. #include #include int main(int argc, const char * argv[]) { // insert code here... clock_t start_time, end_time; // Time Variable Declare start_time = clock(); // Time to start // Here is Some Code end_time = clock(); // Time to end printf("Time : %f\n", ((double)(end_time-start_time)) / CLOCKS_PER_SEC); return 0; } Here is Some Code 라고 주석으로 명시한 부분에 내가 수행할 코드를 넣.. 이전 1 ··· 10 11 12 13 14 다음