Computational thinking
도입됨
14:30
계산적 사고
여기에 과제가 있습니다: 한 상점의 재고 전체를 관리하는 시스템을 구축하세요—모든 제품, 모든 판매, 모든 배송, 모든 보고서. 하나의 거대한 문제로 볼 때, 그것은…에 너무 큽니다.
영어 내레이션 · 영어와 중국어 자막 전환 가능
이 수업의 내용
| English | 의미 |
|---|---|
| computational thinking/ˌkɒmpjuːˈteɪʃənl ˈθɪŋkɪŋ/ | 계산적 사고 |
| abstraction/əbˈstrækʃn/ | 추상화 |
| decomposition/ˌdiːkɒmpəˈzɪʃn/ | 분해 |
| pattern recognition/ˈpætn ˌrekəɡˈnɪʃn/ | 패턴 인식 |
| algorithms/ˈælɡərɪθəmz/ | A finite sequence of precise steps for solving a problem or carrying out a task. |
| model/ˈmɒdl/ | A simplified representation of a system used to explain, analyse or predict its behaviour. |
| variable name | A name used in a program to refer to a stored value. |
| memory address/ˈmeməri əˈdres/ | A number that identifies a location in memory. |
| function/ˈfʌŋkʃn/ | 함수 |
| block of code | A group of program instructions treated as one unit. |
| class/klæs/ | A definition of the data and actions shared by a group of objects. |
| attributes/ˈætrɪbjuːts/ | A named property or characteristic associated with an object, element or record. |
| module/ˈmɒdjuːl/ | 모듈 |
| breaking a large problem into smaller sub-problems | The process of dividing a large problem into smaller problems that are easier to solve. |
| sub-tasks | Smaller tasks that together make up a larger task. |
| sub-problem/sʌb ˈprɒbləm/ | 하위 문제 |
| procedure/prəˈsiːdʒə/ | 절차 |
| sub-modules | Smaller program parts that make up a larger module. |
| library routine/ˈlaɪbrəri ruːˈtiːn/ | A ready-made set of instructions that can be reused in programs. |
| structure chart/ˈstrʌktʃə tʃɑːt/ | 구조도 |
| Algorithm design | The process of creating a step-by-step solution to a problem. |
의도적으로 만들어진 지도
- 1931년, 실업 상태였던 도면작가 해리 벡이 런던 지하철 지도를 다시 그리게 되었다.
- 그는 실제 지형을 폐기하여 모든 선을 직선으로 만들고 각 역을 균등하게 배치했다.
- 이 지도는 '틀린' 것이었지만, 즉시 사용하기 쉬워졌다. 오늘날 세계 모든 지하철 지도가 이를 모방하고 있다.
- Beck kept only what a passenger needs: the stations and how they connect. That is computational thinking before computers existed.

컴퓨팅 사고란 무엇인가
- 문제를 분석하고 컴퓨터가 실행할 수 있는 해결책을 설계하기 위한 mentale tools의 집합이다.
- 교육 과정에서는 그중 두 가지를 명시하고 있는데, 추상화와 분해이다.
- 이들을 보조하는 두 가지 더 있는 것: 패턴 인식과 알고리즘 설계이다.
추상화
- 추상화란 문제의 핵심 특징을 유지하고 관찰되지 않는 세부 사항을 무시하여 더 단순한 모델을 제공하는 것입니다.
- 튜브 지도는 역과 노선을 유지하되 지리적 위치는 생략합니다.
- 변수명은 메모리 주소를 숨기고, 함수명은 코드 블록 뒤에 이름을 숨기고, 클래스는 시스템이 필요한 속성만 유지합니다.

추상화는 문제의 핵심 특징만 유지하고 관찰되지 않는 세부 사항을 생략합니다
Abstraction means:
난이도 1/5 · 100코인 + 오늘 첫 완료 시 작은 보너스 추가
Abstraction simplifies a problem to its essentials. Breaking into parts is decomposition.
A train map that keeps the stations and lines but drops the real geography is an example of abstraction.
난이도 1/5 · 100코인 + 오늘 첫 완료 시 작은 보너스 추가
It keeps what matters (stations, connections) and discards the rest — exactly what abstraction does.
목적과 장점
- 목적: 문제를 해결하는 데 필요한 세부 사항만 포함하는 더 단순한 모델을 만드는 것입니다.
- 장점: 문제가 이해하고 프로그래밍하기 쉬워집니다; 프로그램은 작아지고 작성 및 테스트 속도가 빨라지며; 동일한 모델을 유사한 문제에 재사용할 수 있습니다.
- 시험관은 목적과 장점을 별도로 묻습니다. 둘 다 습득하십시오.
Select 모든 the statements that are benefits of abstraction.
난이도 2/5 · 140코인 + 오늘 첫 완료 시 작은 보너스 추가
Abstraction drops detail, so keeping every detail is the opposite of it, and it says nothing about hardware. The three real benefits are understanding, size/speed of development, and reuse.
worked example: 추상 모델
- 한 카페는 각 포인트 카드 회원에 대해 ID, 이름, 주소, 이메일, 휴대폰 번호, 생일, 포인트, 최근 방문 일자를 저장합니다.
- 새로운 모듈은 30일 이상 방문하지 않은 회원에게 쿠폰을 이메일로 발송합니다. 이 모듈에는 어떤 데이터가 필요합니까?
- 필수: ID (회원 검색용), 이메일 (송신처), 이름 (개인 맞춤 메시지용), 최근 방문 일자 (수령자 선정용).
- 불필요: 주소, 휴대폰 번호, 생일, 포인트. 이들을 제외함 이 바로 추상화입니다.

The voucher-email module in the worked example needs which of these items? Select 모든 that apply.
난이도 2/5 · 140코인 + 오늘 첫 완료 시 작은 보너스 추가
Email to send to, date of last visit to choose who qualifies, and the ID to look the customer up. The postal address and birthday play no part in an email voucher, so an abstract model of this module leaves them out.
분해
- 분해란 큰 문제를 더 작은 하위 문제로 나누어, 각각 해결하기 쉽게 만드는 것입니다.
- 주요 부분 찾기 → 각 부분을 서브작업으로 분리 → 각 작업이 직접 코딩될 만큼 작아질 때까지 반복 → 해결하고 결합.
- 각 하위 문제는 프로그램 모듈이 됩니다: 절차 또는 함수.

프로그램을 모듈과 서브모듈로 분해하는 것
Decomposition means:
난이도 1/5 · 100코인 + 오늘 첫 완료 시 작은 보너스 추가
Decomposition splits a big task into smaller, separately-solvable sub-tasks.
Each sub-problem produced by decomposition becomes a program module: a procedure or a ____.
난이도 1/5 · 100코인 + 오늘 첫 완료 시 작은 보너스 추가
The syllabus wording is exact: decomposition leads to the concept of a program module — a procedure or a 함수(function).
worked example: 영화관 예약 프로그램
- 여러 스크린이 있는 극장은 관객이 좌석을 예약할 수 있는 프로그램을 원한다.
- **ShowFilms()**는 영화, 스크린, 시작 시간을 나열합니다.
- **ChooseSeats()**는 좌석도를 표시하고 고객의 선택을 받아 좌석이 비었는지 확인한다.
- **TakePayment()**는 가격을 계산하고 카드 결제를 처리하며 티켓을 출력합니다.
- 세 개의 모듈로, 각각 독립적으로 설계, 코딩 및 테스트하기에 충분히 작습니다.

Match each part of the cinema booking design to what it is.
난이도 2/5 · 140코인 + 오늘 첫 완료 시 작은 보너스 추가
Three modules, each doing one job, and a structure chart to show how they fit together.
분해가 필요한 이유? 3점 만점 답변
- 각 하위 문제는 독자적으로 설계, 코딩 및 테스트하기에 충분히 작다.
- 여러 프로그래머가 동시에 서로 다른 모듈을 작업할 수 있다.
- 기존에 존재하는 모듈이나 라이브러리 routine을 재사용할 수 있으며, 결함이 한 모듈 내부에 위치하므로 찾기 쉽다.
- 분해의 도형은 구조도(주제 12)이다.
네 가지 핵심 요소
- 분해: 문제를 쪼개기. 패턴 인식: 반복되는 것을 찾아내어 하나의 해법이 여러 부분에 적용되도록 하기.
- 추상화: 중요하지 않은 세부 사항을 제거하기. 알고리즘 설계: 단계별 해결책을 작성하기.
- 실제에서는 대략 그 순서로 사용하며, 여러 번 반복하여 진행한다.
Solving a problem the computational way
Step through the four cornerstones in the order you'd use them — break the problem down, spot what repeats, strip it to essentials, then write the steps.
Match each cornerstone of computational thinking to what it means.
난이도 2/5 · 140코인 + 오늘 첫 완료 시 작은 보너스 추가
The four cornerstones — decompose, spot patterns, abstract, then design the algorithm.
Put the computational-thinking steps in the order presented in the lesson.
난이도 3/5 · 200코인 + 오늘 첫 완료 시 작은 보너스 추가
Break it down, find what repeats, strip to essentials, then write the steps.
혼동하지 않기
- 추상화는 세부 사항을 제거하고, 분해는 문제를 나눈다. "작은 부분으로 나누기"는 추상화의 설명이 아니다.
- "설명하다"에 대한 답에는 방법이 포함되어야 하며 단어가 하나만으로는 부족하다: 무엇이, 무엇으로, 각 부분이 어떻게 되는지 명시해야 한다.
- 답안을 시나리오에 연결하십시오. 분해 분석 답안은 스톡 시스템, 영화관 또는 상점에 대한 언급이 전혀 없으면 한 점을 잃게 됩니다.

In a "describe decomposition" question, an answer that never mentions the scenario (the shop, the cinema) can still earn full marks.
난이도 1/5 · 100코인 + 오늘 첫 완료 시 작은 보너스 추가
Mark schemes cap a generic answer: the recent stock-control question said "max 2 if no mention of stock control". Name the scenario's own modules and data.
이해했습니다
- 추상화 = 필수적인 것만 유지하고 불필요한 세부 사항은 무시함 → 단순화된 모델
- 분해 = 큰 문제를 소문제로 나누기 → 각 소문제가 절차나 함수가 됨
- 분해의 장점: 설계/코딩/테스트를 개별적으로 수행, 업무 공유, 모듈 재사용, 결함 신속 발견
- 항상 시나리오의 자체 모듈과 데이터를 사용하여 기술하라
어떤 문제가 있었나요? 사이트 팀만 이 내용을 볼 수 있습니다.