Kiến thức về Biến trong Python

Kiến thức về Biến trong Python

11th Grade

20 Qs

quiz-placeholder

Similar activities

KODING PYTON 1

KODING PYTON 1

11th Grade - University

20 Qs

Tugas Latihan Soal Informatika 9

Tugas Latihan Soal Informatika 9

9th - 12th Grade

20 Qs

BÀI KIỂM TRA THƯỜNG XUYÊN - LẦN 1

BÀI KIỂM TRA THƯỜNG XUYÊN - LẦN 1

11th Grade

20 Qs

KELAS 7 BAB 6 ANALISIS DATA C. Pengolahan Data Dasar

KELAS 7 BAB 6 ANALISIS DATA C. Pengolahan Data Dasar

7th Grade - University

20 Qs

Nội Quy môn Tin học

Nội Quy môn Tin học

1st Grade - University

15 Qs

3-АЙ 1-АПТА ИНФО

3-АЙ 1-АПТА ИНФО

11th Grade

21 Qs

Kennenlernenl

Kennenlernenl

11th Grade - University

20 Qs

Internet and App script

Internet and App script

5th Grade - University

22 Qs

Kiến thức về Biến trong Python

Kiến thức về Biến trong Python

Assessment

Quiz

Information Technology (IT)

11th Grade

Practice Problem

Hard

Created by

Phạm Tú

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Tên biến nào sau đây là hợp lệ trong Python?

1variable

variable_1

variable-1

variable!

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Tên biến nào sau đây không hợp lệ trong Python?

myVar

_variable

import

variable123

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong Python, biến nào sau đây được sử dụng để lưu giá trị số nguyên?

x = 3.14

y = '100'

z = 42

w = [1, 2, 3]

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kết quả của đoạn mã sau là gì?

x = 10

y = 20

x, y = y, x

print(x, y)

10 20

20 10

20 20

10 10

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Tên biến nào dưới đây sử dụng đúng quy tắc đặt tên biến trong Python?

my-variable

my_variable

my variable

myVariable!

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Tên biến nào sau đây là không hợp lệ?

_var

__init__

9lives

var_name

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kết quả của đoạn mã sau là gì?

x = 5

x = x + 10

print(x)

5

10

15

50

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?