Search Header Logo

แบบทดสอบกลางภาค 6/1

Authored by อารีรัตน์ ธานี

Computers

University

Used 18+ times

แบบทดสอบกลางภาค 6/1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers