Search Header Logo

Untitled Quiz

Authored by Mai Xuân

Computers

10th Grade

Untitled Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

69 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong ngôn ngữ lập trình Python, ta viết: for i in range(5): print(i) thì con số 5 trong lệnh range(5) có nghĩa là gì?

stop              

   start              

step                 

float

2.

FILL IN THE BLANKS QUESTION

1 min • 1 pt

Cho arr = ['xuan', 'hạ', 1. 4, 'đông', '3', 4.5, 7]. Đâu là giá trị của arr[3]?

(a)  

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong ngôn ngữ lập trình Python, khi nào thì lệnh a.append(1) và a.insert(0,1) có tác dụng gi?

    khi danh sách a đã có giá trị 1

khi danh sách a chưa có giá trị 1 

không xảy ra vì 2 lệnh khác nhau   

khi danh sách a rỗng

4.

FILL IN THE BLANKS QUESTION

1 min • 1 pt

Để tính độ dài của xâu ta thực hiện lệnh nào?

(a)  

5.

OPEN ENDED QUESTION

3 mins • 1 pt

Em hãy chọn đáp án đúng. Cú pháp thiết lập hàm có trả lại giá trị trong ngôn ngữ lập trình Python?

Evaluate responses using AI:

OFF

6.

OPEN ENDED QUESTION

3 mins • 1 pt

Em hãy chọn đáp án đúng. Cú pháp thiết lập hàm không trả lại giá trị trong ngôn ngữ lập trình Python?

Evaluate responses using AI:

OFF

7.

OPEN ENDED QUESTION

3 mins • 1 pt

Chương trình chạy phát sinh lỗi ngoại lệ TypeError, nên xử lí như thế nào?

Evaluate responses using AI:

OFF

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?