Python Revision Tour 1 Class 12 Questions with Answers

Teachers and Examiners (CBSESkillEduction) collaborated to create the Python Revision Tour 1 Class 12 Questions with Answers. All the important Information are taken from the NCERT Textbook Computer Science (083) class 12.

Python Revision Tour 1 Class 12 Questions with Answers

1. What do you mean by Python shell’s “Interactive Mode”?
Answer – You can enter one-line Python commands at the Python IDLE Shell’s prompt to have them instantly executed.

2. What do you mean by Python Shell’s “Script Mode”?
Answer – You can add numerous lines of code while using Python’s Script Mode. In script mode, a Python programme is written to a file and executed by the interpreter. Beginners and testing little portions of code benefit from working in interactive mode because it enables immediate testing. However, whenever we create code that has more than a few lines, we should always save it so that we can edit and reuse it in the future.

Python Revision Tour 1 Class 12 Questions with Answers

3. What is a python Statement?
Answer – A Python interpreter can run code in the form of statements. A statement is whatever you type in Python, to put it another way. The Python programming language supports a wide variety of statements, such as assignment statements, conditional statements, looping statements, and others.

4. What are Keywords?
Answer – Key words in Python are reserved words that assist the interpreter in understanding the organisation of the programme. In Python, specified concepts with distinct meanings are known as keywords. It is not permitted to use the keyword as a variable, function, or identifier. All Python keywords are lowercase, with the exception of True and False.

5. What are Identifiers?
Answer – An identifier, often known as a name, is provided to a variable, function, class, module, or other object. The identifier is a series of numbers and underscores. The identifier should have a letter or underline at the beginning and a number at the end. A-Z or a-z, an underscore (_), and a number make up the letters (0-9). Special characters (#, @, $,%,!) should be avoided in identifiers.

Python Revision Tour 1 Class 12 Questions with Answers

6. What is Variable?
Answer -A variable is a location in memory where a value is stored in a computer language. In Python, a variable is formed when a value is put into it. Declaring a variable in Python doesn’t require any further

7. What other guidelines are there for declaring the variable?
Answer – The rules for declaring variable are –
1. A number cannot be used as the first character in the variable name. Only a character or an underscore can be used as the first character.
2. Python variables are case sensitive.
3. Only alpha-numeric characters and underscores are allowed.
4. There are no special characters permitted.

8. What do you mean by Constant?
Answer – A constant is a variable with a fixed value. Similar to containers that store data that cannot be modified later, constants hold unchangeable data.

9. What is Data Type in Python?
Answer – Python values each have a datatype. Data types are essentially classes in the Python programming language, and variables are instances (or objects) of these classes.
Python can handle a wide range of data types. Here is a list of some of the most popular data types.

1. Numbers
2. Sequences
3. Sets
4. Maps

Python Revision Tour 1 Class 12 Questions with Answers

10. What is the purpose of Dictionaries in Python?
Answer – In Python, dictionaries are frequently used when working with huge volumes of data. Like any other collection array, a dictionary is a collection array. A dictionary is a set of freely alterable strings or integers that are not arranged in any particular hierarchy. To access dictionary items, use the keys. You declare a dictionary using curly brackets.

11. What is Implicit Type Conversion?
Answer – Python uses implicit type conversion to convert data types automatically. Users are not required to take part in this procedure.
Example :
x = 5
y=2.5
z = x / z

12. What is Explicit Type Conversion?
Answer – Using explicit type conversion, users change an object’s data type to the desired data type.
We make use of established functions like int(), float(), str(), and others to do explicit type conversion.
This type of conversion is also referred to as typecasting because the user

Example : Birth_day = str(Birth_day)

Computer Science Class 12 Notes

  1. Python Revision tour – 1 Class 12 Notes
  2. Python Revision tour – 2 Class 12 Notes Notes
  3. Working with Functions Class 12 Notes
  4. Using Python Libraries Class 12 Notes
  5. File Handling Class 12 Notes
  6. Recursion Class 12 Notes
  7. Idea of Algorithmic Efficiency Class 12 Notes
  8. Data Visualization using Pyplot Class 12 Notes
  9. Data Structure Class 12 Notes
  10. Computer Network Class 12 Notes
  11. More on MySQL Class 12 Notes

MCQ for Class 12 Computer Science Python

  1. Python Revision tour – 1 Class 12 MCQs
  2. Python Revision tour – 2 Class 12 MCQs
  3. Working with Functions Class 12 MCQs
  4. Using Python Libraries Class 12 MCQs
  5. File Handling Class 12 MCQs
  6. Recursion Class 12 MCQs
  7. Data Visualization using Pyplot Class 12 MCQs
  8. Data Structure Class 12 MCQs
  9. Computer Network Class 12 MCQs
  10. More on MySQL Class 12 MCQs

Computer Science Class 12 Questions and Answers

  1. Python Revision tour – 1 Class 12 Questions and Answers
  2. Working with Functions Class 12 Questions and Answers
  3. Using Python Libraries Class 12 Questions and Answers
  4. File Handling Class 12 Questions and Answers
  5. Recursion Class 12 Questions and Answers
  6. Idea of Algorithmic Efficiency Class 12 Questions and Answers
  7. Data Structure Class 12 Questions and Answers
  8. More on MySQL Class 12 Questions and Answers
  9. Computer Network Class 12 Questions and Answers
  10. More on MySQL Class 12 Questions and Answers 
error: Content is protected !!