GenAI Basics · Question 14 · Hard

GenAI Basics question 14

A model has a context window of 8,000 tokens, shared by the input and the output. If the prompt uses 6,500 tokens, what is the maximum number of tokens the response can contain?

  1. 8,000
  2. 6,500
  3. 1,500
  4. 14,500
Answer and explanation

Answer: C. 1,500

Explanation: The prompt and the response must fit in the same 8,000-token window, so the response can be at most 8,000 - 6,500 = 1,500 tokens.

Previous: Which order of steps is correct for answering a user question with a typical… · Next: What is the main pre-training objective of decoder-only (GPT-style) large…

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