Class 11 ip python important questions
In this post, we will discuss Important Python Fundamentals questions class 11 Computer Science/Informatics Practices or Introduction to python chapter. Questions based on the python fundamentals, installation of python, and the structure of the python program. Show
So here we start the article with Python Fundamentals questions class 11. Q – 1 What is python? Ans. : Python is a popular middle-level programming language but not a high-level programming language like C, C++, Java. Q – 2 Why python is a popular programming language? Ans.: There few reasons why python is a popular programming language, few reasons are as follows:
Q – 3 Who developed python? Ans.: Python was developed by Guido Van Rossum in February 1991 and then Python Software Foundation. Q – 4 Enlist various distribution of python programming language. Ans. The few distributions of Python programming are as follows:
Q – 5 Which one is the latest version of Python? Ans. The latest version of python is Python 3.8.3 Q – 6 How to get python and install it? Ans. Python can be downloaded from www.python.org. Find the OS-relevant version for the computer and install it. The next section of Python Fundamentals for class 11 provides you the questions related to IDLE. Q – 7 What is Python IDLE? Ans.: Python IDLE is a tool which allows writing python programs and provides the output on screen after running the program. IDLE stands for Integrated Development and Learning Environment. Có thể bạn quan tâmQ – 8 What are the two basic modes available for writing a program in Python IDLE? Ans.
Q – 9 Write steps to how to work with interactive mode? Ans.: Click here for the answer Q – 10 Write steps to work with script mode. Ans.: Click here for the answer The next section of Python Fundamentals for class 11 talks about the basics of python programing. Q – 11 What is token? Ans.: The smallest units of a program are known as a token. Q – 12 Which token are used in python? Ans.: The tokens used in python are as following:
Q – 13 How to write multiple lines code in python? or What are the ways to write multiple lines code in python? Ans.: Python allows two ways of writing code in multiple lines in a program: By using double quotes and slash
By using triple double quotes
In the next section of Python Fundamentals for class 11 is all about data types in python. Q – 14 What is the use of None in Python? Ans.: None is a special literal used in python. It means there is no value stored in an identifier. In other words, None means the that value is not assigned to the identifier. Q – 15 Identify the types of the identifier of the following: 15.859, 125, True, ‘True’, False, ‘False’, 0XDADA, 0o456, None, “None” Ans. :
Q – 16 Differentiate between an expression and a statement. Ans.:
The next section of Python Fundamentals for class 11 talks about error finding questions. Q – 17 Find out errors in the following 1
Ans.: Errors: Line 1: The variable x should initialize a number starting with 0 because python doesn’t allow to do the same. Line 3: When a value starts with 0o it represents the octal value and octal value is in the range of 0 to 8. In this line, z is initialized with 99 which is out of range. Line 4: Brackets are missing in print() function. Click here to read more about print() function from datacamp.com. Line 5: print() function required comma-separated value to print. 2
Ans.: Same as above Line 5 explanation. 3
Ans.: Runtime error inline 1 as input() function returns only string that doesn’t allow computation. To allow computation int the statement use int(), the correct would be like this: n=int(input(“Enter no.:”)) 4
Ans.: In input() function is required in place of int. Line 3 and line 4 should be used with the same indent level as other lines. Correct Code:
FAQs on Python Fundamentals questions class 11Is Python taught in class 11?Yes, python taught in class 11 for CBSE Computer Science and Informatics practices curriculum. Moreover if student has opted Artificial Intelligence in Class 9 and 10 Python fundamentals are there to learn. What is Python for class 11th?Python is a programming language taught in CBSE Computer Science and Informatics Practices Syllabus. Which book is best for Python Class 11?There few very popular books available in the market. Some of them are: What are the basic fundamentals of Python?Basic fundamentals of Python refers to the basics of programming. Here students will learn the fundamental concepts of python program. They learn how to write program and execute the program in python environment. More questions will be added in this article Python Fundamentals for class 11 so visit our blog regularly. I hope you enjoyed the article Python Fundamentals for class 11. Share this article with your classmates and friends to help them. Post navigation |