

ตัวแปรpython
Presentation
•
Computers
•
6th - 8th Grade
•
Practice Problem
•
Hard
ธเนศ พะโน
FREE Resource
4 Slides • 1 Question
1
2
ตัวแปร (Variable)ในภาษาPython
ตัวแปร (Variable) คือชื่อหรือเครื่องหมายที่กำหนดขึ้นสำหรับใช้อ้างถึงค่าที่เก็บในหน่วยความจำ
ปัจจุบันหลักการและแนวคิดการพัฒนาการเขียนโปรแกรม หรือภาษาที่ใช้ในการเขียนโปรแกรม มีขีดความสามารถรองรับการเขียนโปรแกรมในรูปแบบทั่วไป และ Object Base เชิงวัตถุ (Object Oriented) ดังนั้นการเลือกตัวแปรสำหรับใช้งานร่วมกับกลุ่มคำสั่ง จึงต้องกำหนดให้เหมาะสมและถูกต้อง สำหรับตัวแปรของภาษาแบ่งออกเป็น 2 กลุ่มใหญ่ดังนี้
กลุ่มที่ 1 ตัวแปรชนิดทั่วไป ได้แก่ ตัวเลข (Number), ข้อความ (String), วันที่ เวลา (Date Time), เลขทศนิยมหรือชนิดที่เป็น Sequence (คล้ายตัวแปร Array ในภาษาอื่น) เป็นต้น
กลุ่มที่ 2 ตัวแปรชนิด Object เช่น คำสั่ง Object เกี่ยวกับไฟล์ (File) หรือไดเรกทอรี (Dir), คำสั่ง object connect สำหรับการเชื่อมต่อฐานข้อมูล ฯลฯ
3
4
5
Fill in the Blanks
Show answer
Auto Play
Slide 1 / 5
SLIDE
Similar Resources on Wayground
7 questions
ระบบบริหารความเสี่ยงของ RM
Presentation
•
KG
3 questions
ทศนิยม
Presentation
•
7th Grade
4 questions
บทเรียนเรื่องวัฏจักรของน้ำ
Presentation
•
7th Grade
4 questions
each other และ one another
Presentation
•
7th - 9th Grade
5 questions
การสืบพันธุ์ของพืชดอก
Presentation
•
7th Grade
3 questions
รำวงมาตราฐาน (เพลงคืนเดือนหงาย)
Presentation
•
8th Grade
3 questions
พหุนาม
Presentation
•
8th Grade
6 questions
ทบทวนความรู้ เรื่อง มุมและชนิดของมุม
Presentation
•
6th - 8th Grade
Popular Resources on Wayground
10 questions
GPA Lesson
Presentation
•
9th - 12th Grade
7 questions
Albert Einstein
Quiz
•
3rd Grade
31 questions
Bridge A Review
Quiz
•
3rd Grade
6 questions
Blue Sue and Red Ruth
Quiz
•
3rd Grade
8 questions
(Day12 HW) Inverse Trig Ratios
Quiz
•
9th Grade
20 questions
Summer Geometry QUIZ (Week3)
Quiz
•
9th Grade
16 questions
Theme Practice
Quiz
•
7th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade