Search Header Logo

แบบทดสอบเรื่อง: ตัวแปร ชนิดข้อมูล ฟังก์ชันรับค่า

Authored by Kru-Noosanee Hayeeyusoh

Computers

7th Grade

Used 3+ times

แบบทดสอบเรื่อง: ตัวแปร ชนิดข้อมูล ฟังก์ชันรับค่า
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

เปลี่ยนเป็นธีมแห่งอนาคตคำสั่งใดใช้สำหรับการกำหนดค่าให้กับตัวแปรในภาษาไพทอน?

คำสั่งกำหนดค่า (assignment)

คำสั่งเปรียบเทียบ (comparison)

คำสั่งวนซ้ำ (loop)

คำสั่งแสดงผล (print)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

เปลี่ยนเป็นธีมแห่งอนาคตตัวแปรชนิดใดที่ใช้เก็บข้อมูลที่เป็นตัวอักษรในภาษาไพทอน?

float

integer

boolean

string

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ชนิดข้อมูลที่ใช้เก็บข้อมูลที่เป็นจำนวนเต็มในภาษาไพทอนเปลี่ยนเป็นธีมแห่งอนาคตคือ?

boolean

string

float

int

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

เปลี่ยนเป็นธีมแห่งอนาคตคำสั่งใดใช้สำหรับการรับค่าจากผู้ใช้ในภาษาไพทอน?

read()

input()

get()

user_input()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ฟังก์ชันที่ใช้สำหรับเปลี่ยนเป็นธีมแห่งอนาคตของข้อมูลเป็นชนิดข้อมูลจำนวนเต็มในภาษาไพทอนคือ?

str()

float()

int()

bool()

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?