Câu lệnh rẽ nhánh

Quiz
•
Computers
•
10th Grade
•
Medium
Dương DN)
Used 46+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để hiển thị nội dung lên màn hình, chúng ta sử dụng câu lệnh nào ?
print()
write()
screen()
display()
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Trong câu lệnh
if <điều kiện> :
câu lệnh
Câu lệnh được thực hiện khi?
Điều kiện cho giá trị đúng
Điều kiện cho giá trị sai
Không cần kiểm tra điều kiện
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Điền vào dấu … để khi nhập a=2, b=3 thì chương trình sẽ in ra 6.
a = … (input(‘a=’))
b = … (input(‘b=’))
print(a*b)
không cần điền gì thêm
float
int
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Biểu thức [(x+y)*z]-(x2-y2) chuyển sang Python là:
((x+y)*z)-(x2-y2)
((x+y)*z)-(x*x-y*y)
((x+y)*z)-(x2-y2)
(x+y)*z-x*x-y*y
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong ngôn ngữ lập trình Python, câu lệnh nào sau đây là gán giá trị cho biến?
n = 50
n==50
n>50
n!=50
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Em hãy chọn tên biến hợp lệ trong Python:
10tin
tin10@
_tin10
tin 10
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
a=20
b=10
print(a/b)
Đoạn chương trình Python trên in ra kết quả là bao nhiêu?
2
2010
a/b
2.0
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Tin 10: Bài 1 Làm quen với NNLT bậc cao

Quiz
•
10th Grade
10 questions
Bai 17

Quiz
•
10th Grade
10 questions
Kiểm tra thường xuyên lần 2

Quiz
•
10th Grade
15 questions
Kiểm tra thường xuyên 3 HK1

Quiz
•
10th Grade
10 questions
KTTX-T4

Quiz
•
9th - 12th Grade
10 questions
Ôn tập: Câu lệnh IF

Quiz
•
10th Grade
10 questions
Trắc nghiệm: Bài 18-Các lệnh vào ra đơn giản

Quiz
•
10th Grade
10 questions
Câu hỏi Python

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
10 questions
Essential Lab Safety Practices

Interactive video
•
6th - 10th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade