Introduction to Programing & Python
Good
morning Dear students.
Welcome
to the e-classroom of Computer Science. I am Mrs Geeta Sehgal, your Computer Sc teacher for this academic session. 🙏
You are expected to have with you
- properly covered registers and
- a pen
to take down the important concepts
discussed during this session.
Don’t forget, a neatly presented work is
always more appreciated.
------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------
As
most of you are without the textbook. Following is the image you would be expected
to refer to. We will be using this image for a few
sessions in the future as well.

By the end of this session, you will be able to understand few important terms related to Programing Languages and an introduction to Programing Language ,Python.
---------------------------------------------------------------------------------------------------
In
the beginning, we have to familiarize ourselves with the following important
terms:
1. Machine
Language:-
- often referred to as machine code , machine language or Low Level Language(LLL)
- is a
collection of binary digits or bits that the computer reads and interprets.
- is the only language a computer is capable of understanding. So, it is said to be closer to the machines (so the term "LOWER LEVEL")
2. Programing
Language:-
- is a type of written language that tells computers what to do in order to work.
- is used to make
all the computer programs and computer software.
- uses real words for some of the commands, so that the language is easier for a human to read.
- So, it is said to be closer to the user and hence called High Level Language (HLL). (This explains the term "High Level", as the user finds himself at a higher level than the machine. )
So, with this clarity, we must understand
that a
- High Level Language must be converted to Machine Language so that the commands can be executed to give the desired result.
- For this conversion of the program written in High Level Language to machine language is MANDATORY.
- For doing this one of the language translators, either a COMPILER or an INTERPRETER may be used.
KEY DIFFERENCES
- Compiler transforms code written
in a high-level programming language into the machine code, at once,
before program runs, whereas an Interpreter coverts each high-level
program statement, one by one, into the machine code, during program run.
- Compiled code runs faster while
interpreted code runs slower.
- Compiler displays all errors
after compilation, on the other hand, the Interpreter displays errors of
each line one by one.
- Compiler takes an entire program
whereas the Interpreter takes a single line of code.
Python is
·
Widely used
·
interpreted (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
·
easy to code but as
powerful as the other programming languages.
·
Syntax is as
understandable as plain English
· Globally known applications such as YouTube, BitTorrent, DropBox, Netflix etc. use Python to achieve their functionality.
Let us look at some key features of Python:
- Simple-
- Written in simple English statements.
- Therefore, it is easy to understand the syntax( way of writing) and develop programs.
2. Easy to learn-
- uses very few keywords (set of special words which have a specific meaning).
- structure of program is very simple and easy to create.
EXERCISE
Answer the following questions based on the above discussion:
- What is machine language ?
- What is programing language? Give 2 examples
- Why is conversion of a program written in HLL to LLL mandatory?
- Differentiate between a compiler and an interpreter.
- Write a detailed note on Python.
- How is Python a simple language?
- How is Python easy to learn?
The above exercise is a reflection of your understanding of the concept.
God Bless you
See you in the next class.
Good morning Ma'am
ReplyDeleteThis side Joshua Walter of Class 9-D.
Good Morning Boys.
ReplyDeletePlease share your name as you enter the class. Take down the notes shared with you.
PLEASE READ THE FOLLOWING MESSAGE CAREFULLY:
Yesterday our class stood cancelled in view of the Prime Minister's address to the nation. There was a page under construction and few of you shared your attendance on that. Please note that it stands cancelled as the class was cancelled.
The information shared was incomplete.
Today is our FIRST CLASS. We begin our notes with this class. All the best
Noted Ma'am
DeleteGood morning ma'am. I am Arjav Jain.
ReplyDeleteThis platform is open to discussion. Please feel free to ask and contribute knowledge that you may have.
ReplyDeleteGood morning ma'am,
ReplyDeletethis is arnav trivedy of 9d
Good morning ma'am
ReplyDeleteMy name is soumil arora 9d
Good morning ma'am I am vansh bharti of class 9D
ReplyDeleteGood morning Ma'am I am Kenn of9d
ReplyDeleteWelcome all
ReplyDeletegood morning mam i am aryan maheshwari of class 9-d
ReplyDeleteGood Morning maam karan kapoor of class 9-D
ReplyDeleteGood Morning Mam. My Name is
ReplyDeleteAbhishek Dial 9D
Ma'am we have to write everything written on the blog or just ques and answes
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteYou have to write everything written on the blog. Exercise given is the HW. You are to do yourself. Page from the book has been shared with you
ReplyDeleteOk Ma'am thank u so much
DeleteGood morning ma'am this is Vincent zacharias
ReplyDeleteOjas Khanna 9d
ReplyDeleteGood Morning dear
DeleteGood morning maam I am Satwik Pruthi of class 9D
ReplyDeleteGood morning ma'am
ReplyDeleteKavyansh Bagotra 9D
you are quite late my dear. pls be on time
DeleteGod Bless
ReplyDeleteToday's lesson forms the base for the learning of Python. We MUST understand why we should study a programing language. It is always necessary to connect to the topic and before that understand why we are doing so.
ReplyDeletepls use the following link to download Python onto your computer as soon we will begin basic programing too:
ReplyDeletewww.python.org
Dont worry. Its free to download.
good morning.
ReplyDeletesamarth raj 9D
Samarth the class is about to end and you have entered at 9:33am. sad
DeleteGood morning ma'am I am Waqar of class 9-D
ReplyDeleteGood Morning Maam. This is Advait Mohanty.
ReplyDeleteGood Morning Mam I am Abhishek Dial 9 D
ReplyDeleteGOOD MORNING MA'AM JASON DAVID9-d
ReplyDeleteGood Afternoon Mam I am Derick Joseph of 9D
ReplyDeleteGood evening ma'am.I am Gracious Benny of class 9-D
ReplyDelete