notes M8.28.2023 and Th8.31.2023 - Hsanokklis/2023-2024-Tech-journal GitHub Wiki
Monday, August 28th 2023
Complied Programming Languages
Interpreted Programming Languages
-
turns your system into a server
-
also known as a scripting language (browsers are interpreters)
Interpreted vs Compiled Programming Languages: What's the Difference?
Difference between a PC and a Server:
- Job a server is to serve up what its suppose to serve up
IDE - Integrated Development Environment
- allows your code to interact with the interpreter
- PyCharm is a IDE
Algorithm:
-
a finite set of executable instructions
-
Givens (a fact, if a given fails then everything stops)
-
Assumptions (you can drop an assumption and it won't break the program)
-
goal - end product (don't start until you know what it's going to look like)
Get Frank out of the class room!
- Face forward
- walk x distance
- stop
- Turn left 90 degrees
- Walk x distance
- stop
- Grab the door handle
- open the door
NO AMBIGUITY
Get it to work, and then make it efficient!
Thursday, August 31st 2023
Python
- a scripting language
- uses an interpreter to interpret our code and give us feedback
Creating a project
- we must set the project up properly or other students can get to your code
- We must create a unique folder where you save all of the python code
- network drive called the H: Drive
- The only way to get to the H drive is if you are on campus
- Create your project folder within the H-Drive
Algorithm
A finite ORDERED list of executable instructions that work to achieve a single goal
- have your stated goal
- understand your givens
- understand your assumptions
Assumptions help simplify the instructions you are executing
- as a programmer you are trying to get your program to work
- make it work first and then make it efficient
- Goal, given, and assumptions work to meet user needs