Python is an interpreted, high-level, general-purpose programming language. Created by Guido van Rossum and first released in 1991, Python's design philosophy emphasizes code readability with its notable use of significant whitespace. Its language constructs and object-oriented approach aim to help programmers write clear, logical code for small and large-scale projects.
You will learn
How a program works, including the concepts of stored instructions, and fetch-decode execute cycle, and multi-tasking
Input, Processing, and Output
Learning and analyzing Java language packages
Decision Structures and Boolean Logic
Repetition Structures
Functions
Object -Oriented Programming
Files
Lists and Tuples
More about strings
Dictionaries and Sets
Course Outline
Unit 1. Introduction and class overview
Basic computer architecture
How a program works, including the concepts of stored instructions, and fetch-decodeexecute
cycle, and multi-tasking
Compare and contrast machine language, assembly language, and high-level languages
Hello World program
Unit 2. Input, Processing, and Output
Designing a program
Input and output functions Python3
Variable types and assignment
Using mathematical operators
Documenting a program
Unit 3. Decision Structures and Boolean Logic
Introduction to decision
The if, and the if-else statements
Comparing strings
Nested decision structures and the if-elif-else statement
Logical operators
Boolean variables
Unit 4. Repetition Structures
Introduction to repetition structures
The while loop
The for loop
Calculating a running total
Sentinels
Nested Loops
Unit 5. Functions
Introduction to functions
Designing custom functions
Local variables, scope of variables
Passing Arguments to functions, and returning values
Local variables, global variables and global constants