INT102:COMPUTER PROGRAMMING-I
L:0 T:0 P:4 Credits:2
Course Outcomes: Through this course students should be able to
CO1 :: Explain syntax of Python for variables, data types ,conditional branching, loops, and
function
CO2 :: Demonstrate string and built-in operations on lists and tuples for compound data.
CO3 :: Apply dictionary and set operations, and random module functions to design logic
CO4 :: Utilize NumPy arrays operations for performing efficient numerical computations
CO5 :: apply data handling using Pandas Series and DataFrames
CO6 :: create visualizations using Matplotlib and Seaborn to interpret data patterns.
Unit I
Basics of Python Language: : Variables, data types, operators (Arithmetic, Assignment,
Comparison /Relational, Logical, Bitwise, Identity, Membership), order of operations, expressions,
statements, Input/output, Composition & Comments, conditional branching and execution, range
function and looping constructs.
Functions: : function calls, parameters and argument, type conversion, recursion, math module and
functions.
Unit II
Strings: : string a compound data type, length, traversal, slices, comparison and find function, string
module and string functions.
Python Collections1 : Lists operations(slice, del, append, extend, insert, remove, pop), clear, sort,
reverse, count, index, copy, len, sum, max, min, arithmetic operations, concatenate, multiply, in, is,
Accessing elements of a List, list and for loops, nested list, Tuples operations(del, count, index, len,
sum, max, min, arithmetic operations, concatenate, multiply, in, is).
Unit III
Python Collections2 : Dictionary and its operations/methods (add, replace, delete, retrieve,
fromkeys(), get(), copy(), update(), items(), values(), keys(), pop(), popitem(), clear() ), Random
module functions (choice(), randrange(), randint(), sample(), uniform(), random(), shuffle()), set and
its operations (copy(), add(), update(), remove(), discard(), pop(), clear(), union, intersection,
difference, len(), sum(), max(), min()), operator on sets, Loop through the set.
Unit IV
NumPy Package : Introduction to Numpy, Demo for creating and printing an ndarray, array
functions (ndim, size, dtype, shape, reshape, max, min, sum, cumsum, arrange), zeros, ones, full,
eye, concatenate, stack, hstack, vstack, split, where, sort, unique, union1d, intersect1d, setdiff1d,
indexing, slicing, copy and view, User defined array at runtime, Creating 2D arrays, Applying NumPy
for dataset analysis.
Numerical Analysis: : Introduction to Ordinary Differential Equations (ODEs), solving simple ODEs
using Euler’s method and SciPy’s odeint.
Unit V
Pandas Package: : Introduction to Pandas, Series creation from arrays, lists, scaler values and
dictionaries, accessing data from Series, creating Dataframes from lists, dictionary,NdArrays, Excel
and CSV files, handling data (using fillna, dropna, replace, interpolate, forward/backward fill, mean).
Unit VI
Visualization with MatPlotLib and Seaborn: : Introduction to Matplotlib (figure, axes, titles,
labels, legends), basic plots: line, multiple line, bar, pie, histogram, box, scatter, subplotting,
Introduction to Seaborn and its integration with Pandas, Relational plots, categorical plots, distribution
plots, Regression plots, matrix heatmaps.
Summary and correlation statistics: : Summary statistics- mean, median, mode, standard
deviation, variance, minimum and maximum, range, percentiles / quartiles), Correlation analysis
(Pearson correlation coefficient, Spearman’s rank correlation, covariance to identify variable
relationships), SciPy’s odeint, visualizing ODE solutions using Matplotlib for real-world modeling.
Text Books:
1. PROGRAMMING AND PROBLEM SOLVING WITH PYTHON by ASHOK NAMDEV KAMATHANE,
MC GRAW HILL
Session 2025-26 Page:1/2
Text Books: 2. INTRODUCTION TO COMPUTATION AND PROGRAMMING USING PYTHON by GUTTAG, JOHN
V, MIT Press
3. CORE PYTHON PROGRAMMING by R. NAGESWARA RAO, DREAMTECH PRESS
References:
1. INTRODUCTION TO PROGRAMMING USING PYTHON by Y. DANIEL LIANG, PEARSON
2. PYTHON PROGRAMMING: USING PROBLEM SOLVING APPROACH by REEMA THAREJA,
OXFORD UNIVERSITY PRESS
Session 2025-26 Page:2/2