py308

py308

10th Grade

8 Qs

quiz-placeholder

Similar activities

ระบบเทคโนโลยี1

ระบบเทคโนโลยี1

10th Grade

10 Qs

C# lesson10

C# lesson10

1st - 10th Grade

10 Qs

เลขยกกำลัง ม.2

เลขยกกำลัง ม.2

1st - 10th Grade

10 Qs

Data Types in Python

Data Types in Python

9th - 12th Grade

10 Qs

แบบทดสอบก่อนเรียนภาษาPython

แบบทดสอบก่อนเรียนภาษาPython

10th Grade

10 Qs

Embed System#1

Embed System#1

10th - 12th Grade

10 Qs

Python тілінде программалау

Python тілінде программалау

1st - 10th Grade

10 Qs

py308

py308

Assessment

Quiz

Computers

10th Grade

Hard

Created by

Mongkon Chanadee

Used 3+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

คำสั่งใดใช้รับข้อมูลจากผู้ใช้?

input()

print()

float()

type()

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

ถ้าต้องการทราบชนิดข้อมูลของตัวแปร x ต้องใช้คำสั่งใด?

input(x)

print(x)

float(x)

type(x)

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

float(5) จะให้ผลลัพธ์เป็นอะไร?

5

"5"

5.0

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

ข้อใดเป็นการแปลงข้อความ "3.14" เป็นตัวเลขทศนิยมที่ถูกต้อง?

int("3.14")

str("3.14")

float("3.14")

decimal("3.14")

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

type(3.0) จะให้ผลลัพธ์เป็นอะไร?

int

str

float

bool

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

type(3) จะให้ผลลัพธ์เป็นอะไร?

int

str

float

bool

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

type("3") จะให้ผลลัพธ์เป็นอะไร?

int

str

float

bool

8.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

จากคำสั่ง print("Hello", "World") ผลลัพธ์ที่ได้คืออะไร?

HelloWorld

Hello World

"HelloWorld"

"Hello World"