Ôn tập lập trình Python cơ bản

Ôn tập lập trình Python cơ bản

10th Grade

30 Qs

quiz-placeholder

Similar activities

Chủ đề: Ms powerpoint

Chủ đề: Ms powerpoint

2nd Grade - Professional Development

25 Qs

Ôn tập môn tin học lớp 5 học kì 2

Ôn tập môn tin học lớp 5 học kì 2

5th Grade - University

26 Qs

ynhis1

ynhis1

9th - 12th Grade

25 Qs

Python Lists

Python Lists

9th - 12th Grade

27 Qs

10/21   For, while loops & Booleans

10/21 For, while loops & Booleans

9th - 12th Grade

25 Qs

CS1_Unit 1 Review

CS1_Unit 1 Review

9th - 10th Grade

25 Qs

Python lesson 3 (Tkinter)

Python lesson 3 (Tkinter)

6th - 12th Grade

25 Qs

CS Edexcel Unit 6 Parts 1-3

CS Edexcel Unit 6 Parts 1-3

9th - 10th Grade

25 Qs

Ôn tập lập trình Python cơ bản

Ôn tập lập trình Python cơ bản

Assessment

Quiz

Computers

10th Grade

Practice Problem

Medium

Created by

Tuyen Nguyen

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

Python là gì?

Python là một phần mềm đồ họa.

Python là một loại trái cây.

Python là một ngôn ngữ lập trình bậc cao.

Python là một hệ điều hành.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cú pháp cơ bản của một chương trình Python là gì?

print('Hello, World!')

echo 'Hello, World!'

printf('Hello, World!')

console.log('Hello, World!')

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Làm thế nào để khai báo một biến trong Python?

Khai báo biến bằng cách sử dụng từ khóa 'var'.

Sử dụng cú pháp: tên_biến : giá_trị.

Sử dụng cú pháp: giá_trị = tên_biến.

Sử dụng cú pháp: tên_biến = giá_trị.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cách sử dụng câu lệnh điều kiện if trong Python?

Sử dụng câu lệnh if: if condition do_something()

Sử dụng câu lệnh if: if condition: do_something()

Câu lệnh if không cần điều kiện

Sử dụng câu lệnh if: if do_something(): condition

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Giải thích vòng lặp for trong Python?

Vòng lặp for chỉ hoạt động với chuỗi trong Python.

Vòng lặp for không thể lặp qua danh sách.

Vòng lặp for chỉ sử dụng cho số nguyên.

Vòng lặp for cho phép lặp qua các phần tử của một iterable trong Python.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cách định nghĩa một hàm trong Python?

ten_ham = (tham_so) =>

function ten_ham(tham_so):

def ten_ham(tham_so):

create ten_ham(tham_so)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Thư viện nào thường được sử dụng trong Python để xử lý dữ liệu?

Matplotlib

SciPy

NumPy

Pandas

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?

Discover more resources for Computers