Course Outline 2024
Course Outline 2024
Synopsis:
Elementary principles of programming, using python including iteration, recursion, and
binary representation of data. Object oriented approach to programming using python.
Course Content:
Learning Objectives
Identify core aspects of programming and features of the Python language
Use different tools for writing and running Python code
Understand and apply core programming concepts like conditionals and variables
Write code to process user input and do basic error checking
Topics
Introduction to Programming
Introduction to Python
Configuring Python and Tools
The Python Language
Downloading & Installing IDLE (Python’s Integrated Development & Learning
Environment)
Python Scripts
Variables
Flow Control: Conditionals
Catching Errors
Functions
Modular Programming
Course Assessment
This course will use a variety of assessments. Ungraded code-along lectures
allow students to practice along with the instructor, and self-assess their
ability to apply the concepts and skills they learned, before attempting the
graded assessments. Graded assessments include:
Recommended Resources
(You should also be able to find it on the O’Reilly site through the UPenn
library)
Tutorial Questions
2 1) Print the dictionary items 2) access items 3) useget() 4)change values 5) use len()
2 2
4 D) Write a python Program to read a number and display corresponding day using
if_elif_else?
1. TO PERFORM ADDITITON
1 2. TO PERFORM SUBSTRACTION
3. TO PERFORM MULTIPICATION
3 4. TO PERFORM DIVISION
Accepts users input and perform the operation accordingly. Use functions with
arguments.
2 palindrome or not.
D) Write a Python function that takes two lists and returns True if they are equal
otherwise false
4
1 A) Write a program to double a given number and add two numbers using
lambda()?
4
2 B) Write a program for filter() to filter only even numbers from a given list.