분류 전체보기
-
용어 정리컴퓨터/서비스와_구조 2019. 12. 10. 10:34
- 트랙백 내부 게시물 관련 글을 외부 사이트에서 쓰면 정해진 프로토콜로 원래 글에 연결해 댓글처럼 표시되게 하는 것
-
용어 정리컴퓨터/개념 2019. 11. 24. 16:31
* 추상화 - 논리 게이트를 고려하지 않고도 어셈블리 코드를 작성할 수 있다. - 트랜지스터에 대한 지식없이도 게이트를 이용하여 프로세서를 만들 수 있다. * 운영체제의 목표 : 성능 = 오버헤드를 최소화(minimize the overhead) = 시간(더 많은 명령어)과 공간(메모리 또는 디스크) 최소로 * 프로세서 : 명령어를 초당 수백만 번 반입(fetch), 해석(decode)하고, 실행(execute)한다. * 프로그램 : CPU가 호출해서 사용할 수 있도록 램의 특정 주소부터 순서대로 채워놓은 바이트 묶음 명령어 세트를 실행할 수 있다 === 프로그램을 실행할 수 있다. * 소프트웨어 소프트 : 비트를 바꿀 수 있는 성질 * 램 컴퓨터가 켜지는 시점에만 기록 가능, 완전히 켜져서 정상적으로 ..
-
Conditionals and Control Flow컴퓨터/Java 2019. 11. 21. 10:18
- If a conditional is brief we can omit the curly braces entirely; if (true) System.out.println("Brevity is the soul of wit"); - switch statement String course = "History"; switch (course) { case "Algebra" : break; case "Biology": break; default: System.out.println("Course not found"); } 출처 : codecademy
-
toString()컴퓨터/Java 2019. 11. 21. 09:44
- When we print out Objects, we often see a String that is not very helpful in determining what the Object represents. 주소를 보여준다든지... - We can return a String that will print when we print the object. public String toString() { } - import java.util.Arrays; array를 print하면 memory address가 나온다. therefore we need a toString() method that is provided by the Arrays package in Java. Arrays.toString(arra..
-
[Java 기본 02] Java file, java 프로그래밍 특징 및 작성법컴퓨터/Java 2019. 11. 20. 10:52
-> 들여쓰기 제대로 하기! -> 들여쓰기 제대로 안돼 있을 때 메뉴바의 source -> correct indentaion (ctrl+i) 누르면 자동으로 들여쓰기 해준다 * java : method, 클래스 java에서는 함수라는 말을 쓰지 않고 method라는 말을 쓴다. c언어에서의 함수, function과 대응한다. c언어는 함수들의 집합일 뿐이고 함수들을 둘러싼 단위가 없다. 반면, 자바에는 class(method들의 집합)가 있다. 자바 프로그래밍은 class들의 집합이다. class 안에 method들이 있다. * Each file has one primary class named after the file. public class HelloWorld { } 클래스 이름이 대문자로 시작해야..
-
javascript 함수 3컴퓨터/JavaScript_typescript 2019. 11. 18. 17:28
* insertAdjacentHTML() 특정 텍스트를 파싱하고, 특정 위치에 DOM tree 안에 원하는 node들을 추가한다. innerHtml보다 작업이 덜 드므로 빠르다. element.insertAdjacentHTML(position, text) position -> beforebegin(element 앞에), afterbegin(가장 첫번째 child), beforeend(가장 마지막child), afterend(element 뒤에) ex. var d1 = document.getElementById('one'); d1.insertAdjacentHTML('afterend', 'two'); * document.getElementsByTagName("div")[0] === document.getEl..
-
15. 네트워크컴퓨터/개념 2019. 11. 9. 20:47
networking open systems and protocols network addresses cloud computing 컴퓨터 네트워크, 무선통신망, 모바일 네트워크... * 주요 용어 * 컴퓨터 네트워크 : a collection of computing devices connected in order to communicate and share resources connections between computing devices can be physical using wires or cables or wireless using radio waves or infrared signals * Node : Any device on a network, 네트워크에 접속된 장치 * Data transfer..
-
04 Logic Gates(컴퓨터와 전자공학의 연관)컴퓨터/개념 2019. 11. 4. 22:25
[논리식 & 전자회로] * 컴퓨터와 전자회로들이 어떻게 관련되어 있는가 - gate : A device that performs a basic operation on electrical signals 논리 게이트 - 논리 회로를 만들 때 사용하는 가장 작은 단위 gates are implemented using transistors 전기 신호를 걸면 연산하고 결과를 출력한다. 컴퓨터 안에서 어떤 방식으로 비트를 만들어낸다. 입력 비트 2개를 조사해서 세 번째 비트를 생성한다. - Six types of gates NOT, AND, OR, XOR, NAND, NOR(의외로 많이 쓴다) - NOT Gate negation, inverter, 논리 부정 A NOT gate accepts one input si..