What Is Computer Science History
Total Page:16
File Type:pdf, Size:1020Kb
![What Is Computer Science History](http://data.docslib.org/img/d231aa34617b0d8e75adfef73fc1b583-1.webp)
Syllabus
1. What is programing
What is Computer Science history
Installing python
Hardware Basics
First Program (‘Hello World’)
Float Chart
ASCII Art
Raw_Input and input
mod
2. Variables, Expressions and Statement
Data Types and Variables
Simple Calculations
Order of operations
3. Conditional execution
Booleans
Simple if’s
If – Else
If – elif – Else
Writing Algorithms
Nested conditional statements
4. Functions Built in functions
Defining Void functions
Parameters
Interpreting Void functions
5. Fruitful Functions
Import math
Defining Fruitful functions
Mathematic function challenge
6. Iteration
Simple While Loop
Two ways of ending a loop
Count Variables
Understanding the Index in Strings and Tuples
Basic for Loop
7. Strings
Formatting strings
8. Lists
Range Function
Using list and their index
Revisit For Loop
Revisit While loop String slicing
List slicing
Append
List: Sort, remove, count, split
Application of list
9. Random
Intro to random functions
random. randint
random .random
random .choice
random.shuffle
random.sample
10. Dictionaries
What are dictionaries?
Creating a dictionary
Common errors and using built in get function
11. Class
Difference between Dictionary, Def, modules
Introduction to Class
Creating a Class
12. Intro to Graphics RGB and hex Colors
X, Y coordinates
Basic format / updating screen
Lines, Circles, polygon
Drawing 2d pictures
Major Projects: #1 Design and code a Bot that will accept and respond to various phrases, like “How are you?”, “Are you happy?” and “Goodbye?” and etc… (like amazon alexa, siri… and google)
Or
Create mini text game using strings and numbers MUST INCLUDE then functions: def, while, if, elif, else and more…BE CREATIVE Minimum of 150lines
#2 Each group will design a program that will be random from the following category:
Education, Social, Environment, Adventure, Food, Entertainment, Finance, Health, Choose any
The program must meet the following criteria: …
….
TextBook: Python information Version 2.7 by Charles Severance Think Python version 2.0.17 by Allen Downey Making Games by Al Sweigart