본문 바로가기 메뉴 바로가기

inchori

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

inchori

검색하기 폼
  • Categories (36)
    • Computer Science (17)
      • Algorithm (6)
      • Data Structures (0)
      • Computer Architecture (11)
      • Operating System (0)
      • Database (0)
      • Network (0)
    • Problem Solving (0)
    • Blockchain (0)
      • Programming Bitcoin (0)
    • Back-end Programming (18)
      • Spring (8)
      • JPA (10)
    • Etc (1)
  • 방명록

Computer Science/Computer Architecture (11)
CS:APP Ch01. A Tour of Computer Systems - 1

1.1 Information Is Bits + Context 정보는 비트와 컨텍스트이다. 소스 프로그램(source program)은 0과 1로 이루어져 있는 비트들의 시퀀스이다. (8bits = 1byte) 대부분의 프로그램은 ASCII 표준을 사용하여 텍스트 문자(text character)로 표현한다. #include int main() { printf("hello, world\n"); return 0; } 위의 hello.c 프로그램 역시 바이트 시퀀스 파일(file as a sequence of bytes)로 저장이 된다. 각각의 바이트는 문자와 대응되는 정수 값을 가지고 있다. 예를 들어 '#'은 35, 'i'는 105로 대응된다. 코드 한 줄 마다 개행 문자인 '\n'으로 종료된다. 시스템에..

Computer Science/Computer Architecture 2021. 3. 26. 20:57
이전 1 2 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
more
«   2025/08   »
일 월 화 수 목 금 토
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바