PythonBooleans

PythonBooleans

11th Grade

10 Qs

quiz-placeholder

Similar activities

ตัวดำเนินการ python

ตัวดำเนินการ python

11th Grade

10 Qs

เทคโนโลยีสารสนเทศ

เทคโนโลยีสารสนเทศ

10th - 12th Grade

10 Qs

การสร้างตัวแปร

การสร้างตัวแปร

11th Grade

15 Qs

Structure Programming

Structure Programming

6th Grade - University

10 Qs

การใช้เทคโนโลยีสารสนเทศอย่างรู้เท่าทันและปลอดภัย

การใช้เทคโนโลยีสารสนเทศอย่างรู้เท่าทันและปลอดภัย

6th - 12th Grade

13 Qs

แบบทดสอบที่ 2 เรื่อง เข้าใจสิทธิส่วนตัว

แบบทดสอบที่ 2 เรื่อง เข้าใจสิทธิส่วนตัว

1st - 12th Grade

10 Qs

เก็บคะแนน เรื่อง ความรู้เบื้องต้นเกี่ยวกับ AI

เก็บคะแนน เรื่อง ความรู้เบื้องต้นเกี่ยวกับ AI

9th - 12th Grade

10 Qs

ปัญญาประดิษฐ์

ปัญญาประดิษฐ์

9th - 12th Grade

10 Qs

PythonBooleans

PythonBooleans

Assessment

Quiz

Computers

11th Grade

Medium

Created by

อนุพงค์ คงสระ

Used 2+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ผลลัพธ์ของโค้ดต่อไปนี้จะเป็นอย่างไร
number = 3
print(number > 3)
print(number >= 3)

False

False

True

True

True

False

False

True

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ผลลัพธ์ของโค้ดต่อไปนี้จะเป็นอย่างไร
number = 3
print(number <= 3.0)

False

true

True

Error

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ผลลัพธ์ของโค้ดต่อไปนี้จะเป็นอย่างไร
number = 3
print(number != 3.1)

False

true

True

Error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ผลลัพธ์ของโค้ดต่อไปนี้จะเป็นอย่างไร
print(6 > 2 and 7 > 10)
print(6 > 2 or 7 > 10)

True

True

False

False

True

False

False

True

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ให้ score แทนค่าคะแนนเก็บ

แล้ว score = 105 เงื่อนไขต่อไปนี้เป็นจริง (True) หรือเป็นเท็จ (False)

score >= 80 and score <= 100

จริง (True)

เท็จ (False)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ให้ username แทนค่าผู้ใช้งาน และ password แทนรหัสผ่าน

แล้ว username = "admin" และ password = "1234" เงื่อนไขต่อไปนี้เป็นจริง (True) หรือเป็นเท็จ (False)

username == "admin1234" and password == "1234"

จริง (True)

เท็จ (False)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

เงื่อนไขต่อไปนี้เป็นจริง (True) หรือเป็นเท็จ (False)

x > y or y > z

ถ้า x = 5 , y = 3 และ z = 10

จริง (True)

เท็จ (False)

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?