Designing Solutions Through Programming

Wednesday 14 October 2020 - Block 2
← previous note | most current note | next note →
 

Daily Note

 

  1. We will review how to ask for help correctly. Use this document to help you remember
     
  2. We will review our understanding about github
     
  3. I try to avoid changing files, but sometimes I notice little errors or make improvements:
     
    1. File 1:
      1. Please open visual studio code, and open the file store_navbar.php
      2. Please click this link: store_navbar.php
      3. Please copy (cmd-c) the code at the above link
      4. Please switch back to visual studio code
      5. Please select all the old code (cmd-a), and push the delete key
      6. Please paste (cmd-v) the new file and save the file (cmd-s)
         
    2. File 2:
      1. Please open visual studio code, and open the file store_setup.php
      2. Please click this link: store_setup.php
      3. Please copy (cmd-c) the code at the above link
      4. Please switch back to visual studio code
      5. Please select all the old code (cmd-a), and push the delete key
      6. Please paste (cmd-v) the new file and save the file (cmd-s)
      7. Please grab a marker from the bucket in front of the room and write your name on the whiteboard
      8. Please request store_setup.php in a web browser. IF you have any errors THEN please fix them.
         
    3. File 3: 
      1. Please open visual studio code, and open the file store_login_process.php
      2. Please click this link: store_login_process.php
      3. Please copy (cmd-c) the code at the above link
      4. Please switch back to visual studio code
      5. Please select all the old code (cmd-a), and push the delete key
      6. Please paste (cmd-v) the new file and save the file (cmd-s)

         
  4. We will review our threaded discussion board
    1. Please register for an account on https://discuss.computersciencewiki.org/
    2. Please post one question or comment
    3. Please reply to one question or comment
       
  5. Construct a system that allows anyone to add new items into your store. You will need to add two new pages.
    1. Please create a new page named store_insert_new_product.php in visual studio code
    2. Please copy the code from store_add_new_item.php into the new file and save
       
    3. Please create a new file named store_insert_new_product_process.php
    4. Please copy the code from store_add_new_item_process.php into the new file and save
       
    5. in store_navbar.php, please create a new menu item with a link to store_insert_new_product.php
       
  6. Homework is always posted on google classroom (and only google classroom)

 

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. 

Our Big idea

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.



Tags

 

Reminders & routines:

IF (today ==  testing_day_for_me) {
     remember to go get tested!;
}

IF (this_block == first_block_day) {
     read_daily_bulletin;
}

IF (today == Friday) {
     current_event_activity();
}

As I am taking attendance:

  1. For students who are physically at ASW: Please check now: am I connected to the American School of Warsaw wireless network
  2. Please check now: is visual studio code working from my programming folder?

To remember: 

  1. All the files you need for this course can be found at this link. Please pay attention to the time the file was last updated. 
  2. You can access a web-based view of your database by clicking this link.
  3. Please be aware of course videos to help you understand our content.