Search Header Logo

ทดสอบบทที่3

Authored by กานต์ทิตา พุ่มคง

Computers

Vocational training

ทดสอบบทที่3
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

63 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1.ข้อใดกล่าวถึงการประกาศตัวแปรในภาษาไพธอนไม่ถูกต้อง?

ก.ประกาศตัวแปรพร้อมกำหนดกำหนดค่าที่ต้องการจัดเก็บ

ข.การประกาศตัวแปรต้องระบุชนิดข้อมูลด้วย

ค.ประกาศตัวแปรหน้านิพจน์ที่ต้องการจัดเก็บผลลัพลัพธ์

ง.ประกาศชื่อตัวแปรต้องไม่ซ้ำกับคำสงวน

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

2.ข้อใดประกาศตัวแปรได้อย่างถูกต้อง?

ก.salay int = 2500

ข.salay : int =2500

ค.salay = 2500

ง.salay : 2500

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

3.ข้อใดเป็นการตั้งชื่อตัวแปรได้อย่างถูกต้อง?

ก._employee

ข.global

ค.2024Emp

ง.$salary

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

4.ข้อใดกำหนดค่าให้กับตัวแปรไม่ถูกต้อง?

ก.str = ‘product’

ข.point = 12.56

ค.status = True

ง.x, y, z = 100

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

5.ข้อใดตือค่าของตัวแปร b จากนิพจน์นี้ ?

a, *b, c= [11, 12, 13, 14, 15]

ก.12

ข.[12, 13, 14, 15]

ค.[12, 13, 14]

ง.[12, 13]

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

6.ข้อใดคือผลรวมของ2+3j และ 4 - 5j ?

ก.6 - 2j

ข.6 + 2j

ค. -2 - 8j

ง.-2 + 8j

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

7.ข้อใดเป็นการกำหนดให้ตัวแปร str จัดเก็บข้อความแล้วสามารถพิมพ์แสดงออกเป็น

My name ’s “Suda”.?

ก.str = My name ’s “Suda”.?

ข.str = My name ’s “Suda”

ค..str = My name /’s “Suda”’

ง.str = My name \’s “Suda”’

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?