Câu lệnh rẽ nhánh

Câu lệnh rẽ nhánh

10th Grade

10 Qs

quiz-placeholder

Similar activities

BÀI KIỂM TRA GIỮA KÌ 2 LỚP 5

BÀI KIỂM TRA GIỮA KÌ 2 LỚP 5

1st - 10th Grade

10 Qs

FTP

FTP

1st - 10th Grade

12 Qs

Archivos Digitales

Archivos Digitales

9th Grade - University

14 Qs

PRUEBA CORTA I - SISTEMA E INSTALACIÓN DE SOFTWARE I - U4

PRUEBA CORTA I - SISTEMA E INSTALACIÓN DE SOFTWARE I - U4

9th - 12th Grade

15 Qs

BÀI 8. SẮP XẾP VÀ LỌC DỮ LIỆU

BÀI 8. SẮP XẾP VÀ LỌC DỮ LIỆU

1st - 12th Grade

10 Qs

Validación de Datos

Validación de Datos

10th Grade

10 Qs

BÀI 14- THUẬT TOÁN TÌM KIẾM TUẦN TỰ

BÀI 14- THUẬT TOÁN TÌM KIẾM TUẦN TỰ

6th Grade - University

14 Qs

Quizz Internet

Quizz Internet

KG - Professional Development

12 Qs

Câu lệnh rẽ nhánh

Câu lệnh rẽ nhánh

Assessment

Quiz

Computers

10th Grade

Practice Problem

Medium

Created by

Dương DN)

Used 47+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

print

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

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?