Department of Electrical Engineering,
School of Engineering,
University of Management and Technology
Course Outline
Course code: CS143 Course title: Programming Fundamentals
Program BSEE
Credit Hours 3
Duration One semester (Fall 2023)
Pre-requisites Nil
Resource Person Dr. Jawwad Nasar Chattha
Counseling Timing
Monday and Wednesday
Contact [Link]@[Link]
Chairman/Director signature………………………………….
Dean’s signature……………………………
Date………………………………………….
CS 143-Fall 2021 Page 1
Course Learning Outcomes:
At the end of this course, students will be able to:
CLO1: Understanding Python Basics (Cognitive Domain: Remembering) C1
Explain and describe the fundamental concepts of Python programming, including data
types, variables, and basic syntax rules. They will also be able to list common Python data
structures. Action Words: Explain, Describe, List
CLO2: Applying Python Programming Concepts (Cognitive Domain: Applying) C2
Write Python code to implement basic programming constructs, such as loops, conditional
statements, and functions to solve simple computational problems. Action Words: Write,
Implement, Apply
CLO3: Analyzing Python Code (Cognitive Domain: Analyzing) C3
Analyze and evaluate Python code to identify errors and debug programs effectively.
Identify and explain the flow of control in Python programs. Action Words: Analyze,
Evaluate, Identify
Mapping of CLOs to Program Learning Outcomes (PLOs):
CLO’s/PLO’s CLO 1 CLO 2 CLO 3
1: Engineering Knowledge
✔ ✔
2:Problem Analysis ✔
3:Designing Skills
4: Investigation
5: Modern Tool Usage
6: Engineering & Society
7: Env. &Sust.
8: Ethics Learning
9: Team Work
10: Communication Skills
CS 143-Fall 2021 Page 2
11:Project Management
12. Lifelong Learning
Learning Methodology:
Classroom lectures and discussions, problem solving exercises and assignments.
Grade Evaluation Criteria
Components Marks
Assignments 10
Quizzes 20
Mid Term Exam 30
Final Exam 40
Total 100
Recommended Text Books
Author Title Edition/year Publisher
published
Cay Horstmann Python for Everyone 2nd Edition Wiley
Recommended Reference Books
Author Title Edition/year published Publisher
Paul Deitel Python How to 1st Edition Pearson
Program
Harvey Deitel
CS 143-Fall 2021 Page 3
CS 143-Fall 2021 Page 4
Calendar of Course Contents
Course code: CS 143 Course title: Programming Fundamentals
Reference CLOs
Weeks Course Contents
Chapter(s)
INTRODUCTION
⮚ Introduction to programming
1.3- 3.2,3.3 1,2
1 ⮚ Algorithms
(RB)
⮚ Pseudocode
DATA TYPES
⮚ Variables and Constants
⮚ Type casting
2.1, 2.2, 2.4,
1
2.5
2 ⮚ Assignment statement
⮚ Input and output
⮚ Strings
DATA TYPES 2.2 1
3
⮚ Arithmetic operators
⮚ Operators precedence
⮚ Integer division and remainder
CS 143-Fall 2021 Page 5
⮚ Increment and decrement operator
⮚ Powers and roots
DECISIONS
⮚ The if statement
4 ⮚ Relational Operators 3.1, 3.2,
1,2
3.3,3.4, 3.5
⮚ Nested Branches
⮚ Multiple Alternatives
DECISIONS
⮚ Boolean Variables and Operators
5 ⮚ Analyzing Strings 3.7, 3.8,4.1 1,2,3
LOOPS
⮚ The while loop
LOOPS
⮚ Application Processing: Sentinel Values
⮚ For loop
4.3, 4.5,
6 ⮚ Nested loops 4.6,4.7,4.8, 1,2,3
4.9
⮚ Common Loop Algorithms
⮚ Random Numbers
7 FUNCTIONS 5.1,5.2,5.3 1
CS 143-Fall 2021 Page 6
⮚ Functions
⮚ Function implementation
⮚ Parameter passing
8
Midterm Exam
FUNCTIONS
⮚ Return values
9 5.4,5.5,5.6 1,3
⮚ Functions without return values
⮚ Reusable functions
FUNCTIONS
10 ⮚ Variable scope 5.8, 5.9 1
⮚ Recursive functions
LISTS
11 ⮚ Basic properties of Lists 6.1, 6.2 1
⮚ List operation
LISTS
12 ⮚ Common List Algorithms 6.3, 6.6 1,3
⮚ Using List with Functions
13 NUMPY- ARRAYS 7 1
CS 143-Fall 2021 Page 7
⮚ Arrays Initialization
⮚ Array Attributes
⮚ Array Indexing and Slicing
⮚ Arrays Arithmetic operations
NUMPY-ARRAYS
⮚ Sorting, Searching and Counting functions
14 7 1,3
⮚ Broadcasting
STREAMS
15 ⮚ Reading text files 7.1 1
⮚ Writing text files
16
Final Exam
Mapping of CLOs to Direct Assessments
Direct Assessments
Quiz Quiz Quiz Quiz Quiz Quiz Midterm Final
CLOs▼
1 2 3 4 5 6 Exam Exam
1 ✔ ✔ ✔ ✔
2 ✔ ✔ ✔ ✔
CS 143-Fall 2021 Page 8
3 ✔ ✔ ✔ ✔
CS 143-Fall 2021 Page 9