1. Home
  2. Data Science
  3. Python
  4. What is bytecode in Python?

Added 25 Nov 2026

What is bytecode in Python?

  1. Machine code for the CPU
  2. The source text
  3. Intermediate instructions compiled from source and run by the Python virtual machine Correct answer
  4. An encrypted file

Correct answer

C. Intermediate instructions compiled from source and run by the Python virtual machine

6 views

MCQSEXAM

Explanation

CPython compiles source to bytecode stored in .pyc files.

Reference

Asked in: Python Interview Basics

https://docs.python.org/3/tutorial/introduction.html

Preparing for an exam?

Doubts & discussion

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

Ask a doubt about this MCQ

Shown after review. No links please.

More Python MCQs

Practise all Python MCQs

Similar MCQs