Python Basics- Lesson 1
Congratulations and Welcome to class X π
This is our first e-class ( both for you, as a student and me, as a teacher). π
What a nice way to begin Computer Applications.
Lets take a review of the Basics of Python learnt in class IX . A firm πͺπͺ understanding of the basics will help create a programmer in you.
By the end of this session, we would be able to identify the basic elements of a python program.
Please take down the above details shared neatly in your CA register. Let it be presented in the same way as it appears on the blog. Your handwriting must be neat.
Python is
NOTE- You can view the content of the blog after the class is over also
This is our first e-class ( both for you, as a student and me, as a teacher). π
What a nice way to begin Computer Applications.
Lets take a review of the Basics of Python learnt in class IX . A firm πͺπͺ understanding of the basics will help create a programmer in you.
By the end of this session, we would be able to identify the basic elements of a python program.
Please take down the above details shared neatly in your CA register. Let it be presented in the same way as it appears on the blog. Your handwriting must be neat.
Python is
- Widely used
- interpreted (An interpreter converts the source code to machine code)
- object oriented
- High level programming language( Closer to the human beings)
- created by Guido Van Rossum
- released on February 20,1991
Key Features
- Simple- Written in simple English statements. Therefore, it is easy to understand the syntax( way of writing)
- Easy to learn- structure of program is very simple and easy to create.
- Platform independent and portable- Python can work on any Operating System.
- Open Source- It is available free and can be downloaded free from www.python.org
- Dynamically typed- There is no need to define the type(int or float) of the variable. It is automatically defined based on the use.
- Huge Library-It has large inbuilt library which is pre-built and is capable of being portable.
- Procedure and Object oriented- The programs can be built using features like functions, procedures, classes and objects also.
IMPORTANT TERMS
- TOKENS-
- They are the smallest unit of a program.
- Characters are translated into a sequence of tokens.
- There are following tokens in Python:
- keywords
- literals
- identifiers
- operators
- punctuators
- These are special words which are reserved by Python .
- They have specific meaning.
- We are not allowed to use keywords as variables in Python.
- Keywords are case-sensitive.
- These are user-defined names to represent entities like variables, functions etc.
- We have rules to follow in order to create valid identifiers
4. Literals-
- These are the data that is given to a variable or a constant.A constant does not change while a variable gets its name from the fact that its value can change.
- The various types of literals are
- Strings
- Numeric
- Boolean
- Special
5. Operators-
- Operators are the symbols which perform the operation on some values.(Eg- in a+b, "+" is an operator)
- Values are known as operands.(Eg.- in a+b, a an b are operands)
- types of operators:
- unary-operator acts on single variable
- binary-operator acts on two variables
- tertiary- operator acts on three variables
After having taken a tour of the basics, lets test our understanding with the following online form:
Click here : π
Lets take an online test ( Give yourself only 5 minutes to fill the response)
NOTE- You can view the content of the blog after the class is over also
This comment has been removed by the author.
ReplyDeleteexcellent blog Geeta. Thank you
ReplyDeleteMrs sheel
mam after the test what we have to do
DeleteThis comment has been removed by the author.
ReplyDeletegood morning maam this is artham
ReplyDeleteGood Morning dear
DeleteMaam do we have to copy the whole blog tejas
ReplyDeleteYes, in your CA register
ReplyDelete-Geet
yes.
DeleteMa'am the online test dosen't work it says you have to be in owners organisation
ReplyDeleteI have tested it. Still I will recheck. try it after the classes are over. I will fix it
DeleteWelcome boys. From tom we will take up flow charting and coding. sharing of today is what we studied in class IX.
ReplyDeleteThanks ma'am
ReplyDeleteThis is primarily for understanding and learning as this is the essential theory related to Python
ReplyDeletePlease try the online test. I have tried to fix
ReplyDeletema'am, the online test link is now working
ReplyDeleteGood morning Rahul.
ReplyDeletema'am, i've completed the online test and submitted the answers
ReplyDeleteYes received response from brian and Geet. Others pls note I am waiting
ReplyDeleteAll pls note that the content will remain on the blog. So, icase u have not been able to complete the written work, you can come back and complete the same. The online test will not be avilable after the class
ReplyDeletema'am, do we have to copy the above given notes in the 10th CA register??
ReplyDeleteif yes, can we copy them right now while the other students are submitting the answers??
-Geet
Yes dear. You will have to manage time and content. God bless
DeleteI am taking the online test
ReplyDeletemam done with the test what we have to do
ReplyDeleteMake sure you have written the content on the blog. I will not be giving more time to these topics. Doubts , if any, will be taken up now. Join the next class at the time specified.
DeleteOnline test taken
ReplyDeleteI hope you can relate to the concepts by now. Pls feel free to post queries
ReplyDeleteMa'am, everything is clear till now. If any doubt arises, will surely ask for your helpπ
ReplyDeleteGod Bless you. Who is this pls? Name not mentioned
Deletemam I didn't understood punctuators
ReplyDeleteThis comment has been removed by the author.
Deleteall types of brackets-(),{},[ ] etc , ",", ".",:;" etc are punctuators
Deleteok mam thanks -ashish
DeleteGood morning ma'am
ReplyDeleteUnable to understand please guide me as soon as possible
Pls share what is not clear. Share your name also
DeleteMa'am, everything is clear till now. If any doubt arises, will surely ask for your helpπ
ReplyDelete-Geet
This comment has been removed by the author.
ReplyDeleteYes ma'am it's clear
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteThank you mam this is Aaron David i have submitted my work
ReplyDeleteGreat.
DeleteMa'am i have done my work
ReplyDelete