Professional Documents
Culture Documents
Python: Class - 11 Subject: Computer Science
Python: Class - 11 Subject: Computer Science
class -11
Subject: Computer Science(086)
Topic: Setting work space for python programming, Ref- Unit II: Computational Thinking and Programming – 1(NCERT)
For this session, we are taking above program code as our sample code, the objective of above program is just to
display a message “Hello World” as output.
Here the term output mean, after sending instruction to computer, computer perform task, that task performed
by computer is termed as output.
How Program work
Compiler / Interpreter
Source Code
Machine Code
Interactive Mode:
Writing live program into python IDLE, and checking the output immediately
Script Mode:
Writing program into a separate file as source code, afterwards running program to check output