
ความรู้พื้นฐานการเขียนโปรแกรม Python

Quiz
•
Information Technology (IT)
•
12th Grade
•
Hard
arunee chaiphichit
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ตัวแปรในภาษา Python มีประเภทใดบ้าง?
int, float, str, list, tuple, dict, set, bool
char, byte, float64, array
integer, decimal, set, map
string, number, object, list
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
การประกาศตัวแปรใน Python ใช้สัญลักษณ์ใด?
==
=
<>
::
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ประเภทข้อมูลใดที่ใช้เก็บค่าจำนวนเต็มใน Python?
list
float
string
int
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
คำสั่งใดใช้ในการควบคุมการไหลใน Python? ตัวอย่างเช่น:
if x > 10:
print('x is greater than 10')
if, for, while, try-except
case
switch
break
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
การใช้คำสั่ง if-else ใน Python มีรูปแบบอย่างไร?
if condition: # action when false else: # action when true
if condition: # action when true else: # action when false
if (condition) then: # action when true
if เงื่อนไข: # คำสั่งที่ทำเมื่อเงื่อนไขเป็นจริง else: # คำสั่งที่ทำเมื่อเงื่อนไขเป็นเท็จ
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ฟังก์ชันใน Python สามารถรับพารามิเตอร์ได้กี่ประเภท?
5 ประเภท
2 ประเภท
4 ประเภท
3 ประเภท
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
การเรียกใช้ฟังก์ชันใน Python ทำได้อย่างไร?
ใช้คำสั่ง print() เพื่อเรียกใช้ฟังก์ชัน
ใช้ชื่อฟังก์ชันตามด้วยวงเล็บ ()
ประกาศฟังก์ชันก่อนแล้วจึงใช้ชื่อฟังก์ชัน
ใช้วงเล็บ {} แทนวงเล็บ ()
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
การออกแบบและเทคโนโลยี ม.1

Quiz
•
7th Grade - University
10 questions
เทคโนโลยีในชีวิตประจำวัน

Quiz
•
7th Grade - University
10 questions
แบบทดสอบ QR Code

Quiz
•
9th Grade - University
20 questions
ข้อสอบ Canva

Quiz
•
9th - 12th Grade
20 questions
การจัดการและประมวลผลข้อมูล

Quiz
•
12th Grade - University
15 questions
แข่งขันcodingม.ปลาย

Quiz
•
12th Grade - University
10 questions
แบบทดสอบ Unit D

Quiz
•
4th Grade - University
15 questions
codingม.ต้น

Quiz
•
12th Grade - University
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th Grade
20 questions
Lab Safety and Lab Equipment

Quiz
•
9th - 12th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
6 questions
Secondary Safety Quiz

Lesson
•
9th - 12th Grade
15 questions
Let's Take a Poll...

Quiz
•
9th Grade - University
21 questions
Set SMART Goals

Lesson
•
9th - 12th Grade
20 questions
Lab Equipment Quiz Chemistry

Quiz
•
9th - 12th Grade