Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

새싹교실/2012/개차반: Difference between revisions

From ZeroWiki
imported>yjh0817
No edit summary
imported>yjh0817
No edit summary
(No difference)

Revision as of 09:44, 5 April 2012

참여자

강사 윤종하
학생 최경진

개요

  • 카톡 회의 결과 초안으로 화 16~18시 진행 예정
  • 오프라인 미팅이후 시간 조절
  • C언어 및 물리학.

1회차(2012 - 03 - 27)

  • 전원 참석
  • C언어 프로그래밍의 기본적인 내용 및 폰 노이만 구조의 개략적인 구조
  • 위키 예제
  • 수준 1
    • 수준 2
    • 수준 3
 for programming source code


  • 과제: 이 항목에 오늘 배운 내용을 정리하시오.


  • c 언어의 특징
    • High-Level 언어의 특징과 Low-Level 언어의 특징을 모두 지니고 있다
      • High-Level 언어에 가까울수록 사람이 이해하기 쉬워진다 (Human Friendly)
    • Low-Level 언어에 가까울수록 기계가 이해하기 쉬워진다 (Machine Friendly)
  • 컴파일러 (complier)
    • High-Level 언어를 Low-Level 언어로 변환해주는 역할을 한다
  • 폰 노이만 아키텍쳐
    • 현재 사용되는 모든 컴퓨터에 적용되는 범용 컴퓨터 구조
      • 제어장치와 연산장치, 메모리, 입출력장치로 구성
    • bit
    • 이진법으로 나타낼 수 있는 자릿수를 나타낸다
      • 1bit=0,1 / 2bit=00,01,10,11 / 3bit=000,001,010,011,100 ...
  • 헤더 파일
      • 함수 (Function) 들의 집합
        • 이미 존재하는 함수를 가져다 쓰려 할 때 헤더파일을 불러와서 사용한다
    • 변수 (variable)
    • int, float, char 등
      • int는 정수를 나타내고자 할 때 사용하며 출력시 %d를 사용
      • float는 소수점 아래의 숫자까지 표현하고자 할 때 사용하며 출력시 %f를 사용
      • char는 문자를 나타내고자 할 때 사용하며 출력시 %c를 사용


  • int: integer type, 4 bytes
  • char: It used to express a character, but also used to express a integer. 1 byte
  • float: 4 byte, floating type number. Specification in IEEE 754-2008
  • function: input -> output
  • Main function
    • real part of program
    • It has start and end point of a program.
    • return 0; : 0 is a flag noticing OS that program is ended.

2회차(2012 - 04 -05)

  • 수업내용: Variables, Data Types, Standard I/O, Operators

새싹교실/2012