🎧 New: AI-Generated Podcasts Turn your study notes into engaging audio conversations. Learn more

Kiến Thức Về Phần Mềm Đồ Họa
5 Questions
1 Views

Kiến Thức Về Phần Mềm Đồ Họa

Created by
@AchievableBernoulli

Podcast Beta

Play an AI-generated podcast conversation about this lesson

Questions and Answers

Khi nhập giá trị số thực cho biến x, câu lệnh nào sau đây là đúng?

  • x = int(input(“Nhập số thực x: ”))
  • x = float(input(“Nhập số thực x: ”)) (correct)
  • x = input(“Nhập số thực x: ”)
  • x = str(input(“Nhập số thực x: ”))
  • Khi viết chương trình nhập vào 4 số và tính tổng của chúng, dòng lệnh nào sau đây bị sai?

  • d = float(input(“Nhập số d”))
  • d = int(input(“Nhập số d”))
  • d = str(input(“Nhập số d”))
  • d = input(“Nhập số d”)) (correct)
  • Câu lệnh nào sau đây sẽ báo lỗi?

  • int(“1+3”)) (correct)
  • int(“3.5”))
  • float(“1.5”)
  • float(4)
  • Biểu thức lôgic là biểu thức nào sau đây?

    <p>Biểu thức chỉ nhận giá trị True hoặc False</p> Signup and view all the answers

    Khi nhập giá trị số thực cho biến x, chương trình sẽ chạy đúng nếu dùng câu lệnh nào sau đây?

    <p>&gt;x = float(input(“Nhập số thực x: ”))</p> Signup and view all the answers

    More Quizzes Like This

    Use Quizgecko on...
    Browser
    Browser