Lecture - 0 - INT213
Lecture - 0 - INT213
• Credit: 3
Course Objectives
• Explain the Python language syntax, including control statements, loops, and
functions to write programs for various mathematics, science, and game problems.
• Explain the core data structures like lists, dictionaries, tuples, and sets in Python to
store, process, and sort the data
• Apply the concepts of Object-oriented programming as used in Python using
encapsulation, polymorphism, and inheritance
• Apply Identify the external modules for creating and writing data to excel files and
inspect the file operations to navigate the file systems.
• Make use of tkinter programming for GUI applications by using database.
• Develop real-time applications using Python.
CO-PO MAPPING
CO PO PO PO PO PO PO PO PO PO PO PO PO PO
1 2 3 4 5 6 7 8 9 10 11 12 13
PO1:Engineering knowledge
CO1 Y Y Y PO2:Problem Analysis
PO3: Design and Development
CO2 Y Y Y PO4:Conduct Investigations
PO5:Modern Tool
CO3 Y Y Y PO6:The Engineer and society
PO7:Environment and sustainability
CO4 Y Y Y PO8:Ethics
PO9:Individual and Teamwork
CO5 Y Y Y Y PO10:Communication
PO11:Project management
CO6 Y Y Y Y Y Y Y Y Y Y PO12:Lifelong learning
PO13:Competitive skills
Explain the Python language syntax, including control statements, loops, and functions to write programs for various mathematics,
science, and game problems.
Explain the core data structures like lists, dictionaries, tuples, and sets in Python to store, process, and sort the data
Apply the concepts of Object-oriented programming as used in Python using encapsulation, polymorphism, and inheritance
Apply Identify the external modules for creating and writing data to excel files and inspect the file operations to navigate the file
systems.
Make use of tkinter programming for GUI applications by using database.
Develop real-time applications using Python.
Course Assessment Model
• Marks Breakup:
Activity Marks
Attendance 5
Continuous Assessment (CA)* 65
End-Term Practical (ETP) 30
100
CA
Programming Practice using HackerRank 40
Mini Project 15
Best 1 out of 2 MCQ Based Test 10
or
MOOC’s certificate
ETP
Hackathon/Programming Challenge 30
Course Assessment Model
Sandbox
The immersive,Intrinsic,In-class participation tool
Programming ..??
What is Python?
• C++ Program :
#include <iostream><br>
int main()
{
cout << "Hello World" << endl;
return 0;
}
C Program
#include <stdio.h>
int main(int argc, char ** argv)
{
printf(“Hello, World!\n”);
}
Python Program :
• Python code is often 5-10 times shorter than equivalent C++ code.
• Lists: list values, length, membership, operations, slices, deletion, accessing elements, list and for
loops, list parameters and nested list
• Tuples and Dictionaries: mutability and tuples, tuple assignment, tuple as return values, random
numbers and list of random numbers, counting and many buckets, dictionaries operations and
methods, sparse matrices, aliasing and coping
Unit 3
• Classes and objects: creating classes, creating instance objects, accessing attributes, overview of
OOP terminology
• Object oriented programming terminology: Class Inheritance, Overriding Methods, Data Hiding,
Function Overloading.
Unit 4
• Files and Exceptions: text files, writing variables, directories, pickling, exceptions
• Regular Expressions – Concept of regular expression, various types of regular expressions, using
match function, Web Scraping by using Regular Expressions
• Building GUI using python: tkinter programming, tkinter widgets like button, canvas, entry, frame,
label, list box, menu, message, scale, text, spinbox, labelframe, tkMessagebox, standard attributes,
geometry managemen
Unit 5
• Using Databases with Python: Installation of MySQL Database Software, Verifying MySQL in the
windows Operating system, Installing MySQLdb Module, Verifying the MySQLdb Interface
Installation, Working with MySQl Databse, Using MySQL from python, Retrieving All Rows from a
Table, Inserting Rows into a Table, Deleting Rows into a Table, Updating Rows in a Table, Creating
Database Tables through python. Creating a GUI that handles an event
Unit 6
• Data visualization with matplotlib: line plot, multiple subplots in one figure, histograms, bar charts,
pie charts, scatter plots
• Handling data with pandas: series, dataframes, read and write csv file, operations using dataframe
• Numpy arrays: numpy - datatype, array operations, statistical functions, broadcasting
BOOK REFERENCES
Text Book:
Introduction to Programming using Python by Y. DANIEL LIANG, PEARSON
References Book:
Python Programming: Using Problem solving approach by REEMA THAREJA, OXFORD
UNIVERSITY PRESS
Different Python IDEs and Code Editors
IDE Size in MB Developed in
PyCharm BIG JAVA, PYTHON
Python Version : 3
Colaboratory, or "Colab" for short, allows you to write and execute Python in your
browser, with
– Zero configuration required
– Free access to GPUs
– Easy sharing
MOOC
MOOCs can bring knowledge to students and a useful form of online learning and can complement traditional university learning
• https://onlinecourses.nptel.ac.in/noc21_cs32/preview
Exemptions:-
If student will provide the certificate,4 weeks prior to ETE then MCQ
based category of CA will be exempted.