ในภาษาไพทอน ฟังก์ชันใดใช้ในการแสดงข้อความออกทางจอภาพ
ภาษาไพธอน

Quiz
•
Computers
•
University
•
Hard
Sajeewen Pratsri
Used 42+ times
FREE Resource
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
Similar Resources on Wayground
10 questions
scratch

Quiz
•
University
10 questions
Microsoft Excel

Quiz
•
University
10 questions
การเขียนโปรแกรมอย่างง่าย

Quiz
•
University
10 questions
แบบทดสอบก่อนเรียน/หลังเรียน เรื่องรู้จักพื้นฐาน KidBright

Quiz
•
7th Grade - University
10 questions
Chapter 4 การสืบทอด Class

Quiz
•
University
10 questions
ภาษา HTML

Quiz
•
University
10 questions
Windows

Quiz
•
University
10 questions
แบบทดสอบที่ 5 เรื่องการรับค่าในภาษาไพทอน (รายกลุ่ม)

Quiz
•
7th Grade - University
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade