Q.1. Name any numerical data type.
Integer
Q.2. Which mode is used to save a program for future use?
Script Mode
Q.3. Name any two areas where Python programs are used.
It has wide range of applications from Web development (like: Django and Bottle), scientific and mathematical computing (Orange, SymPy, NumPy) to desktop graphical user Interfaces (Pygame, Panda3D).
Q.4. What is Script Mode? What is the default extension of a Python file?
The Script Mode on the other hand allows you to type in instructions into a file, which is then used by the interpreter for execution of the instruction. Thus instead of having to run one line or block of code as in interactive mode you can type up all your code in one text file, or script, and run all the code at once. Such files should have the extension ‘.py’.
Q.5. Who developed Python?
Guido van Rossum
Q.6. What is comment used for?
A comment is a programmer-readable explanation or annotation in the source code of a computer program. They are added with the purpose of making the source code easier for humans to understand, and are generally ignored by compilers and interpreters.
Q.7. What are Arithmetic Operators?
Arithmetic Operators are symbols used to perform arithmetic operations that include multiplication, division, addition and subtraction.
Q.8. What are the two modes of programming in Python?
Script Mode and Interactive Mode
Q.9. What is a program? Which language processor is used by Python?
A step-by-step instruction given to the computer to perform a particular job is called a program.
Python uses an interpreter to convert programs written using python syntax during execution.
Q.10. What is the full form of IDLE? State its function.
IDLE: Integrated Development Learning Environment.
Python IDLE is a software suite that consolidates the basic tools developers need to write and test software. It contains a code editor, a interpreter and a debugger that the developer accesses through a single Graphical User Interface (GUI).
62 videos|66 docs|14 tests
|
|
Explore Courses for Class 9 exam
|