GenAI Basics · Question 16 · Easy

GenAI Basics question 16

Asking an LLM to perform a task with only an instruction and no examples in the prompt, for example 'Classify this review as positive or negative', is called:

  1. Few-shot prompting
  2. Fine-tuning
  3. Pre-training
  4. Zero-shot prompting
Answer and explanation

Answer: D. Zero-shot prompting

Explanation: Zero-shot prompting gives the task with no worked examples. Few-shot prompting adds a few input-output examples to the prompt.

Previous: What is the main pre-training objective of decoder-only (GPT-style) large… · Next: What mainly distinguishes generative AI from traditional predictive…

Practise genai basics

Try a fresh set of genai basics questions with an explanation after every answer, free and without signing up: GenAI Basics practice. Or sit a full placement mock test.

More genai basics questions

More technical & programming practice

Pseudo-code · C Programming · Java · Python · Data Structures · Algorithms · Object-Oriented Programming · DBMS

LogicWiz Exams home · All practice topics · Placement mock tests · Daily 10 challenge