Programming Fundamental

Get Started. It's Free
or sign up with your email address
Programming Fundamental by Mind Map: Programming Fundamental

1. Lab

1.1. 0

1.1.1. Edit and run code

1.1.2. Use basic function

1.1.3. Sequence of statements

1.2. 1

1.2.1. Sequence of commands ลำดับของคำสั่ง

1.2.2. Variable

1.2.2.1. การนำไปใช้

1.2.2.1.1. ประกาศ

1.2.2.1.2. กำหนด

1.2.2.1.3. เรียกใช้

1.2.2.2. แบ่งเป็น

1.2.2.2.1. user defined variable

1.2.2.2.2. system variable

1.3. 2

1.3.1. Function

1.3.1.1. แบ่งเป็น

1.3.1.1.1. user defined function

1.3.1.1.2. system function

1.3.2. Local/Global variable

1.3.2.1. Local variable

1.3.2.1.1. คือตัวแปรในฟังก์ชัน ซึ่งฟังก์ชันอื่นไม่สามารถแก้ค่า หรือเรียกไปใช้ได้

1.3.2.2. Global variable

1.3.2.2.1. เป็นตัวแปรที่ทุกๆฟังก์ชันสามารถเรียกใช้และแก้ค่าได้ ตัวแปรประเภทนี้จะใช้ในการทำAnimation

1.3.3. basic animation

1.4. 3

1.4.1. Conditional statement

1.4.2. Flowchart

2. week

2.1. 1

2.1.1. variable (ตัวแปร) - ทำหน้าที่เก็บค่า เพื่อนำไปใช้ในโค๊ด

2.1.2. Data Type (ชนิดของตัวแปร) มีหลายชนิด เช่น

2.1.2.1. int

2.1.2.2. float

2.1.2.3. boolean

2.1.2.4. byte

2.1.2.5. char

2.2. 2

2.2.1. Function with parameter

2.2.1.1. drawCircle(50);

2.2.2. Function without parameter

2.2.2.1. drawCircle();

2.2.3. พื้นฐานการทำ animation

2.2.4. Local/Global Variables

2.3. 3

2.3.1. Condition (เงื่อนไข)

2.3.2. Flowchart (แบบมีเงื่อนไข)

2.3.3. Interation (ปฏิกิริยา MouseX, MouseY)

2.3.4. Function with a return value

2.3.5. Conditional statement Nested statemant

2.4. 4

2.4.1. while - loop

2.4.2. Flowchart (กรณีวน loop)

3. Word of the day

3.1. A - Active

3.2. B - Best

3.3. C - Change

3.4. D - Duty

3.5. E - Early

3.6. E - Education

3.7. E - Enough

3.8. G - Game

3.9. G - Give good gift

3.10. H - Health

3.11. H - Hope

3.11.1. Hope for good heart.

3.11.2. Happy to help

4. ฟังก์ชันที่ใช้บ่อย

4.1. size()

4.1.1. เป็นฟังก์ชันที่ใช้ปรับขนาดของจอ output

4.2. background()

4.2.1. ใช้กำหนดสีพื้นหลัง

4.3. fill()

4.3.1. ใส่สีของพื้นที่ปิด เช่น วงรี วงกลม สี่เหลี่ยม

4.4. noFill()

4.4.1. ไม่ใส่สี

4.5. stroke()

4.5.1. สีของเส้นต่างๆ

4.6. noStroke()

4.6.1. ไม่มีเส้น

4.7. strokeWeight()

4.7.1. ขนาดของเส้น

4.8. rect()

4.8.1. ฟังก์ชันวาดสี่เหลี่ยม

4.9. ellipse()

4.9.1. วาดวงกลม , วงรี

4.10. triangle

4.10.1. วาดสามเหลี่ยม

4.11. line()

4.11.1. วาดเส้น