1. Home
  2. Artificial Intelligence
  3. Generative AI
  4. What is "code completion"?

Added 11 Nov 2026

What is "code completion"?

  1. Full code generation
  2. Predicting next code tokens Correct answer
  3. Code debugging
  4. Code review

Correct answer

B. Predicting next code tokens

15 views

MCQSEXAM

Explanation

Code completion predicts the next lines or tokens of code. Source: General generative AI knowledge (aligned with FBISE curriculum).

Reference

Asked in: General

Preparing for an exam?

Doubts & discussion

Not sure why the answer is B? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Generative AI MCQs

Practise all Generative AI MCQs

Similar MCQs