
Python_Basic
Authored by วิชัย สิงห์น้อย
Computers
12th Grade
Used 104+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
ในภาษาไพทอน ฟังก์ชันใดใช้ในการแสดงข้อความออกทางจอภาพ
echo
Output
printf
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
ข้อใดต่อไปนี้ไม่เป็นความจริง
ไวยากรณ์ของ Python มีลักษณะคล้ายกับ PHP
Python สามารถใช้สำหรับการพัฒนาเว็บ
Python สามารถทำงานได้หลายแพลตฟอร์ม
Python สามารถใช้เพื่อสร้างหน้าเว็บแบบไดนามิก
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
หากต้องการคอมเมนต์บรรทัดเดียว จะต้องใช้เครื่องหมายใด
*
\
//
#
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
หากต้องการคอมเมนต์แบบหลายบรรทัด จะต้องใส่เครื่องหมายใดก่อนและหลังข้อความที่เป็นคอมเมนต์
'''
///
###
@
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
หากต้องการกำหนดตัวแปร n ให้เป็นชนิด integer ที่มีค่าเท่ากับ 5 จะต้องประกาศตัวแปรอย่างไร
var n = 5
int n = 5
n = 5
variable n = 5
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
หากต้องการแปลงชนิดข้อมูลตัวแปร a ที่เป็นชนิด String ให้เป็น Integer จะต้องใช้คำสั่งใด
StringToInt(a)
int(a)
integer(a)
StringToInteger(a)
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
หากต้องการแปลงชนิดข้อมูลตัวแปร a ที่เป็นชนิด Integer ให้เป็น String จะต้องใช้คำสั่งใด
int(a)
IntToString(a)
str(a)
string(a)
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
40 questions
หน่วย4 ทรัพย์สินทางปัญญา
Quiz
•
12th Grade
40 questions
1/12 คอมพิวเตอร์สร้างสรรค์ 1 แบบทดสอบกลางภาคเรียนที่ 2/2567
Quiz
•
9th - 12th Grade
40 questions
ข้อสอบกลางภาค
Quiz
•
9th - 12th Grade
40 questions
Final-DataStruct
Quiz
•
10th Grade - University
40 questions
แบบทดสอบการจัดองค์การ
Quiz
•
12th Grade
40 questions
สอบปลายภาค วิชา การพัฒนาเว็บไซต์ทางธุรกิจ
Quiz
•
12th Grade
40 questions
ข้อสอบปลายภาค ว30277 (ชั้น ม.4/1)
Quiz
•
9th - 12th Grade
40 questions
ระบบปฏิบัติการ
Quiz
•
1st - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade