IB Year 1 Standard Level Computer Science
Wednesday 24 August 2022 - Block 1
← previous note | most current note | next note →Daily Note
- Welcome!
- We will take attendance
- I will look at your homework
- We will look at the two challenges from objective 1
- We will look at the two challenges from objective 1
- The best way to learn programming is to work an example. We are going to build a python program for a small business.
- We will start fairly small and build small parts as we learn more about python
- This system will:
- manage inventory
- support point-of-sale operations
- support employee management
- support payroll
- support ordering
- support customer accounting
- support reporting to help the business
- We will hack through quite a bit of design and thinking before writing our first line of code. For now though:
- Class discussion: what should our business sell (a product? a service? a combination of both?)
- For now, we will pretend I will be the business owner, who is paying you to develop this system.
- All of you will work for the same company who are developing software for my company.
- We will start fairly small and build small parts as we learn more about python
- We take a look at python cheatsheet, which is very helpful for you as you are learning
- We will learn about types in python (and the type() function)
- We will learn about the help() function in Python
- We will learn about the print(f,...) function
- If you are new to programming: Class and Homework will be all the challenges in objective 2
- If you are an experienced python programmer:
- Please grok dir() function
- Please grok len()
- Please remind yourself about indexing and slicing, which you can find in our book on page 79 (pdf page 105)
- Please remind yourself how to work with files
- Please take look at this 3000 line file of common words
- Please watch me play wordle
- By Friday, please help me win wordle with a python program program you wrote. This might take you the weekend, don't worry.
- You may not use any code you found on the internet
- You may not get help from any classmates
A little less comfortable
Content
Programs must solve the problem they were create to solve. We can worry about how effieciently or elegantly they solve the problem later on; not right now. The content of a program entails input, processing and output. All three of these elements must be clearly observable. A key question you will be asked (and you should ask yourself) is: to what extent does your code implement the features required by the specification?
Process
Within the process, we are looking at six guiding questions:
- To what extent is your code written well (i.e. clearly, efficiently, elegantly, and/or logically)?
- To what extent is your code eliminating repetition?
- To what extent is your code using functions appropriately?
- To what extent is your code readable?
- To what extent is your code commented?
- To what extent are your variables well named?
Product
As opposed to content, this section we focus on how well you solved the problem. A key question here is to what extent is your code free of bugs?
A little more comfortable
Content
Programs must solve the problem they were create to solve. You should ask yourself "Am I solving this elegantly?". The content of a program entails input, processing and output. All three of these elements must be clearly observable, and we must see evidence of sanitizing input and raising exceptions. A key question you will be asked (and you should ask yourself) is: to what extent does your code implement the features required by the specification?
Process
Within the process, we are looking at six guiding questions:
- To what extent is your code written well (i.e. clearly, efficiently, elegantly, and/or logically)?
- To what extent is your code eliminating repetition?
- To what extent is your code using functions appropriately?
- To what extent is your code readable?
- To what extent is your code commented?
- To what extent are your variables well named?
For those more comfortable programming, we expect succinct, secure and effecient problem solving.
Product
As opposed to content, this section we focus on how well you solved the problem. A key question here is to what extent is your code free of bugs? The real difference here is the complexity of the problem you have chosen to solve and how well you solved it.
Statement of Inquiry
The big idea for today is Programming.
The essential questions for this topic are:
How do we plan, write, execute, and test instructions a computer can understand and process?
It takes time to explore and really understand a big idea. If you want to
learn more about
programming (which is connected to today's daily note),
please click here
.
We are learning this because as a designers must understand scientific and technical innovation. Designers use systems, models, methods, and processes to solve problems.
Reminders & routines:
Please read and follow these reminders:
- IF today == testing_day_for_me:
remember to go get tested!
- IF today == Friday:
current_event_activity()
Our learning
This is a beta feature. Please let me know if you have any feedback.
Please click here to reflect on our learning for today's class.