top of page

Python Interview Questions - Basics

What is Python?
  1. Binary language

  2. Scripting language

  3. Programming language

  4. Computer language

Answer


Why was the programming language named as Python?
  1. The developer's love for snakes

  2. It is named after the British comedy group Monty Python

  3. Both of the above

  4. None of the above

Answer


Who developed Python programming language?
  1. Brendan Eich

  2. Guido van Rossum

  3. James Gosling

  4. Rasmus Lerdorf

Answer


In which year was Python developed?
  1. 1995

  2. 2001

  3. 1991

  4. 1994

Answer


What type of programming language is python?
  1. Interpreted programming language

  2. interactive programming language

  3. Object-oriented programming language

  4. All of the above

Answer


What is the extension of Python files which contains the source code?
  1. .p

  2. .python

  3. .py

  4. .pyc

Answer


Is Python interpreted or compiled language?
  1. Python is neither interpreted or compiled

  2. Python is both interpreted and compiled

  3. Python is only interpreted

  4. Python is only compiled

Answer


In which language is Python written?
  1. C

  2. C++

  3. PHP

  4. Java

Answer


What are the the rules that define python programming language called?
  1. Code

  2. Comments

  3. Syntax

  4. Procedures

Answer

How is a block of code defined in python?
  1. ( ... )

  2. { … }

  3. spaces ot tab

  4. Enter

Answer




Subscribe to get all the updates

© 2025 Metric Coders. All Rights Reserved

bottom of page