Class 9 Exam  >  Class 9 Notes  >  Computer Applications for Class 9  >  Worksheet Solutions: Introduction to Python

Worksheet Solutions: Introduction to Python | Computer Applications for Class 9 PDF Download

Q.1. Fill in the blanks with the given words.
(i) The print statement is used to display the output.
(ii) Data Type is a way of dictating Python what type of data will a variable hold.
(iii) Integers are numbers without a Point.
(iv) A variable is a name given to a memory location that can contain a data value.
(v) Variables may begin with an alphabet or Underscore.
(vi) If a line begins with # it is completely Ignored by the interpreter.
(vii) Strings are enclosed within single or Double quotes.
(viii) Integers, Float and Complex numbers are valid Python numerical types.
(ix) The equal sign (=) is used to assign values to variables.
(x) Keywords are reserve words that have special meaning to the compiler.


Q.2. State whether the following statements are True (T) or False (F).
(i) You need to declare a variable before using it. False
(ii) Arithmetic Operators are used to evaluate a mathematical expression. True
(iii) You need to save a file before execution in Interactive mode. False
(iv) Lines of comments are preceded with the & symbol. False
(v) You can program both in Interactive and Script Mode in Python. True
(vi) Keywords may be used as variables. False
(vii) 25max is a valid variable. False
(viii) Python uses a compiler. False
(ix) The display( ) statement is used to print the output on the shell window. False
(x) Variables are names given to memory locations that stores data. True

The document Worksheet Solutions: Introduction to Python | Computer Applications for Class 9 is a part of the Class 9 Course Computer Applications for Class 9.
All you need of Class 9 at this link: Class 9
62 videos|66 docs|14 tests

Top Courses for Class 9

62 videos|66 docs|14 tests
Download as PDF
Explore Courses for Class 9 exam

Top Courses for Class 9

Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev
Related Searches

Important questions

,

Sample Paper

,

Extra Questions

,

past year papers

,

Worksheet Solutions: Introduction to Python | Computer Applications for Class 9

,

Worksheet Solutions: Introduction to Python | Computer Applications for Class 9

,

Viva Questions

,

MCQs

,

shortcuts and tricks

,

Summary

,

practice quizzes

,

Objective type Questions

,

Previous Year Questions with Solutions

,

Worksheet Solutions: Introduction to Python | Computer Applications for Class 9

,

Exam

,

mock tests for examination

,

Free

,

pdf

,

study material

,

Semester Notes

,

video lectures

,

ppt

;