# 연습문제 3: 변수와 논리 연산

> '연습문제 3: 변수와 논리 연산' 단원에서는 ‘예측 → 실행 → 비교 → 설명’ 4단계로 스크래치 핵심 논리를 탄탄히 익힙니다.

스크래치 교과서 '연습문제 3: 변수와 논리 연산': 학습 목표, 단계별 실습, 자가 점검 가이드.

## 학습 목표와 핵심 개념

'연습문제 3: 변수와 논리 연산' 단원에서는 ‘예측 → 실행 → 비교 → 설명’ 4단계로 스크래치 핵심 논리를 탄탄히 익힙니다.

## 4단계 실습 순서

'연습문제 3: 변수와 논리 연산' 단원에서는 ‘예측 → 실행 → 비교 → 설명’ 4단계로 스크래치 핵심 논리를 탄탄히 익힙니다.

- 단원 목표를 읽고 프로그램이 어떻게 움직일지 먼저 예상하세요.
- 스크래치 에디터에서 최소 블록으로 작은 실험을 만드세요.
- 초록 깃발을 눌러 확인하고 숫자를 하나씩 바꿔 변화를 비교하세요.
- 아래 학습 체크를 기록하고 원리를 자신의 말로 설명해 보세요.

## 다음 학습으로 이동

'연습문제 3: 변수와 논리 연산' 단원에서는 ‘예측 → 실행 → 비교 → 설명’ 4단계로 스크래치 핵심 논리를 탄탄히 익힙니다.

- [스크래치 교과서 목차로 돌아가기](/ko/textbook/): 스크래치 교과서
- [스크래치 블록 사전 보기](/ko/dictionary/): Scratch 3.0

## 핵심 원리 해설 및 Scratch 3.0 실행 구조 — 연습문제 3: 변수와 논리 연산

Scratch 3.0(초당 약 30프레임)에서는 블록을 단순 암기하기보다 초록 깃발 초기화, 반복문 흐름, 변수 상태 변화를 함께 이해하는 것이 핵심입니다.

Real coding fluency comes from prediction, not passive copying. While studying "연습문제 3: 변수와 논리 연산", pause before clicking the green flag to predict what the sprite will do, run the script, observe any difference, and adjust one block at a time. This predict-run-observe habit transfers directly to K–12 computer science, math, and text-based languages.

At its core, "연습문제 3: 변수와 논리 연산" focuses on this key idea: '연습문제 3: 변수와 논리 연산' 단원에서는 ‘예측 → 실행 → 비교 → 설명’ 4단계로 스크래치 핵심 논리를 탄탄히 익힙니다. In real classroom instruction supervised by Takamasa Suzuki (Okinawa Minecraft Club Programming School "Crosswave", weva.jp), learners progress much faster once they can explain which variable holds state, which event triggers updates, and how the stage resets cleanly on every green-flag click.

Always initialize sprite coordinates, direction, size, visibility, and variables explicitly at project start. A clean initialization sequence eliminates the notorious "you have to click the green flag twice" bug and makes testing predictable across Windows, macOS, Chromebooks, and iPads.

## 3단계 실습 가이드: 최소 프로토타입, 경계 테스트, 오리지널 확장

Follow this three-stage workflow to turn "연습문제 3: 변수와 논리 연산" from a quick example into a polished, bug-free feature inside your own Scratch 3.0 project. Test after every small change instead of stacking 30 blocks at once.

- Stage 1 (Minimal Working Test): Build only the core blocks for "연습문제 3: 변수와 논리 연산" on a blank sprite and verify that the primary behavior works consistently on the very first green-flag click.
- Stage 2 (Edge-Case & Variable Monitor Check): Turn on stage variable monitors and test boundary cases—zero, negative numbers, stage borders (-240 to 240, -180 to 180), rapid key presses, and clone cleanup.
- Stage 3 (Original Art, Audio & Playtesting): Add custom vector/pixel costumes, balanced sound effects, clear instructions, and invite a friend or family member to playtest without hints so you can spot confusing moments immediately.

## 수업·가정 학습 활용, 안전한 공유 및 다음 언어(Python) 연결

Mastering "연습문제 3: 변수와 논리 연산" strengthens math reasoning (coordinates, exterior angles, variables, probability), scientific modeling, and structured debugging. Once comfortable in Scratch 3.0, these exact patterns transfer smoothly into Python, Minecraft MakeCode, Roblox Studio, and web development.

Keep your projects original and safe to share: avoid uploading third-party copyrighted characters or songs, never include real names or personal photos, and write clear Notes and Credits whenever you remix or learn from another creator.

- [Scratch Dictionary](/ko/dictionary/): 스크래치 교과서
- [Scratch Textbook](/ko/textbook/): Scratch 3.0(초당 약 30프레임)에서는 블록을 단순 암기하기보다 초록 깃발 초기화, 반복문 흐름, 변수 상태 변화를 함께 이해하는 것이 핵심입니다.
- [Scratch How-To](/ko/howto/): 3단계 실습 가이드: 최소 프로토타입, 경계 테스트, 오리지널 확장

수정일: 2026-11-25
저자: [스즈키 다카마사 (Takamasa Suzuki)](https://scratch.gmnavi.jp/about/author/)
Japanese Edition: https://scratch.gmnavi.jp/textbook/drills-03/

[Scratch 대전 (한국어)](https://scratch.gmnavi.jp/ko/)
