Start learning →

BCA Python Programming — practice questions

Explore 24 free Python Programming questions in BCA Computer Science. Each question opens with answer choices, the correct answer and a worked solution.

Practise Python Programming with Quill →

Python Programming MCQs with answers

Showing questions 1–24 of 24.

Python converts its instructions into machine language using an:Read the answer and worked solution →Python source code files are saved with which extension?Read the answer and worked solution →In Python, a comment starts with which sign?Read the answer and worked solution →Python uses what to mark blocks and nested blocks?Read the answer and worked solution →Values that operators work on are called:Read the answer and worked solution →A dictionary in Python holds data items as:Read the answer and worked solution →Items in a Python dictionary are enclosed in which brackets?Read the answer and worked solution →Variables whose values cannot be changed after assignment are called:Read the answer and worked solution →An interpreter processes program statements in what manner?Read the answer and worked solution →Which mode lets you type a statement directly at the prompt?Read the answer and worked solution →What is the stated drawback of the interactive mode?Read the answer and worked solution →An identifier in Python cannot start with a:Read the answer and worked solution →Variable declaration in Python is described as:Read the answer and worked solution →Python's numeric data type is classified into int, complex and:Read the answer and worked solution →The three sequence data types in Python are strings, tuples and:Read the answer and worked solution →The logical operators and, or and not must be written in:Read the answer and worked solution →A Python variable refers to what, stored in memory?Read the answer and worked solution →What happens if a variable is used in an expression before assignment?Read the answer and worked solution →When an immutable variable is updated, the old variable is:Read the answer and worked solution →Tuples are used when the data needs:Read the answer and worked solution →Mapping is described as which kind of data type in Python?Read the answer and worked solution →None is described as being neither the same as zero nor:Read the answer and worked solution →Which values are False by default, apart from None and zero?Read the answer and worked solution →Python is described as portable, meaning it is independent of the:Read the answer and worked solution →

How to practise

  1. Choose a Python Programming question and try to work out your answer.
  2. Open the question to check the correct answer and read its worked solution.
  3. Continue in the app for bite-sized lessons, explanations and review with Quill. You can start without creating an account.

More Computer Science topics