Câu 4: PCED-30-02: PCED - Certified Entry-Level Data Analyst with Python
You are developing a temperature control module for a laboratory incubator. Your objectives are to: generate timestamps every 10 minutes over a 3-hour span (i.e., 0 to 180 minutes), and simulate five evenly spaced target temperatures between 35.0°C and 37.0°C for system calibration. Which code snippet correctly produc…
Nội dung câu hỏi
You are developing a temperature control module for a laboratory incubator. Your objectives are to: generate timestamps every 10 minutes over a 3-hour span (i.e., 0 to 180 minutes), and simulate five evenly spaced target temperatures between 35.0°C and 37.0°C for system calibration. Which code snippet correctly produces both sequences using NumPy? Select the best answer.
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. import numpy as nptimestamps = np.linspace(0, 181, 10)target_temps = np.arange(35.0, 37.0, 0.5)
- B. import numpy a3 nptimestamps = np.linspace(0, 180, 10)target_temps = np.arange(35.0, 37.0, 5)
- C. import numpy as nptimestamps = np.arange(0, 180, 10)target_temps = np.linspace(35.0, 37.0, 4)
- D. import numpy as nptimestamps = np.arange(0, 181, 10)target_temps = np.linspace(35.0, 37.0, 5) — đáp án hiện tại
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.