Kvíz spojený s průvodcem · Snadno úroveň

Naučte se kódovat pomocí AI jako kvíz pro začátečníky

Testuje iluzi kompetence, naznačí, jak mohou začátečníci používat asistenty kódování AI a proč je nutné zkontrolovat kód, který AI zapisuje.

Otázka 1 z 8

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

Náhled každé otázky8 otázky

Odpovědi a vysvětlení se zobrazují, jak budete v kvízu.

  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