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

Quiz
•
Computers
•
7th Grade
•
Hard
Kru Sine
Used 105+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
echo
Output
printf
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใดต่อไปนี้ไม่เป็นความจริง
ไวยากรณ์ของ Python มีลักษณะคล้ายกับ PHP
Python สามารถใช้สำหรับการพัฒนาเว็บ
Python สามารถทำงานได้หลายแพลตฟอร์ม
Python สามารถใช้เพื่อสร้างหน้าเว็บแบบไดนามิก
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
หากต้องการคอมเมนต์บรรทัดเดียว จะต้องใช้เครื่องหมายใด
*
\
//
#
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
หากต้องการคอมเมนต์แบบหลายบรรทัด จะต้องใส่เครื่องหมายใดก่อนและหลังข้อความที่เป็นคอมเมนต์
'''
///
###
@
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
หากต้องการกำหนดตัวแปร n ให้เป็นชนิด integer ที่มีค่าเท่ากับ 5 จะต้องประกาศตัวแปรอย่างไร
var n = 5
int n = 5
n = 5
variable n = 5
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
หากต้องการแปลงชนิดข้อมูลตัวแปร a ที่เป็นชนิด String ให้เป็น Integer จะต้องใช้คำสั่งใด 1. StringToInt(a)2. int(a)
StringToInt(a)
int(a)
integer(a)
StringToInteger(a)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใดต่อไปนี้เป็นคำสั่ง if ในภาษา Python ที่ถูกต้อง
if a >= 10 :
if (a = 22)
if (a => 10)
if a =< 22 :
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
ทบทวนความรู้การเขียนโปรแกรม Scratch

Quiz
•
7th Grade
10 questions
python in math m5-0163

Quiz
•
7th - 12th Grade
13 questions
การใช้เทคโนโลยีสารสนเทศอย่างรู้เท่าทันและปลอดภัย

Quiz
•
6th - 12th Grade
10 questions
ภาษาไพทอนเบื้องต้น/ทดสอบย่อย ม.1

Quiz
•
7th Grade
10 questions
การออกแบบอัลกอริทึม

Quiz
•
7th Grade
10 questions
ทบทวนความรู้ภาษาไพทอน

Quiz
•
6th - 8th Grade
10 questions
หน่วยที่ 2 การเขียนโปรแกรมเพื่อแก้ปัญหา ป 6

Quiz
•
1st - 12th Grade
15 questions
การเขียนโปรแกรมเบื้องต้น

Quiz
•
6th - 7th Grade
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