At the end of this lesson, you will be able to:
B2.5 design user-friendly software interfaces (e.g., prompts, messages, screens, forms).
C3.5 explain the difference between the functions of applications, programming languages, and operating systems.
write and run your first program in Python (actually Python3)!
With a pencil and paper, answer the following questions:
What is a GitHub repo?
What is Codespaces?
What does IDE stand for? Give 1 example of an IDE.
List 1 Linux command and describe what it does.
For ICS3U Only:
What does SSH stand for? What is it?
Give 1 example of each of the following:
a) high-level language
b) computer hardware
c) event
d) event handler
logging into GitHub
starting up your Codespace IDE
what is the Python programming language?
interpreted language (intepreter executes code line by line, one line at a time)
cross-platform language
free and open source
read about the Difference between a Compiler and an Interpreter
interpreter translates one line at a time. If an error is confronted, it stops. Python, Ruby and Javascript all use interpreters.
compiler scans the entire program and converts it into machine code. It will indicate the line(s) where errors occurred, if any. C, C#, C++ and Java all use compilers.
go over history of Hello, World! program
try the online Python interpreter Programiz to test and run your code!
watch "Create Hello, World! in Python3 using Codespaces":
when creating folders:
make sure you are in the correct location!
make sure they are named identical to the course website structure (i.e. Unit1/Unit1-01)
do NOT use any special characters or spaces (i.e. #, !, &, etc.)
creating, saving and naming Python files:
no spaces or special characters!
file extension is ".py"
separate words with "_" (i.e. hello_world.py)
always create and name the file first, so the IDE knows the language, so it can provide help!
use "good laziness" and let the computer help you with Code Completion
run your program:
ensure you have the python interpreter selected in Codespaces
the ▶ button
complete the Daily Assignment section in Hãpara Workspace for this day
if Hãpara is not working, make a copy of this document
move it to your IMH-ICS folder for this course
try the online compiler in C++ called Programiz to test and run your code
watch "Create "Hello, World" in C++ using Codespaces
code "Hello, World!" in C++
then code the Address Program in C++