
แบบทดสอบวิชาภาษา Python สำหรับมหาลัยปี1
Authored by Few za
Others
University
Used 10+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Python เป็นภาษาโปรแกรมชนิดใด?
Object-Oriented Language
Markup Language
Database Language
Scripting Language
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
การใช้ # ใน Python มีหน้าที่อะไร?
ใช้สำหรับสร้างลูป
ใช้สำหรับสร้างฟังก์ชัน
ใช้สำหรับสร้างตัวแปร
การ comment หรือเป็น annotation ในโค้ด
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ใน Python, การใช้ print() จะทำอะไร?
คำนวณค่า
เปิดไฟล์
สร้างตัวแปรใหม่
แสดงข้อความหรือข้อมูลที่ต้องการบนหน้าจอ
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
จงอธิบายคำว่า 'SyntaxError' ใน Python
SyntaxError is a type of error that occurs when the code is executed on a non-Python platform.
SyntaxError is a warning message that can be ignored during code execution.
SyntaxError is a type of error that occurs when the parser encounters a syntax that does not conform to the language grammar rules.
SyntaxError is a result of incorrect indentation in Python code.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ใน Python, การใช้ '==' มีหน้าที่อะไร?
การเปรียบเทียบค่าของสองคลาส
การเปรียบเทียบค่าของสองฟังก์ชัน
การเปรียบเทียบค่าของสองลิสต์
การเปรียบเทียบค่าของสองตัวแปร
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ใน Python, การใช้ 'for' loop มีหน้าที่อะไร?
การเปลี่ยนแปลงค่าของตัวแปร
การสร้างตัวแปร
การเรียกใช้ฟังก์ชัน
การทำซ้ำคำสั่ง
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
คำสั่ง 'input()' ใน Python มีหน้าที่อะไร?
It is used to import external libraries in Python.
It is used to take user input from the console.
It is used to define a function in Python.
It is used to print output to the console.
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?