引导式测验 · 简单 等级

学习使用人工智能编码作为初学者测验

测试能力的错觉、初学者使用人工智能编码助手的提示优先方式,以及为什么必须检查人工智能编写的代码。

问题 1 的 8

What does the guide call the core risk for beginners who let AI write their code?

预览每个问题8 问题

当您参加测验时,就会出现答案和解释。

  1. What does the guide call the core risk for beginners who let AI write their code?
    • Slower typing speed
    • Higher electricity bills
    • Losing access to the editor
    • The illusion of competence
  2. Why do coding assistants sometimes invent functions that do not exist?
    • They are programmed to test users
    • They predict likely text rather than look up real, existing functions
    • They only know very old programming languages
    • Their internet connection drops
  3. What do editor-based assistants such as GitHub Copilot use as context for suggestions?
    • Nearby code from your open files
    • Your browsing history
    • Only the programming language's official manual
    • Nothing; every suggestion is random
  4. Which of these is a productive habit for beginners using AI?
    • Paste the assignment and submit the output
    • Only use AI after the deadline
    • Try the problem first, then ask for hints rather than solutions
    • Never run code the AI explains
  5. What was Harvard CS50's AI tutor, introduced in 2023, designed to do?
    • Write complete solutions for every problem set
    • Support learning without simply giving answers
    • Grade exams automatically
    • Replace all human teaching assistants
  6. Why is 'the code runs' not enough proof that AI-generated code is correct?
    • Running code deletes it
    • Code that runs is always slow
    • Only teachers can run code
    • It may still fail on unusual inputs or contain security flaws
  7. What configuration does the guide suggest while practising the basics?
    • Turn off inline autocomplete
    • Turn on maximum autocomplete
    • Delete the chat history every minute
    • Use two assistants at once
  8. What should you do before relying on a function the AI suggests?
    • Ask the AI if it is sure
    • Assume it exists if the name sounds right
    • Read the documentation for it
    • Rename it to something shorter