PCAP™ – Certified Associate in Python Programming certification
Certification Material
Certification Material
Dear Friends
This page is dedicated to data science fellows who are attending the Data Science Bootcamp.
The additional course material and certification can be done on Python for Everybody website.
You can download the Book here - Python for Everybody
Python Certification Link for PCAP
Download Python and install it for the execution of Python codes
Download Anaconda and install it for the execution of Python codes
Online Google Colab for the execution of Python code. (I will be using Google Colab, so I can use google cloud computers and it will be convenient to share the codes easily)
Download Thony and install it for debugging the code step by step
Course Outline Python 3
Variables, expressions, and statements
Conditional Execution
Functions
Loops and Iterations
Strings
Files
Lists
Dictionaries
Tuples
Regular Expressions
Network Programming
Using Web Services
Object Oriented Programming
Databases
Data Visualization
VIDEO RECORDINGS OF WEEK-1 LECTURES IS AVAILABLE HERE
Day-1 (Saturday, August 19, 2023) following Topics are covered along with their Python code Click Here to access the Lecture slides and Notebook codes
Installing Python, Jupyter lab
Activity 1- Installing IDE
Values and types of data
Variable Operation rules
Activity-2
Priority of Operations
Modulus Operator
Remainder Operator
Strings Operation
Repetition by multiplication of string with a digit
Asking the user for input
Escape Sequence
Conversion of Data types
Comments
Choosing the Mnemonics variable name
Debugging
Activity-3
Conditional Execution: Boolean Expressions
Logical Operators AND, OR, NOR
Conditional Execution
Chained Conditionals
Nested Conditionals
Catching Exceptions using TRY and EXCEPT
Short-Circuit Evaluation of Logical Expressions
Activity 4: Write a program to prompt for a score between 0.0 and 1.0.
Activity -5: Write a program to prompt the user for hours and rate per hour using the input to compute the gross pay. pay the hourly rate for hours up to 40 and 1.5 times the hourly rate for all hours worked above 40 hours. Use 45 hours and a rate of 10.50 per hour to test the program (the pay should be 498.75) You should use the input to read a string and float () to convert the string to a number. Do not worry about the error checking the user input - assume the user types the number properly
Day-2 (Sunday, August 20, 2023) following Topics are covered along with their Python code Click Here to access the Lecture slides and Notebook codes
Remaining topics from day_1 slides_59~80
Type conversion function
Math function/library/Module
Alias
Importing library-specific function (dot) notation import
Importing with from function
Range function
Random Numbers (Random Module)
Activity -6
randint (start, end range) function
choice (a) function
List of different data types
Rules to Create a Function
Activity-7
The flow of execution for functions
Parameters of function
Passing arguments in the function
Parameters and Arguments
Fruitful functions (Returns values)
Void Function (Not Return anything)
Saving returned values to different variables
Assigning returned values to a tuple
Activity 8: Compute pay by defining a function computepay() that return values
Quiz#1 : function called computegrade that takes a score as its parameter and returns a grade as a string. • Score Grade • > 0.9 A • > 0.8 B • > 0.7 C • > 0.6 D • <= 0.6 F
Iteration
Memory Location is assigned differently each time variable is updated
Updating Variables
The while Statement
Infinite Loops
Break Statement
Finishing iterations with the "continue" statement
Definite loops: For Loop
Counting and Summing Loops
Maximum and Minimum Loops
Activity 9.1
Activity 9.2
Strings
String Index
Getting the length of functions with the len function
Adding new functions
Day-3 (Friday, August 25, 2023) following Topics are covered along with their Python code Click Here to access the Lecture slides and Notebook codes
Day-4 (Saturday, August 26, 2023) following Topics are covered along with their Python code Click Here to access the Lecture slides and Notebook codes
List arguments
Activity 14: Write a function called chop that takes a list and modifies it, removing the first and last elements, and returns None
Tuples
Creating a Tuple
Create tuples without using parentheses
Access Tuple Elements
Tuple Negative Indexing
Tuple Slicing
Tuple Methods
Iterating through a Tuple
Objects and values
Aliasing
Dictionaries
Creating and Manipulating Dictionaries
Write a program that prompt the name, age, education, experience and stores in the dictionary
Day-5 (Sunday, August 27, 2023) following Topics are covered along with their Python code Click Here to access the Lecture slides and Notebook codes
Free Course Material on Data Science "Python Ka Chilla, Python in 40 Days" by Dr. Ammar Tufail