Ôn tập biến và lệnh gán trong Python

Ôn tập biến và lệnh gán trong Python

10th Grade

10 Qs

quiz-placeholder

Similar activities

Dasar C++

Dasar C++

10th Grade

10 Qs

Strategi Sandaran dan Urus Versi

Strategi Sandaran dan Urus Versi

2nd Grade - University

10 Qs

TRẮC NGHIỆM BÀI 1 - TIN HỌC 10 CÁNH DIỀU

TRẮC NGHIỆM BÀI 1 - TIN HỌC 10 CÁNH DIỀU

10th Grade

10 Qs

Quiz Array

Quiz Array

10th Grade - University

10 Qs

Parcial 1 Reparación y Soporte- 5to BACO - I Unidad Forma B

Parcial 1 Reparación y Soporte- 5to BACO - I Unidad Forma B

10th Grade - University

13 Qs

Benar atau Salah?

Benar atau Salah?

10th Grade

10 Qs

Programming Bach

Programming Bach

9th - 12th Grade

14 Qs

Wprowadzenie do md, Colab i Python

Wprowadzenie do md, Colab i Python

9th Grade - University

12 Qs

Ôn tập biến và lệnh gán trong Python

Ôn tập biến và lệnh gán trong Python

Assessment

Quiz

Information Technology (IT)

10th Grade

Easy

Created by

Bá Nghiêm Nguyễn

Used 2+ 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

Trong Python câu lệnh gán tổng quát có dạng như thế nào?

<biến>

:= <biểu thức>

<biến>

= <biểu thức>

<biến>

== <biểu thức>

<biểu thức>

= <biến>

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Đâu là quy tắc đúng khi đặt tên biến cho Python?

Tên biến có thể bắt đầu bằng dấu gạch dưới “_”

Có thể sử dụng keyword làm tên biến

Tên biến có thể bắt đầu bằng một chữ số

Tên biến có thể có các kí hiệu @, #, %, &,…

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Để viết 3 mũ 4 trong Python ta thực hiện :

3**4

3//4

3*3+3*3

3%4

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Tên biến nào sau đây là đúng trong Python?

–tich

tong@

1_dem

ab_c1

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

2*x+1/x+2

(2*x+1)/(x+2)

(2*x+1)(x+2)

(2*x+1) :(x+2)

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Trong Python, câu lệnh nào sau đây là khai báo biến?

n = 50

n==50

n>50

n!=50

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Kết quả khi thực hiện câu lệnh sau trong Python:

>>>10 - 5 ** 2 + 8//3 +2

-11

11

7

Câu lệnh bị lỗi

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?