[Chapter1] Introduction to Statistics
·
2021-가을학기/심리통계분석 I
Chapter1 Introduction to Statistics Why Study Statistics? To understand the professional literature 전문적인 논문(문헌)을 이해하기 위해서 To understand and evaluate statistical claims made in the popular media 대중매체의 통계적 주장을 이해하고 평가하기 위해서 To understand the rationale underlying research in the behavioral sciences 행동 과학 연구의 근거를 이해하기 위해서 To carry out behavioral science research 행동 과학 연구를 수행하기 위해서 Descriptive and In..
[교재] Preface - Statistics for the behavioral Sciences
·
2021-가을학기/심리통계분석 I
Statistics for the Behavioral Sciences 10e, Gravetter · Wallnau Statistical procedures provide reserchers with objective and systematic methods for describing and interpreting their research results. The goal of this book is not only to teach the methods of statistics, but also to convey the basic principles of objectivity and logic that are essential for science and valuable for decision making..
2-1 변수이름, 데이터타입, 상수
·
2021-가을학기/프로그래밍개론
1. 변수 이름 변수 이름을 정할 때 반드시 지켜야 할 사항 : 변수 이름 뿐만 아니라 함수나 타입 이름 등에도 적용됨. 변수 이름에는 문자와 숫자를 사용 가능함. 대문자와 소문자는 구분됨. 문자에는 알파벳과 밑줄문자( _ )가 포함됨. 변수 이름은 반드시 문자로 시작해야 함. if, else, int float 등등의 키워드는 변수이름으로 사용할 수 없음. ▼ C 키워드 32개 목록 auto break case char const continue default do double else enum extern float for goto if int long register return short signed sizeof static struct switch typedef union unsigned voi..
1-2 변수와 수식, for 루프, 기호형 상수
·
2021-가을학기/프로그래밍개론
//C언어를 옛날옛적에 이미 배웠기 때문에 최대한 간단히 넘어가기로 함.. 1. 변수와 수식 #include /* print Fahrenheit-Celsius table for fahr = 0, 20, ..., 300 */ main() { int fahr, celsius; int lower, upper, step; // 1. 변수 선언 // 자료형 변수이름; // 자료형: datatype // 쉼표(,)로 여러 변수 선언 가능 lower = 0; upper = 300; step = 20; // 2. 배정문 assignment statement // 좌항의 변수에 우항의 값 또는 식을 저장한다. fahr = lower; while (fahr
(1주차) 자습자료1 - 1의 보수, 2의 보수, 2의 보수 연산
·
2021-가을학기/프로그래밍개론
주의사항 : 2의 보수 표현 설명에 치명적 오타가 있어서 10.29일자로 수정 오타내용 : 4자리수 2의보수 표현 범위는 -8 부터 +7까지 1의 보수표현 (1's complement) : 음수 표현을 허용하는 2진수 표현체계 표현방법 부호 ____ ____ ____(4자리 비트) 양의 정수를 표현할 때, 첫 번째 비트에 0이 온다. 음의 정수를 표현할 때, 첫 번째 비트에 1이 오며, 나머지 비트들에서 0과 1을 바꾼 것이 절대값이다. ex) 4자리 1의 보수 '1000' 이는 곧 - 111(2) => -7(10) ▼ 4자리 1의 보수 표현 ( -7 부터 +7 ) 1의 보수 표현 10진수 값 1의 보수 표현 10진수 값 0000 0 1000 -7 0001 1 1001 -6 0010 2 1010 -5 0..
1-1 C프로그램의 기본 모습
·
2021-가을학기/프로그래밍개론
최소의 C프로그램// 최소의 C프로그램// C프로그램이 갖춰야할 최소한의 구조main(/*parameter*/){//프로그램에서 가장 처음 실행하는 함수}함수(function) 는 C프로그램의 기본 단위이므로, 모든 C프로그램은 반드시 한 개의 main()함수를 가져야 한다.매개변수(parameter)의 자리는 함수 이름 뒤의 ( ) 소괄호 안에 표시0개 이상의 매개변수를 가질 수 있음.함수의 내용은 { } 중괄호 안에 표시{ } 중괄호 안에는 0개 이상의 문장(statement)이 나타날 수 있음.# 예제프로그램 1#include //stdio.h 라는 라이브러리를 가져온다는 지시어// printf()함수가 들어있는 라이브러리. C컴파일러에서 제공main() { printf("hello, world\n..