แบบทดสอบ Python เบื้องต้น

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
นิติพร มาลาชาติ
Used 21+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ฟังก์ชันใดใช้ในการแสดงข้อความออกทางจอภาพ
Echo
print()
output
printf
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
หากต้องการคอมเมนต์บรรทัดเดียว จะต้องใช้เครื่องหมายใด
*
\
//
#
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
หากต้องการกำหนดตัวแปร n ให้เป็นชนิด integer (จำนวนเต็ม) ที่มีค่าเท่ากับ 5 จะต้องประกาศตัวแปรอย่างไร
Var n = 5
int n = 5
n = 5
variable n = 5
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
หากต้องการแปลงชนิดข้อมูลตัวแปร a ที่เป็นชนิด integer (จำนวนเต็ม) ให้เป็น string (ข้อความ) จะต้องใช้คำสั่งใด
Int(a)
IntToString(a)
str(a)
String(a)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
หากต้องการตรวจสอบชนิดของตัวแปร a จะต้องใช้คำสั่งในข้อใด
getType(a)
Type(a)
type(a)
a.type
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ไฟล์ source Code ของไพทอนจะมีนามสกุลไฟล์แบบใด
.py
run
.pptx
.doc
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ต้องการกำหนดตัวแปร n ให้เป็นชนิด string ที่มีข้อความเท่ากับ a จะต้องประกาศตัวแปรอย่างไร
n = string
n = 'a'
String(a)
Int(a)
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
การเปลี่ยนแปลงเทคโนโลยี

Quiz
•
9th - 12th Grade
20 questions
การสร้างapp ด้วย thunkable

Quiz
•
12th Grade
20 questions
แจ็คเก็ตงาน

Quiz
•
8th Grade - University
20 questions
แบบทดสอบ หน่วยที่ 3 ประมวลผลข้อมูล

Quiz
•
11th Grade
15 questions
ทวนความรู้ครั้งที่ 3

Quiz
•
9th - 12th Grade
20 questions
ความรู้พื้นฐาน Python

Quiz
•
10th Grade - University
20 questions
ภาษา Python บทที่ 1

Quiz
•
9th Grade
20 questions
beginning c programing

Quiz
•
10th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade