Grade 9 Exam  >  Grade 9 Notes  >  Computer Science for Grade 9  >  Worksheet: Introduction to Python

Worksheet: Introduction to Python | Computer Science for Grade 9 PDF Download

Q.1. Fill in the blanks with the given words.
(i) The _______ statement is used to display the output.
(ii) _______ is a way of dictating Python what type of data will a variable hold.
(iii) Integers are numbers without a _______.
(iv) A _______ is a name given to a memory location that can contain a data value.
(v) Variables may begin with an alphabet or _______.
(vi) If a line begins with # it is completely _______ by the interpreter.
(vii) Strings are enclosed within single or _______ quotes.
(viii) Integers, _______ and Complex numbers are valid Python numerical types.
(ix) The equal sign (=) is used to _______ values to variables.
(x) _______ 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.
(ii) Arithmetic Operators are used to evaluate a mathematical expression.
(iii) You need to save a file before execution in Interactive mode.
(iv) Lines of comments are preceded with the & symbol.
(v) You can program both in Interactive and Script Mode in Python.
(vi) Keywords may be used as variables. 
(vii) 25max is a valid variable.
(viii) Python uses a compiler.
(ix) The display( ) statement is used to print the output on the shell window.
(x) Variables are names given to memory locations that stores data.

The document Worksheet: Introduction to Python | Computer Science for Grade 9 is a part of the Grade 9 Course Computer Science for Grade 9.
All you need of Grade 9 at this link: Grade 9
Are you preparing for Grade 9 Exam? Then you should check out the best video lectures, notes, free mock test series, crash course and much more provided by EduRev. You also get your detailed analysis and report cards along with 24x7 doubt solving for you to excel in Grade 9 exam. So join EduRev now and revolutionise the way you learn!
Sign up for Free Download App for Free
51 videos|44 docs|9 tests

Up next

51 videos|44 docs|9 tests
Download as PDF

Up next

Explore Courses for Grade 9 exam
Related Searches

Free

,

Extra Questions

,

pdf

,

video lectures

,

Sample Paper

,

Exam

,

MCQs

,

Worksheet: Introduction to Python | Computer Science for Grade 9

,

shortcuts and tricks

,

practice quizzes

,

Worksheet: Introduction to Python | Computer Science for Grade 9

,

Semester Notes

,

Important questions

,

past year papers

,

Worksheet: Introduction to Python | Computer Science for Grade 9

,

Previous Year Questions with Solutions

,

Viva Questions

,

mock tests for examination

,

Summary

,

Objective type Questions

,

ppt

,

study material

;