Lecture 1 479 1
Lecture 1 479 1
Lecture 1 479 1
(Python/Java/Rust/Dart)
Introduction to Python
Info:
• Instructor: Sayed Mortaza Kazemi
• Office Phone: 0795474969
• Email: [email protected] / [email protected]
• Midterm: 25%
• Final: 50%
• Assignment & Projects: 15%
• Homework and practice: 10%
• Bonus Marks (Will be adjusted in your overall marks)
Full Attendance 10 Marks
1 day short 6 Marks
2 day short 4 Marks
3 day short 2 Marks
2019 - Modern Programming (Java) 1-3
Required to have knowledge
• Fundamentals of Programming
• Object Oriented Programming
• Languages like C++ or Java, you must first compile it, and then run
it. But in Python, there is no need to compile it. Internally, its
source code is converted into an immediate form called bytecode.
So, all you need to do is to run your Python code without
worrying about linking to libraries, and a few other things.
• By interpreted, we mean the source code is executed line by line,
and not all at once. Because of this, it is easier to debug your
code. Also, interpreting makes it just slightly slower than Java, but
that does not matter compared to the benefits it has to offer.
Object-Oriented, Extensible
• A programming language that can model the real world is said to
be object-oriented. It focuses on objects and combines data and
functions. Contrarily, a procedure-oriented language revolves
around functions, which are code that can be reused. Python
supports both procedure-oriented and object-oriented
programming which is one of the key python features. It also
supports multiple inheritances, unlike Java. A class is a blueprint
for such an object. It is an abstract data type and holds no values.
• If needed, you can write some of your Python code in other
languages like C++. This makes Python an extensible language,
meaning that it can be extended to other languages.
Embeddable, Large Standard Library