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

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

University

10 Qs

quiz-placeholder

Similar activities

Python Quiz 1

Python Quiz 1

University

10 Qs

ทฤษฎีดนตรีสากล (hard)

ทฤษฎีดนตรีสากล (hard)

University

15 Qs

คำถามสัตว์แปลก

คำถามสัตว์แปลก

University

10 Qs

บทที่ 5 การเพิ่มประสิทธิภาพในองค์การ

บทที่ 5 การเพิ่มประสิทธิภาพในองค์การ

University

10 Qs

meitu test

meitu test

University

10 Qs

Python if statement part 2

Python if statement part 2

University

8 Qs

Python dictionary

Python dictionary

University

11 Qs

opm512 ครั้งที่1

opm512 ครั้งที่1

University

5 Qs

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

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

Assessment

Quiz

Others

University

Easy

Created by

Few za

Used 3+ 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?