Câu hỏi 1. Học có giám sát xử lý dữ liệu không được gắn nhãn, trong khi học không giám sát xử lý dữ liệu được dán nhãn
- Thật
- Sai
Câu hỏi 2. Điều nào sau đây không đúng về Machine Learning?
- Machine Learning được lấy cảm hứng từ quá trình học tập của con người
- Các mô hình Machine Learning học lặp đi lặp lại từ dữ liệu và cho phép máy tính tìm thấy những thông tin chi tiết ẩn
- Các mô hình Machine Learning giúp chúng tôi thực hiện các tác vụ như nhận dạng đối tượng, tóm tắt và đề xuất
- Học máy cung cấp cho máy tính khả năng đưa ra quyết định bằng cách viết ra các quy tắc và phương pháp và được lập trình rõ ràng
câu hỏi 3. Ví dụ nào sau đây là/là một ứng dụng mẫu của Hồi quy logistic?
Biểu thức nào sau đây biến đổi, i. e. , thay đổi, danh sách
fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits4?
fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits
0fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits
1fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits
2fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits
3fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits
4
Câu trả lời
fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits
0fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits
3fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits
4
Giải trình
________số 8
câu hỏi 3
Chúng tôi muốn xóa phần tử ở đầu danh sách. Ví dụ: chúng tôi muốn đoạn mã sau in lần lượt là
fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits8 và
fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits9. Hàm hoặc phương thức gọi nào sẽ thay thế các dấu chấm hỏi?
fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits
fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits
20fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits
21fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits
22fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits
23fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits
24fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits
25
Câu trả lời
fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits
25
Giải trình
fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits2
câu hỏi 4
Cách sử dụng nào sau đây của
fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits27 sẽ tạo ra danh sách
fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits28?
Trước tiên, hãy nghĩ xem mỗi cách sử dụng này trả về kết quả gì, nhưng cũng hãy thử từng cách trong CodeSkulptor.
fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits
29fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits
30fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits
31
Câu trả lời
fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits
25
Giải trình
fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits3
câu hỏi 5
Để tính toán chính xác tích của một danh sách
fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits33 số, câu lệnh nào sẽ thay thế các dấu chấm hỏi?
fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits8
fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits
34fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits
35fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits
36fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits
37fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits
38
Câu trả lời
fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits
36
câu hỏi 6
Chúng ta cũng có thể lặp qua các chuỗi.
Hàm không đầy đủ sau đây là một cách đơn giản nhưng không hiệu quả để đảo ngược chuỗi. Dòng mã nào cần thay thế các dấu chấm hỏi để mã hoạt động chính xác?
fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits5
fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits
80fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits
81fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits
82fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits
83
Câu trả lời
fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits
83
câu hỏi 7
Hãy tưởng tượng một trò chơi trên bản đồ. Lúc đầu, chúng tôi có thể muốn chỉ định ngẫu nhiên cho mỗi người chơi một điểm bắt đầu. Chúng ta có thể sử dụng biểu thức nào sau đây thay cho các dấu chấm hỏi để thực hiện đúng chức năng này?
fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits1
fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits
85fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits
86fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits
87fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits
88fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits
89fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits
50
Câu trả lời
fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits
85
câu hỏi 8
Hàm sau đây có nhiệm vụ kiểm tra xem danh sách các số đã cho có theo thứ tự tăng dần hay không. Ví dụ: chúng tôi muốn
fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits52 trả về
fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits53, trong khi
fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits54 sẽ trả về
fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits55
fruits = ["apple", "pear", "blueberry"] fruit = ??? print fruit, fruits3
Tuy nhiên, chức năng không hoàn toàn hoạt động. Hãy thử nó trên các bài kiểm tra được đề xuất để xác minh điều này cho chính mình. Cách khắc phục đơn giản nhất là thực hiện một thay đổi nhỏ đối với mã được đánh dấu. Nó nên được thay thế bằng cái gì?