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

PAT INFORMATIKA X TKJ ATPH

PAT INFORMATIKA X TKJ ATPH

10th Grade

50 Qs

Informatika 7

Informatika 7

7th Grade

50 Qs

Excel y PowerPoint

Excel y PowerPoint

KG

46 Qs

TECHTOK CHAMPS (PENYISIHAN)

TECHTOK CHAMPS (PENYISIHAN)

6th - 8th Grade

50 Qs

Matematika SAS Genap Kelas 4

Matematika SAS Genap Kelas 4

4th Grade

50 Qs

Lý sinh chương 4

Lý sinh chương 4

University

49 Qs

Bab 1 : Perniagaan dan Persekitaran

Bab 1 : Perniagaan dan Persekitaran

University

50 Qs

soal bahasa inggris

soal bahasa inggris

8th 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

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...

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")

Access all questions and much more by creating a free account

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?