프로그래밍 언어란??

프로그래밍 언어는 컴퓨터 시스템을 동작하게 하는 소프트웨어를 작성하기위한 언어이다.
컴퓨터는 0과 1을 사용하는 기계이다. 사람이 이해할 수 있도록 컴퓨터와 의사소통을 가능하게 해주는 언어이다.

프로그래밍 언어의 종류

C/C++

C

1
2
3
4
5
6
7
8
9
#include <stdio.h>

int main()
{
    //Hello, world를 출력
    printf("Hello, world!\n");

    return 0;
}

C++

1
2
3
4
5
6
7
8
#include <iostream>

int main(int argc, char *argv[])
{
	std::cout << "Hello World" << std::endl;
    return 0;
}

JAVA

JAVA는 객체 지향 언어중 하나로 초기에는 가전 제품에 탑재할 용도로 개발되었지만, 현재는 스마트폰과 컴퓨터에서 실행되는 다양한 애플리케이션을 개발할 수 있는 언어가 되었다.

1
2
3
4
5
6
7
package helloworld;

public class HelloWorld {
    public static void main(String args[]) {
        System.out.println("Hello World");
    }
}

HTML, HTML5

1
2
3
4
5
6
7
8
9
10
11
12
13
<!-- html5의 <b>기본 형태</b> -->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <!-- 페이지의 제목 -->
    <title>Document</title>
  </head>
  <body>
    <!-- 내용 -->
  </body>
</html>

Python

1
2
3
def hello():
    print("hello world")
    return 0

R

1
2
3
help.start() //시작 페이지
help.search("찾고싶은 문자열")
q() //종료

SQL

1
2
3
4
CREATE TABLE student();         //데이터를 저장할 student라는 테이블 생성
INSERT INTO student VALUES ();  //student라는 테이블에 데이터 삽입
SELECT * FROM student;          //student라는 테이블 조회
DROP TABLE student              //student라는 테이블 삭제

mobile app

web app