University of Engineering and Technology Lahore (New Campus)
Course Outline
Department: Chemical, Polymer and Composite Materials Engineering KSK Printed Date: Aug 30, 2023
Section Course Detail
Semester Fall 2023
Department Chemical, Polymer and Composite Materials Engineering New Campus
Section A+B
Subject Title CS-103: Introduction to Computer Programming for Data Science
Contact Dr. Zohaib Atiq Khan, zohaib.atiq@uet.edu.pk
Course Outline
1. Introduction to Computers and Python: Overview of Hardware and Software, Operating systems, Python
and other Programming Languages, Internet and World Wide Web, Software Technologies, How Big is Big
Data?
2. Introduction to Python Programming: Variables and Assignment Statements, Arithmetic operators,
Function print and an intro to strings, getting input from user
3. Programming Logic: Flow charts, program structure, logic building, algorithms
4. Conditional Statements: Boolean operators and, or and not. The if statement and Comparison Operators,
Algorithms, Pseudocode, Control Statements, If statement, If..elilf..else statements
5. Repetition Structures: Sequence-Controlled Repetition, Sentinel-Controlled Repetition, Nested Control
Statements, break and continue statements
6. Functions: Defining functions, functions with multiple parameters, Random Number generation, case study:
A game if chance, python standard library, math module functions, Default parameters values, Keyword
Arguments, scope rules, import: A deeper look, function Call stack, Case study: Processing sample dataset in
python
7. Sequences: Lists and Tuples: Lists, Tuples, Unpacking Sequences, Sequences Slicing, del statement,
Passing lists to functions, Sorting lists, searching sequences, simulating stacks with lists, Two Dimensional
lists
8. Dictionaries and sets: Creating a Dictionary, iterating through a dictionary, Basic Dictionary operations,
Dictionary Methods keys and values, Dictionary Comparisons, Comparing sets, Mathematical set operations.
Mutable set operators and Methods, Set Comprehensions
9. Array oriented programming with NumPy: Creating arrays from existing data, array Attributes, Filling
arrays with specific values, creating arrays from Ranges, List vs array performance, NumPy calculation
Methods, Indexing and slicing, views, Reshaping and transposing
10. Manipulating Strings: Formatting strings, concatenating and repeating strings, stripping whitespace from strings,
other string manipulation functions
11. Files and Exceptions: Files, Text file processing, updating text files, serialization with JASON, Focus on security,
pickle serialization and deserialization, Handling expressions
Page 1 of 4
University of Engineering and Technology Lahore (New Campus)
Course Outline
Department: Chemical, Polymer and Composite Materials Engineering KSK Printed Date: Aug 30, 2023
Measurable Student Learning Outcomes
CLOs Description PLOs Domain Domain Level
CLO1 Explain the fundamental concepts of computing PLO01 Cognitive
2. Understand
CLO2 Apply the programming concepts for writing python code PLO05 Cognitive 3. Apply
CLO3 Describe the fundamentals of data science PLO01 Cognitive
2. Understand
PLO05 Cognitive
Apply the Python Libraries for analyzing Data of real-world
CLO4 3. Apply
problem
Class Timings
Tuesday,1:00-3:00 PM Friday,1:00-3:00 PM
Section A Section B
R-4 R-1
Grading Policy
Assessment 1, 5.0 %
Assessment 2, 5.0 %
Assessment 3, 5.0 %
Assessment 4, 5.0 %
Assessment 5, 5.0 %
Assessment 6, 5.0 %
Mid Term, 30.0 %
End Term, 40.0 %
Page 2 of 4
University of Engineering and Technology Lahore (New Campus)
Course Outline
Department: Chemical, Polymer and Composite Materials Engineering KSK Printed Date: Aug 30, 2023
Section Content
Week CLO's
Topics
(Lec)
Introduction to Computers and Python: Overview of Hardware and
Software, Operating systems, Python and other Programming
Week1
Languages, Internet and World Wide Web, Software Technologies, CLO1, CLO2
How Big is Big Data?
Introduction to Python Programming: Variables and Assignment
Week2 Statements, Arithmetic operators, Function print and an intro to strings,
getting input from user CLO2
Programming Logic: Flow charts, program structure, logic building,
Week3
algorithms CLO2
Conditional Statements: Boolean operators and, or and not. The if
Week4 statement and Comparison Operators, Algorithms, Pseudocode, Control
Statements, If statement, If..elilf..else statements CLO2
Repetition Structures: Sequence-Controlled Repetition, Sentinel-
Week5 Controlled Repetition, Nested Control Statements, break and continue
statements CLO2
Functions: Defining functions, functions with multiple parameters,
Week6 Random Number generation, case study: A game if chance, python
standard library, math module functions, Default parameters values, CLO2
Keyword Arguments, scope rules, import: A deeper look, function Call
stack
Week7 Case study: Processing sample dataset in python
CLO4
Week8 Mid Term examination
Sequences: Lists and Tuples: Lists, Tuples, Unpacking Sequences,
Week9 Sequences Slicing, del statement, passing lists to functions, Sorting lists,
CLO2
searching sequences, simulating stacks with lists, Two Dimensional lists
Dictionaries and sets: Creating a Dictionary, iterating through a
dictionary, Basic Dictionary operations, Dictionary Methods keys and
Week10 CLO2
values, Dictionary Comparisons, Comparing sets, Mathematical set
operations. Mutable set operators and Methods, Set Comprehensions
Page 3 of 4
University of Engineering and Technology Lahore (New Campus)
Course Outline
Department: Chemical, Polymer and Composite Materials Engineering KSK Printed Date: Aug 30, 2023
Section Content
Week CLO's
Topics
(Lec)
Array oriented programming with NumPy: Creating arrays from
Week11 existing data, array Attributes, Filling arrays with specific values, creating CLO3
arrays from Ranges, List vs array performance
Week12 Array oriented programming with NumPy: NumPy calculation CLO3
Methods, Indexing and slicing, views, Reshaping and transposing
Week13 Manipulating Strings: Formatting strings, concatenating and repeating
strings, stripping whitespace from strings, other string manipulation CLO3
functions
Files and Exceptions: Files, Text file processing, updating text files, CLO4
Week14 serialization with JASON, Focus on security, pickle serialization and
deserialization, Handling expressions
Week15 End term examination
Recommended Books
Required Textbook:
1. Paul Deitel, Harvey Deitel , “Intro to Python for Computer Science and Data Science: Learning to
Program with AI, Big Data and The Cloud” 1st Edition, Pearson Education, Inc. 2021
Optional Books:
2. Wes McKinney, “Python for Data Analysis”, O’Reilly Media, Inc, 2018
Page 4 of 4