🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Prompting for Code: all 10 questions

Quiz: Prompting for Code · Question 7 of 10

Why paste an existing function from your project and say "follow this pattern"?

Why paste an existing function from your project and say "follow this pattern"?

  1. A.It makes the model run faster
  2. B.The model cannot write code without an example
  3. C.It hides your code from the model
  4. D.The new code then matches your project's style and conventions
Answer & explanation

Correct answer: The new code then matches your project's style and conventions

Showing is more precise than describing.

Can you get the rest right without peeking?

Take the timed Quiz: Prompting for Code quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →