Kiến thức cơ bản về Python

Kiến thức cơ bản về Python

KG

51 Qs

quiz-placeholder

Similar activities

SUMATIF TENGAH SEMESTER

SUMATIF TENGAH SEMESTER

12th Grade

50 Qs

pts smester 2

pts smester 2

11th Grade

50 Qs

Quiz về Chiến lược bảo vệ Tổ quốc

Quiz về Chiến lược bảo vệ Tổ quốc

KG

54 Qs

tin học

tin học

KG - University

49 Qs

Mid Term Revision

Mid Term Revision

3rd Grade

53 Qs

Chrismas Quiz

Chrismas Quiz

Professional Development

53 Qs

lịch sử

lịch sử

2nd Grade

50 Qs

Ulangan Harian #3

Ulangan Harian #3

9th - 12th Grade

50 Qs

Kiến thức cơ bản về Python

Kiến thức cơ bản về Python

Assessment

Quiz

Others

KG

Practice Problem

Hard

Created by

Trần Võ Phương Thùy 7a3

FREE Resource

AI

Enhance your content in a minute

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

51 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu lệnh nào dưới đây là cách khai báo biến trong Python?

int x = 5

x = 5

var x = 5

declare x = 5

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Đâu là cú pháp đúng để viết một chú thích trong Python?

// Đây là chú thích

/* Đây là chú thích */

# Đây là chú thích

-- Đây là chú thích

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

[TH] Câu lệnh nào dưới đây không phải là cú pháp đúng trong Python?

x = 10

a = b = c = 5

x = 10 + 5

int x = 10

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong Python, một chú thích đa dòng được viết như thế nào?

''' Đây là chú thích đa dòng '''

# Đây là chú thích đa dòng

// Đây là chú thích đa dòng

/* Đây là chú thích đa dòng */

5.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

[TH] Đâu là cú pháp khai báo biến với giá trị là một chuỗi trong Python?

x = "Hello"

x = 'Hello'

x = Hello World

x = "Hello" hoặc x = 'Hello'

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

[TH] Nếu bạn muốn khai báo một biến có tên là totalAmount trong Python, cú pháp đúng là gì?

totalAmount := 100

totalAmount = 100

int totalAmount = 100

totalAmount -> 100

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu lệnh nào dưới đây dùng để in ra kết quả trong Python?

print("Hello World")

echo("Hello World")

write("Hello World")

output("Hello World")

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

Already have an account?