แบบทดสอบวิชาภาษา Python สำหรับมหาลัยปี1

แบบทดสอบวิชาภาษา Python สำหรับมหาลัยปี1

University

10 Qs

quiz-placeholder

Similar activities

แบบทดสอบ Power BI : Adv Visualization

แบบทดสอบ Power BI : Adv Visualization

University

8 Qs

โรคเบาหวาน

โรคเบาหวาน

University

10 Qs

จรรยาบรรณวิชาชีพครู

จรรยาบรรณวิชาชีพครู

University

10 Qs

ความขัดแย้งระหว่างจีน-ไต้หวัน

ความขัดแย้งระหว่างจีน-ไต้หวัน

University

10 Qs

Kim Tae Hyung

Kim Tae Hyung

University

10 Qs

คำศัพย์น่ารู้ด้านโลจิสติกส์

คำศัพย์น่ารู้ด้านโลจิสติกส์

University

10 Qs

พฤติกรรมผู้บริโภคด้านการบริการ

พฤติกรรมผู้บริโภคด้านการบริการ

University

7 Qs

แบบทดสอบวิชาภาษา Python สำหรับมหาลัยปี1

แบบทดสอบวิชาภาษา Python สำหรับมหาลัยปี1

Assessment

Quiz

Others

University

Easy

Created by

Few za

Used 4+ times

FREE Resource

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.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?