Search Header Logo

ไพทอน-ชนิดข้อมูล-ตัวแปร-นิพจน์

Authored by สุดาทิพย์ รอดศรี

Computers

7th Grade

Used 4+ times

ไพทอน-ชนิดข้อมูล-ตัวแปร-นิพจน์
AI

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

ข้อใด ไม่ใช่ ชนิดของตัวแปรในภาษาไพทอน

string

Integer

normal

bool

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ตัวแปรชนิดใดที่ให้ผลลัพธ์เป็น True หรือ False เท่านั้น

normal

string

float

bool

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ข้อใดต่อไปนี้ ตั้งชื่อตัวแปรไม่ถูกต้อง

1_name

_number

no8

hello

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ข้อใดต่อไปนี้ ไม่สามารถใช้เป็นชื่อของตัวแปรได้

break

open

close

next

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ผลลัพธ์ของนิพจน์ 7 + 2 * 3 – 1 + 5 % 2 คือข้อใด

9

13

1

5

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ผลลัพธ์ของนิพจน์ 5 ** 2 – 6 // 4 คือข้อใด

4

1

24

0

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

กำหนดให้ x = 10 คำสั่งแสดงผลข้อใดใช้ไม่ถูกต้อง

print(“Hello World\t”)

print(x)

print(“Number is ”x)

print(x+x)

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?