Data Science Python

Course Content

Total learning: 23 lessons Time: 10 weeks

Contents

 1. The Context of Software Development  

  • Software                                              
  • Development Tools                                        
  • Learning Programming with Python                               
  • Writing a Python Program                                    
  • A Longer Python program                                    

 2. Values and Variables   

  • Integer Values                                            
  • Variables and Assignment                                      
  • Identifiers                                              
  • Floating-point Types                                        
  • Control Codes within Strings                                    
  • User Input                                              
  • The eval Function                                         
  • Controlling the print Function                                   

3. Expressions and Arithmetic   

  • Expressions                                             
  • Operator Precedence and Associativity                               
  • Comments                                              
  • Errors                                                
  • Syntax Errors                                        
  • Run-time Errors                                      
  • Logic Errors                                        
  • Arithmetic Examples                                        
  • More Arithmetic Operators                                     
  • Algorithms                                             

4. Conditional Execution   

  • Boolean Expressions                                        
  • Boolean Expressions                                        
  • The Simple if Statement                                      
  • The if/else Statement                                        
  • Compound Boolean Expressions                                  
  • Nested Conditionals                                         
  • Multi-way Decision Statements                                   
  • Conditional Expressions                                      
  • Errors in Conditional Statements                                  

5.  Iteration   

  • The while Statement                                        
  • Definite Loops vs Indefinite Loops                                
  • The for Statement                                         
  • Nested Loops                                            
  • Abnormal Loop Termination                                    
  • The break statement                                    
  • The continue Statement                                   
  • Infinite Loops                                            
  • Iteration Examples                                          
  • Computing Square Root                                   
  • Drawing a Tree                                        
  • Printing Prime Numbers                                   
  • Insisting on the Proper Input                                 

6. Using Functions    

  • Introduction to Using Functions                                   
  • Standard Mathematical Functions                                  
  • time Functions                                            
  • Random Numbers                                           
  • Importing Issues                                            

7.  Writing Functions    

  • Function Basics                                            
  • Using Functions                                            
  • Main Function                                             
  • Parameter Passing                                           
  • Function Examples                                          
  • Better Organized Prime Generator                              
  • Command Interpreter                                     
  • Restricted Input                                        
  • Better Die Rolling Simulator                                 
  • Tree Drawing Function                                    
  • Floating-point Equality                                    
  • Custom Functions vs Standard Functions                              

8. More on Functions    

  • Global Variables                                            
  • Default Parameters                                          
  • Recursion                                               
  • Making Functions Reusable                                     
  • Documenting Functions and

9. Lists    

  • Using Lists                                              
  • List Assignment and Equivalence                                   
  • List Bounds                                              
  • Slicing                                                 
  • Lists and Functions                                          
  • Prime Generation with a List                                     

10. List Processing    

  • Sorting                                                 
  • Flexible Sorting                                            
  • Search                                                 
  • Linear Search                                         
  • Binary Search                                         
  • List Permutations                                           
  • Randomly Permuting a List                                      
  • Reversing a List                                            

11. Objects    

  • Using Objects                                             
  • String Objects                                             
  • List Objects                                              

12. Custom Types    

  • Geometric Points                                           
  • Methods                                                
  • Custom Type Examples                                        
  • Stopwatch                                           
  • Automated Testing                                      
  • Class Inheritance                                           

 13. Handling Exceptions    

  • Motivation                                               
  • Exception Examples                                         
  • Using Exceptions                                           
  • Custom Exceptions                                          

     

Need help?