4--ข้อสอบ ภาษาไพทอน ม.1
Quiz
•
Computers
•
7th Grade
•
Hard
Kru Sine
Used 107+ times
FREE Resource
Enhance your content
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
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
วิชาคอมพิวเตอร์ (อารยา 1016)
Quiz
•
6th - 8th Grade
10 questions
การเขียนโปรแกรม scratch
Quiz
•
4th - 9th Grade
15 questions
แบบทดสอบหน่วยที่ 2 การทำงานกับข้อความ
Quiz
•
7th Grade
10 questions
คอมพิวเตอร์กราฟิกเบื้องต้น
Quiz
•
7th Grade - University
10 questions
พื้นฐานภาษาไพทอน-2-คำสั่ง Print
Quiz
•
7th - 12th Grade
10 questions
โปรแกรม Scratch ป.3
Quiz
•
3rd Grade - University
15 questions
เก็บคะแนนแนวคิดเชิงนามธรรม1-67
Quiz
•
6th - 8th Grade
10 questions
รหัสลำลองและผังงาน
Quiz
•
7th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
25 questions
Exploring POV and Unreliable Narrators
Quiz
•
7th Grade
18 questions
Company Logos
Quiz
•
6th - 8th Grade
20 questions
Typing Practice
Quiz
•
7th - 12th Grade
14 questions
Inputs and Outputs: Computer Science Intro
Lesson
•
5th - 9th Grade