Skip to content
- Home
- Artificial Intelligence
- Generative AI
- Which is a critical factor in designing prompts for code…
Which is a critical factor in designing prompts for code generation?
-
A
Specifying the programming language and desired functionality
Correct answer
-
B
Using vague instructions to encourage creativity
-
C
Avoiding examples to prevent bias
-
D
Minimizing context to reduce processing
Correct answer
A. Specifying the programming language and desired functionality
13 views
Explanation
Specifying the programming language and desired functionality is critical for code-generation prompts. Source: GitHub (Prompt Engineering Quiz), Q7.
Reference
Asked in: General
Doubts & discussion
Not sure why the answer is A? Ask here and get an explanation.
Ask a doubt about this MCQ
Need help? Find an MCQ, a short question, a test or your certificate. Just ask.