Câu hỏi trắc nghiệm về Python

Câu hỏi trắc nghiệm về Python

10th Grade

30 Qs

quiz-placeholder

Similar activities

Địa lý - Bài 8

Địa lý - Bài 8

1st - 10th Grade

25 Qs

BTC Knockn'Joy

BTC Knockn'Joy

10th - 11th Grade

25 Qs

Icebreaker poll

Icebreaker poll

9th - 12th Grade

25 Qs

ĐỀ ÔN TẬP CÔNG NGHỆ KHỐI 5 HKI NK 2025-2026

ĐỀ ÔN TẬP CÔNG NGHỆ KHỐI 5 HKI NK 2025-2026

5th Grade - University

31 Qs

Đề cương Công nghệ 9 giữa kì I

Đề cương Công nghệ 9 giữa kì I

9th - 12th Grade

25 Qs

An toàn giao thông

An toàn giao thông

10th Grade

25 Qs

Vật Lý

Vật Lý

10th Grade

25 Qs

đấu trường toán học

đấu trường toán học

KG - Professional Development

25 Qs

Câu hỏi trắc nghiệm về Python

Câu hỏi trắc nghiệm về Python

Assessment

Quiz

Other

10th Grade

Practice Problem

Medium

Created by

HP FPT

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

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

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong Python, kiểu dữ liệu nào dùng để lưu trữ chuỗi văn bản?

int

float

str

bool

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Phép chia lấy dư trong Python là ký hiệu nào?

/

//

%

**

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu lệnh nào dùng để nhập dữ liệu từ bàn phím?

scanf()

input()

cin

get()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu lệnh print("Hello" + "World") sẽ in ra:

Hello + World

HelloWorld

Hello World

Lỗi

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu nào đúng về biến trong Python?

Biến phải khai báo kiểu dữ liệu trước khi dùng

Biến không cần khai báo kiểu trước

Biến có thể đặt trùng từ khóa

Không thể thay đổi giá trị biến

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu lệnh x = int("123") có ý nghĩa gì?

Ép kiểu chuỗi sang float

Ép kiểu chuỗi sang int

Ép kiểu int sang chuỗi

Lỗi

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu lệnh s = "Python" thì s[0] có giá trị gì?

P

y

n

Lỗi

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?