Skip to content

Latest commit

 

History

History
64 lines (43 loc) · 1.64 KB

File metadata and controls

64 lines (43 loc) · 1.64 KB

Session 03

Useful supplementary learning: https://cs50.harvard.edu/python/2022/ ``

This session contains examples and problems for the practice of ...

Cases

Type of Case Example When Used
Camel totalCost any variable C, C#, JavaScript
Pascal AnimalFarm used with classes
Snake total_cost Python, variables and functions, filenames
Kebab price-calculator.cs filenames in most languages
Shouty/Angry PI USERNAME Constants
Angry Snake DATABASE_USER Ini files, environment variables, constants

Extra Resources

How to quickly create your folders in the BASH terminal:

All Standard TAFE PCs

cd /c/Users/STUDENT_ID/
mkdir -p Source/Repos
cd Source/Repos
mkdir -p ICTPRG302/{Assessments,Sessions}

All TDM (Room 3-06) PCs

cd /c/Users/YOUR_USERNAME/
mkdir -p Source/Repos
cd Source/Repos
mkdir -p ICTPRG302/{Assessments,Sessions}

Practice

All practice exercises are not assessed, but are there to enhance your learning.

Remember that it is better to try and work out the solution, and not succeed than it is to simply use Google, Bing, or AI to find a solution and copy the code.

Refer to the following ScreenCraft HelpDesk article to learn how to enable PyCharm to add the standard header code automatically to each Python file it creates.

Problem 1

Filename: ...