
Câu lệnh rẽ nhánh

Quiz
•
Mathematics, English, Computers
•
11th Grade
•
Hard

thúy hằng
Used 13+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh nào dùng để kiểm tra Delta âm và kết luận vô nghiệm trong Python.
if delta < 0 then writeln('Phuong trinh vo nghiem');
if delta < 0 :
print('Phuong trinh vo nghiem')
if delta < 0
print('Phuong trinh vo nghiem')
if delta < 0 : print('Phuong trinh vo nghiem');
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh sau khi thực hiện in kết quả như thế nào ra màn hình:
D = 0
if D = 0:
print ("Phương trình có nghiệm kép")
Thông báo chương trình có nghiệm kép
Thông báo nghiệm kép của phương trình bậc 2
Kiểm tra giá trị Delta
Câu lệnh sai, không thực hiện được
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Điền vào chỗ trống điều kiện của câu lệnh sau để có câu lệnh kiểm tra giá trị T nhập vào nhỏ hơn 10000 và thông báo "Bạn hãy đưa thêm tiền vào"
if .... : print("Bạn hãy đưa thêm tiền vào")
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Giá trị x sau khi thực hiện lệnh sau sẽ là gì?
x = 4**2 - 4*4 ==0
True
False
0
16
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Cho đoạn chương trình
a = 5
b = 7
X = a<b or a<0 and b<0
Giá trị của X là gì?
True
False
Chương trình báo lỗi
0
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Cho đoạn chương trình
a = 5
b = 7
X = (a<b or a<0) and b<0
Giá trị của X là gì?
True
False
Chương trình báo lỗi
0
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Biểu thức logic nào kiểm tra năm n có là năm nhuận hay không?
n%400 ==0 or (n%4==0 and n%100 !=0)
n%400 ==0 or n%4==0 and n%100 !=0
n%400 ==0
(n%4==0 and n%100 !=0)
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Alg 1A 2-6 Inequalities 2 step

Quiz
•
9th - 12th Grade
15 questions
bài tập mảng tiết 1

Quiz
•
11th Grade
10 questions
Ai nhanh hơn For-do

Quiz
•
5th Grade - University
12 questions
Basic Taylor Series

Quiz
•
11th - 12th Grade
10 questions
Tin 11 - PHÉP LẶP

Quiz
•
11th Grade
15 questions
4.8 Analyzing Graphs of Polynomial Functions

Quiz
•
9th - 12th Grade
12 questions
Distribution of Sample Proportions

Quiz
•
10th - 12th Grade
10 questions
Solve Inequalities

Quiz
•
9th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Mathematics
20 questions
Parallel lines and transversals

Quiz
•
9th - 12th Grade
9 questions
Geometry and Trigonometry Concepts

Interactive video
•
9th - 12th Grade
31 questions
2.1.3 Angle relationships

Quiz
•
10th - 11th Grade
10 questions
Angle Relationships with Parallel Lines and a Transversal

Quiz
•
9th - 12th Grade
11 questions
Solving Multistep Equations Quiz

Quiz
•
11th Grade
10 questions
Intro to Parallel and Perpendicular Slopes

Quiz
•
9th - 12th Grade
15 questions
Absolute Value Equations and Inequalities

Quiz
•
9th - 11th Grade
15 questions
Intro To Compound Inequalities

Quiz
•
9th - 12th Grade