ภาษาไพธอน
Quiz
•
Computers
•
University
•
Hard
Sajeewen Pratsri
Used 43+ times
FREE Resource
Enhance your content
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
ในภาษาไพทอน ฟังก์ชันใดใช้ในการแสดงข้อความออกทางจอภาพ
echo()
Output()
print()
printf()
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
ข้อใดต่อไปนี้ไม่เป็นความจริง
ไวยากรณ์ของ Python มีลักษณะคล้ายกับ PHP
Python สามารถใช้สำหรับการพัฒนาเว็บ
Python สามารถทำงานได้หลายแพลตฟอร์ม
Python สามารถใช้เพื่อสร้างหน้าเว็บแบบไดนามิก
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
หากต้องการกำหนดตัวแปร n ให้เป็นชนิด integer ที่มีค่าเท่ากับ 5 จะต้องประกาศตัวแปรอย่างไร
var n = 5;
int n = 5:
n = 5
variable n = 5
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
หากต้องการแปลงชนิดข้อมูลตัวแปร a ที่เป็นชนิด String ให้เป็น Integer จะต้องใช้คำสั่งใด
StringToInt(a)
int(a)
integer(a)
StringToInteger(a)
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
คำสั่งในการวนลูป For ของภาษาไพทอนในข้อใดถูกต้อง
for(a = 0; a < 3 ; a++)
for a in range(3)
for a loop 3 :
for a in range(1, 3) :
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
ข้อใดเป็นคำสั่งที่ถูกต้องในการวนลูป While ในภาษา Python
while loop a < 10
while a < 10 :
while(a < 10)
while loop a < 10 :
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
หากพิมพ์คำสั่ง “print(‘%.2f’ % 256.345)” จะได้ผลลัพธ์ตามข้อใด
256.34
256.35
256
45
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
10 questions
Sains Komputer Tingkatan 4 - 3.1.1 Mengkaji keperluan intera
Quiz
•
1st Grade - Professio...
10 questions
Session 2
Quiz
•
University
10 questions
ภาษาคอมพิวเตอร์
Quiz
•
University
10 questions
unit2 Big Data ปวส. 1
Quiz
•
University
10 questions
ComPro-01-Intro to Programming
Quiz
•
University
10 questions
Pre-Test การตรวจสอบความน่าเชื่อถือของข้อมูล
Quiz
•
9th Grade - University
10 questions
ระบบปฏิบัติการ
Quiz
•
University
10 questions
quiz ประวัติคอมพิวเตอร์
Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
Discover more resources for Computers
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
22 questions
FYS 2024 Midterm Review
Quiz
•
University
20 questions
Physical or Chemical Change/Phases
Quiz
•
8th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
12 questions
1 Times Tables
Quiz
•
KG - University
20 questions
Disney Trivia
Quiz
•
University
38 questions
Unit 6 Key Terms
Quiz
•
11th Grade - University