KIEMTRA-HK1-PYTHON

KIEMTRA-HK1-PYTHON

11th Grade

32 Qs

quiz-placeholder

Similar activities

G6. Chủ đề E. Sơ đồ tư duy

G6. Chủ đề E. Sơ đồ tư duy

6th Grade - University

28 Qs

Pengenalan Firewall AIJ XII TKJ

Pengenalan Firewall AIJ XII TKJ

1st Grade - University

30 Qs

Functions in Python

Functions in Python

10th - 12th Grade

28 Qs

Microsoft Office Shortcut Keys

Microsoft Office Shortcut Keys

6th - 12th Grade

29 Qs

Kiểm tra GKI - NH 24.25

Kiểm tra GKI - NH 24.25

11th Grade

35 Qs

Web Design

Web Design

9th - 12th Grade

27 Qs

ÔN TẬP CUỐI HK2 TIN HỌC 6 24-25

ÔN TẬP CUỐI HK2 TIN HỌC 6 24-25

6th Grade - University

30 Qs

Mid Tes HTML Quiz

Mid Tes HTML Quiz

11th Grade

35 Qs

KIEMTRA-HK1-PYTHON

KIEMTRA-HK1-PYTHON

Assessment

Quiz

Computers

11th Grade

Hard

Created by

Phạm Huu Tam

Used 7+ times

FREE Resource

AI

Enhance your content in a minute

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

32 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Hàm pow(a,b,c) nhận kết quả là gì?

(a**b)**c

(a**b) / c

(a**b) % c

(a**b)*c

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Đâu là quy tắc đúng khi đặt tên cho biến trong Python?

Tên biến có thể bắt đầu bằng dấu gạch dưới ” _ “.

Có thể sử dụng keyword làm tên biến.

Tên biến có thể bắt đầu bằng một chữ số.

Tên biến có thể có các ký hiệu như !, @, #, $, %,…

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

n trong đoạn sau là kiểu dữ liệu nào? n = ‘10’

integer

string

tuple

operator

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Output của lệnh sau là: print(1, 2, 3, 4, sep=’*’)

1 2 3 4

1234

1*2*3*4

24

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh nào dùng để lấy dữ liệu đầu vào từ người dùng?

cin

scanf()

input()

<>

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu lệnh sử dụng toán tử and trả về kết quả TRUE khi nào?

Cả hai toán hạng đều là TRUE.

Cả hai toán hàng đều là FALSE.

Một trong hai toán hạng là TRUE.

Toán hạng đầu tiên là TRUE.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kết quả nào là output của đoạn code dưới đây?

x = True;  y = False;  z = False

if not x or y:print(1)

elif not x or not y and z:  print(2)

elif not x or y or not y and x:  print(3)

else :  print(4)

1

2

3

None

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?