
PythonBooleans
Authored by อนุพงค์ คงสระ
Computers
11th Grade
Used 2+ times

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
ผลลัพธ์ของโค้ดต่อไปนี้จะเป็นอย่างไร
number = 3
print(number > 3)
print(number >= 3)
ผลลัพธ์ของโค้ดต่อไปนี้จะเป็นอย่างไร
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)
ผลลัพธ์ของโค้ดต่อไปนี้จะเป็นอย่างไร
number = 3
print(number <= 3.0)False
true
True
Error
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ผลลัพธ์ของโค้ดต่อไปนี้จะเป็นอย่างไร
number = 3
print(number != 3.1)
ผลลัพธ์ของโค้ดต่อไปนี้จะเป็นอย่างไร
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)
ผลลัพธ์ของโค้ดต่อไปนี้จะเป็นอย่างไร
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)
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
Imaging and Design
Quiz
•
11th - 12th Grade
10 questions
Основы программирования на языке Паскаль
Quiz
•
8th - 11th Grade
13 questions
Pengenalan Aplikasi Blender
Quiz
•
11th Grade
10 questions
แบบทดสอบหลังเรียน เรื่อง การแบ่งปันข้อมูล
Quiz
•
10th - 12th Grade
11 questions
Types of Mass Media
Quiz
•
10th Grade - Professi...
10 questions
10 câu kiểu xâu tiết 1
Quiz
•
11th Grade
10 questions
EMPOWERMENT TECHNOLOGIES – QUIZ 7 [New]
Quiz
•
11th Grade
11 questions
Programming Quiz 1
Quiz
•
11th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade