ตัวแปรในภาษา Python มีประเภทใดบ้าง?

ความรู้พื้นฐานการเขียนโปรแกรม 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
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 Quizizz
10 questions
แบบทดสอบก่อนเรียน (Pre - test)

Quiz
•
12th Grade
10 questions
แบบทดสอบ google site

Quiz
•
1st Grade - University
10 questions
แบบทดสอบ AI

Quiz
•
9th - 12th Grade
10 questions
การสืบค้นเพื่อหาแหล่งข้อมูล

Quiz
•
9th - 12th Grade
20 questions
การใช้งานโลกดิจิทัลอย่างปลอดภัย

Quiz
•
9th - 12th Grade
10 questions
วิธีการปฏิบัติตัวเมื่อเกิดไฟดับ

Quiz
•
9th - 12th Grade
13 questions
โมบายแอพ และ เฟรมเวิร์ค

Quiz
•
12th Grade
15 questions
แบบทดสอบทักษะการรู้ดิจิทัล

Quiz
•
12th Grade
Popular Resources on Quizizz
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
15 questions
Character Analysis

Quiz
•
4th Grade
12 questions
Multiplying Fractions

Quiz
•
6th Grade
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade
Discover more resources for Information Technology (IT)
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
14 questions
Attributes of Linear Functions

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University
50 questions
Biology Regents Review 2: Ecology

Quiz
•
9th - 12th Grade
20 questions
Investing

Quiz
•
9th - 12th Grade