Python Programming
Course Information
- Course Instructor Mr RajKumar, TCS Consultants
- Level Undergraduate
- Language English
- Enrolled Colleges 35
- Total Students 1360
- Course Duration 16 Weeks
- Course Start June 19, 2017
Description
Python Programming
Python is a widely used high-level programming language for general-purpose programming, created by Guido van Rossum and first released in 1991. An interpreted language, Python has a design philosophy which emphasizes code readability (notably using whitespace indentation to delimit code blocks rather than curly brackets or keywords), and a syntax which allows programmers to express concepts in fewer lines of code than might be used in languages such as C++ or Java. The language provides constructs intended to enable writing clear programs on both a small and large scale.
Prerequisites
Any programming language experience or at least knowledge of programming concepts
Course Objectives:
Upon completion of this course, students will be able to do the following:
| •Introduction to Scripting Language. |
| •Exposure to various problems solving approaches of computer science. |
Course Outcomes:
After completing this course the candidate should be able to:
| •Making Software easily right out of the box. |
| • Experience with an interpreted Language. |
| • To build software for real needs. |
| • Prior Introduction to testing software. |
Syllabus
Unit 1
Introduction:History of Python, Need of Python Programming, Applications Basics of Python Programming Using the REPL(Shell), Running Python Scripts, Variables, Assignment, Keywords, Input-Output, Indentation.
Unit 2
Types, Operators and Expressions:Types - Integers, Strings, Booleans; Operators- Arithmetic Operators, Comparison (Relational) Operators, Assignment Operators, Logical Operators, Bitwise Operators, Membership Operators, Identity Operators, Expressions and order of evaluations Control Flow- if, if-elif-else, for, while, break, continue, pass.
Unit 3
Data Structures: Lists - Operations, Slicing, Methods; Tuples, Sets, Dictionaries, Sequences Comprehensions.
Unit 4
Functions:Defining Functions, Calling Functions, Passing Arguments, Keyword Arguments,Default Arguments, Variable-length arguments, Anonymous Functions, Fruitful Functions(Function Returning Values), Scope of the Variables in a Function - Global and LocalVariables.
Modules:Creating modules, import statement, from. Import statement, name spacing.
Python packages:Introduction to PIP, Installing Packages via PIP, Using Python Packages.
Unit 5
Object Oriented Programming OOP in Python:Classes, 'self variable', Methods, Constructor Method, Inheritance, Overriding Methods, Datahiding,
Error and Exceptions:Difference between an error and Exception, Handling Exception, try except block, Raising Exceptions, User Defined Exceptions.
Unit 6
Brief Tour of the Standard Library:Operating System Interface - String Pattern Matching, Mathematics, Internet Access, Dates and Times, Data Compression, Multithreading, GUI Programming, Turtle Graphics.
Testing:Why testing is required ?, Basic concepts of testing, Unit testing in Python, Writing Test cases, Running Tests.



