แบบทดสอบ Python เบื้องต้น
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
นิติพร มาลาชาติ
Used 22+ times
FREE Resource
Enhance your content in a minute
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
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
็็HTML ข้อสอบกลางภาค
Quiz
•
12th Grade
20 questions
สุขศึกษา ป.5 ภาคเรียนที่ 2 ปลายภาค
Quiz
•
11th Grade
20 questions
โปรแกรมตารางงาน ทดสอบปลายภาค ชุดที่ 2
Quiz
•
10th - 12th Grade
20 questions
แบบทดสอบปลายภาค IPST MICROBOX ม.2 ภาคเรียนที่ 2 ปีการศึกษา 2561
Quiz
•
8th - 10th Grade
20 questions
เทคโนโลยีแก้ปัญหา ม.3
Quiz
•
9th Grade
20 questions
ตัดต่อ vdo
Quiz
•
11th - 12th Grade
20 questions
Sketchup เบื้องต้น
Quiz
•
11th - 12th Grade
20 questions
ระบบจำนวนเต็ม
Quiz
•
KG - 10th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
