MCQ for Class-11 Python | Chapter-3 Python Overview

  1. Python was created by
    a. Denis Ritchie
    b. Richard Stallman
    c. Guido Van Rossum
    d. Larry Page

Show Answer

c. Guido Van Rossum

  1. Python is mostly used in
    a. Web Development
    b. Big Data and AI
    c. Scientific Computing
    d. All of above

Show Answer

d. All of above

  1. Python is ____________ language
    a. Interpreted
    b. Complied
    c. Both Interpreted and Compiled
    d. None of the above

Show Answer

c. Both Interpreted and Compiled

  1. Python Shell is basically a
    a. Python Interpreter
    b. Python Compiler
    c. Python Debugger
    dPython Developer

Show Answer

a. Python Interpreter

  1. Which of the following symbol indicates Python prompt in Python Shell
    a. > 
    b. >> 
    c. >>> 
    d. >>>> 

Show Answer

c. >>>

  1. Using Python Interpreter one can execute python program in
    a. Interactive mode
    b. Script Mode
    c. Both
    d. None of the above

Show Answer

c. Both

  1. We can write and save python code in
    a. Interactive mode
    b. Script Mode
    c. Both
    d. None of the above

Show Answer

b. Script Mode

  1. Select the correct statement
    i. In interactive mode we can save python code for future use.
    ii. Script mode is more convenient for testing single line code for instant execution

    a. i true, ii false
    b. i false, ii true
    c. Both are true
    d. Both are false

Show Answer

d. Both are false

  1. A python program is called
    a. Module
    b. Package
    c. Program
    d. Namespace

Show Answer

a. Module

  1. Python program files are stored with the extension of
    a. .pt
    b. .py
    c. .pyt
    d. .pty

Show Answer

b. .py

  1. In Python IDLE, IDLE abbreviates
    a. Integrated Development and Linear Environment
    b. Integrated Development and Learning Environment
    c. International Development and Learning Environment
    d. International Development and Linear Environment

Show Answer

b. Integrated Development and Learning Environment

  1. Which of the following is NOT correct statement about Python?
    a. Python is not case sensitive
    b. Python is Interpreted language
    c. Python dynamically typed language
    d. Python is easy to read as it does not uses semicolon, brackets

Show Answer

a. Python is not case sensitive

  1. The difference between Identifier and Keyword is
    a. Identifiers are system defined and Keywords are user defined
    b. Identifiers only contains alphabets and Keyword can contain alphabets, digits or underscore
    c. Identifiers identifies the name of entity and Keyword specify the type of entity
    d. None of above

Show Answer

c. Identifiers identifies the name of entity and Keyword specify the type of entity

  1. Which is NOT true about Identifier (variable) naming conventions in python
    a. Identifier cannot start with a digit.
    b. It can be of any length.
    c. It should not be a keyword or reserved word
    d. We can use any special symbols in identifiers.

Show Answer

b. It can be of any length.
d. We can use any special symbols in identifiers.

  1. In Python, a single line comment starts with
    a. //
    b. /*
    c. #
    d. ##

Show Answer

c. #

  1. Select the correct statement
    i. in Python, Comments are not executed by interpreter.
    ii. variables must always be assigned values before they are used in the program

    a. i true, ii false
    b. I false, ii true
    c. Both are true
    d. Both are false

Show Answer

c. Both are true

  1. Which of the following is not a python keyword?
    a. def
    b. for
    c. true
    d. and

Show Answer

c. true

  1. Select the correct statement to create new variables and assign specific values to them.
    a. Acc name = Surya
    b. Acc name = ‘Surya’
    c. Acc_name = “Surya”
    d. Acc_name =  Surya

Show Answer

b. Acc name = ‘Surya’
c. Acc_name = “Surya”

  1. Which of the following is correct variable name?
    a. acc@no
    b. acc no
    c. acc_no
    d. #acc_no

Show Answer

c. acc_no

  1. Which of the following is incorrect variable name?
    a. Roll_no
    b. Roll-no
    c. Rollno
    d. Rollno1

Show Answer

b. Roll-no

  1. Which of the following is invalid variable name?
    a. _degree
    b. degree20
    c. degree$
    d. Degree

Show Answer

c. degree$

  1. Which of the following is valid keyword?
    a. do
    b. elseif
    c. false
    d. break

Show Answer

d. break

  1. the code which is used to add remark in the source code and have no effect when program is executed
    a. statement
    b. comment
    c. block
    d. data type

Show Answer

b. comment

  1. In python, multiple line comment is written as
    a. /*….*/
    b. //….//
    c. /#….#/
    d. “”….””

Show Answer

c. /#….#/

  1. Python uses __________ to define or highlight a block of code
    a. parenthesis
    b. braces
    c. quotation
    d. indentation

Show Answer

d. indentation

Leave a Comment

Your email address will not be published. Required fields are marked *

error: Content is protected !!