Python Programming for Beginners
This course provides learners with the knowledge and skills required to develop an application in Python. The students will learn to use variables, expressions, controls, loops, break, continue, array, read/write from/to a file, and more! This course is an excellent introductory course for students wanting to learn to write programs in Python, work with Raspberry Pi, or are interested in data analysis, data science, machine Learning, and Artificial Intelligence.
The following are the objective of this course:
- Introduce the fundamentals of programming concepts
- Use the concepts of different types of structured programming.
- Develop software using various programming techniques.
- Discuss the concepts of good software design and methods.
- Learn to use flowcharts and pseudo-code to decompose a complex problem.
- Introduction to Python
- Setting up Development Environment
- Writing First Python Code
- Running Python Program
- Simple and Complex Statement
- Data Types
- Mathematical Operators
- Assignment Operators
- Control Statement
- Relational Operation
- Logical Operators
- If statement (If, If ... else .. , If ... elif ...else ... )
- For Statement
- The while statement
- The break Command
- The continue Command
- Working with Array
- Assigning a value to an array element
- Modifying the value in an array
- Exception Handling
- An Exception
- Throwing Exceptions
- Catching Exceptions:
- Standard Exceptions
- Define New Exceptions
- Opening a File
- Closing a File
- Writing to a File
- Reading from a File
- Rules for writing Python Code
- Introduction to Flowchart
- Adding Comments
- Warning Messages
- Examples of Flowcharting
- Knowledge of computer basic
- The course assumes that the student is familiar with the Internet and has a basic knowledge of starting an application, managing folders and files, and browsing the Internet for information.
- This course depends on the student's commitment to work independently on his/her own time on the project assigned to them that will require access to the computer.
- Access to a computer, an Internet browser, and a headset.
This is suitable for beginners interested in developing a program in Java or becoming a game programmer – one of the hottest career fields today. This course is also good for high school students planning to take AP Computer Science.
Learning Resources & Tools
The course consists of 10 modules. The workload of each module varies and consists of a combination of the following:
- Lecture: The lecture consists of notes students can use as reference material. Each module consists of at least one online lecture not with examples applicable to real-life scenarios. The lecture notes may contain hyperlinks to current resources, such as articles, books, or websites, to keep students up-to-date with the latest information.
- Video: The Video consists of a presentation on the topics covered in the lecture note.
- Hands-on Activities: The hands-on activities help students apply the concepts learned during the lecture. Each module consists of programming activities and exercises.
- Quizzes: The quiz allows students to validate their learning further. Students get unlimited attempts to pass the quiz with a minimum score of 70%.
- Mini-Projects: Projects help students apply the concepts learned through the lecture and apply them to build an application. All the mini projects are to be submitted via email before the end of the course.
- Module Completion: To complete each module, the student must follow the instructions in the lecture notes.
- Final Exam: The student can take the final exam at the end of the course. The student must score 70% or more to receive a certificate of completion.
Here is the course outline:
1. Introduction to Python
This module will introduce students to Python Programming Language, using Python Development Environment (IDE), writing the first Python code, running a Python program, the rules for writing Python code, best practices, and building a flow chart to illustrate the flow of the program.
2. Coding Style and Flow Chart
3. Variable & Expression
This module will introduce students to expressions, the difference between Simple and Complex Statements, Variables, Mathematical Operators, and Assignment statements.
4. Conditional Statements
This module will introduce students to using conditional statements in Python Programs. The topics will include understanding the use of relational & logical operators, and using If statement (If, if..else , If ... elif ...else ... ).
5. For Loop
This module will introduce students to writing programs using the "for" loop to execute a segment of program a certain number of times.
6. While Loop
This module will introduce students to writing Python programs using the "while loop" to repeat a segment code while the condition is present/true, and use the keyword break & continue to control the loop.
This module will introduce students to String Class and the use of the String in a Python program.
Learn to define a function, pass a value to a function, and return a value.
10. File Input & Output
This module will introduce students to reading content from a file and storing content in a file using Python Programming Language.
The following certificates are awarded when the course is completed: