Giá trị các biểu thức lôgic thuộc kiểu dữ liệu nào?

Câu hỏi về lập trình Python

Quiz
•
Information Technology (IT)
•
10th Grade
•
Medium
Dame NeverTryRemind
Used 2+ times
FREE Resource
Student preview

78 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
bool.
int.
float.
str.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn chương trình sau: x=2021 print((x%4==0 and x%100!=0) or x%400==0)
55.
True.
5.
False.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cấu trúc của rẽ nhánh dạng thiếu trong ngôn ngữ lập trình Python có dạng như thế nào?
if< điều kiện >: < câu lệnh >.
if< điều kiện > < câu lệnh >.
if< điều kiện > then: < câu lệnh >.
if< điều kiện >: < câu lệnh >.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Biểu thức lôgic đúng thể hiện số a nằm ngoài [3,8] là
a < 3 and a >= 8.
3 <= a <=8.
a < 3 and a > 8.
a <= 3 and a >= 8.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong cấu trúc rẽ nhánh dạng thiếu câu lệnh < câu lệnh > được thực hiện khi nào?
Điều kiện sai.
Điều kiện đúng.
Điều kiện bằng 0.
Điều kiện khác 0.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho x = True, y = False. Cho biết giá trị của biểu thức sau: not((x or y ) and x )
True
False
x
1
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của biểu thức round(-1.232154, 4) là
-1.2321.
-1.2322.
-1.23.
-1,232.
Create a free account and access millions of resources
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade