Zed-King Institute
    All Notes

    O Level · Chapterwise MCQ

    Chapter 3: Introduction to Python — MCQ

    Zed-King Study app · Free

    O Level students across India practise here, free

    Daily M1–M4 quizFull 100-question mocksAll-India rank
    Open the free app

    Google login · no Play Store needed

    🏆 Free All-India Sunday Mock · Sun, 29 Nov, 11 AM · CCC + O LevelRegister

    About this PDF

    Chapter 3 — questions on Python history, versions, keywords, identifiers, variables and data types.

    This is part of the free O Level M3-R5.1 study material in the Zed-King Study Zone. You can read every page above in your browser, or download the file and study offline. Zed-King Group of Institute is a NIELIT Study Centre in Kaithal, Haryana, and all of this material follows the current NIELIT syllabus.

    Course
    O Level — NIELIT Foundation Diploma
    Module
    M3 — M3-R5.1: Programming and Problem Solving through Python
    Section
    Chapterwise MCQ
    Format
    PDF — read online or download
    Price
    Free, no sign-up required

    Text from this PDF

    The opening pages as plain text — open the reader above for tables, diagrams and the full file.

    Chapter-3(Introduction To Python)

    Q1. Python programming language was created by______ · Ans. Guido Van Rossum

    Q2. Python language was developed in the year_____ · Ans. 1989

    Q3. Python programming officially released on______ · Ans. 20 february 1991

    Q4. Python 3.0 version was developed in the year_____ · Ans. 2008

    Q5. Python latest version___ · Ans. 6 june 2024 (3.12.4) The correct extension of python is .py and can be written in any text editor. We need to use the extension .py to save these files.

    Q6. Python is case sensitive when dealing _____ · Ans. Identifiers

    Q7. ______smallest individual unit or element in a program. · Ans. Token

    Q8. Identifier is an _______ · Ans. User defined name

    Q9. Which character is used to take input from the keyboard. · Ans. Input

    Q10. Which function is a built in function in python language. · Ans. print()

    Q11. To print the the value of a variable , python uses _____function. · Ans. print()

    Q12. What does the name Python signify? · Ans. It is named after a British comedy group called the Monty Python to signify that it is very easy to use.

    Q13. What is the type of programming language supported by Python? · Ans. Python is an interpreted programming language, supporting object-oriented, structured, and functional programming.

    Q14. What is the extension of the Python file? · Ans. The correct extension of python is .py and can be written in any text editor. We need to use the extension .py to save these files.

    Q15. All the keywords in Python are in_ · Ans. Only True, False and None are capitalized and all the others in lower case.

    Q16. Python converts the source code into an intermediate form called_____ · Ans. Bytecode

    Q17. IDLE means_____ · Ans. Integrated Development and learning environment

    Q18. The ____ command is used to take input from keyboard. · Ans. Assert

    Q19. If we change one type to another , then it is called_____ · Ans. Type conversion

    Q20.>>>print(print(print(“olevel”))) · Ans. OlevelNoneNone

    Q21. pip stands for _____ · Ans preferred installer program

    Q22. >>>print(0Ax+0xB+0xC) · Ans. 33

    Q23. _______is to concerter the byte code instruction into machine code so the computer can execute those machine code instructions and display the output. · Ans. python virtual machine

    Q24. PVM is often called _______ · Ans. python interpreter

    Q25. ______ all are the numeric types of data types. · Ans. int,float and complex

    Q26. The datatype representation is unknown are called_____ · Ans. Abstract datatype

    Q27. The datatype representation is known are called_____ · Ans. concrete datatype

    Q28. Data items having fixed value are called ______ · Ans. literals

    Q29. To print a line a text without ending it with a newline ,_____ Argument is used with print(). · Ans. end

    Q30. The default separator character of print() is ______ · Ans. space

    Q31. The date type of an expression int(m)/int(n) will result in____ · Ans. float

    Q32.____ function is used to get the data type of any value. · Ans. type()

    Q33.>>>float(4+int(2.39)%2) · Ans. 4.0

    Q34. _____is the return value of trunk() · Ans. int

    Q35. >>>bool(“False”)

    >>>bool()

    Ans. TrueFalse

    Q36.In python , a variable may be assigned a value of one type,and then later assigned a value of different type.

    This concept is known____

    Ans. dynamic typing

    Q37. _____ symbol is used to print more than one item on a single line. · Ans. comma(,)

    Q38. ______executes the programming code line by line. · Ans. Interpreter

    Q39. >>>print(int()) · Ans 0 · Ans. “mnl”

    Q41. Latest version of python______ · Ans. 3.12.3 (9 april,2024)

    Q42. When was Python 3.0 released? · Ans. December 3, 2008

    Q43. What is the use of the function id() in python? · Ans. The id function in python returns the identity of the object

    Q44. All the keywords in Python are in_ · Ans. Only True, False and None are capitalized and all the others in lower case.

    Q45. What are the application area of python on programming. · Ans. Web development, game development, artificial intelligence and machine learning.

    Q46.bytes, bytearray, memoryview are type of the ___ data type. · Ans. Binary Types

    More chapterwise mcq for M3-R5.1

    Run these Python programs yourself — free

    Reading code is not the same as writing it. Type any program from these notes into our free online Python compiler (real Python 3 with NumPy, input() works), or study one of the explained programs with its output.

    Prepare for O Level with expert guidance

    Classroom training, practical labs and exam registration at Zed-King Institute, Kaithal.

    Drag me!