Table of Contents

Class plans

Recurring procedures

After class: post next week's a self-assessment quiz on the Teams channel

When creating the SAQ in Forms…

In Teams…

Review the aggregate scores in Forms webapp

After class: post next week's assignment with attachment

In Teams…

flip

plan

self-prep

class: problem solving, creating, critiquing, and synthesizing; students are working together and solving problems

https://www.researchgate.net/profile/Barry_Ryan/publication/269584315_Flipping_Over_Student-Centred_Learning_and_Assessment/links/583d994408ae61f75dc468e9/Flipping-Over-Student-Centred-Learning-and-Assessment.pdf?origin=publication_detail

Week 01 E-mail

slides: il-01.pdf

presentation of IL

presentation of course web site

course requirement: initiative and autonomy

learning strategy

presentation of e-mail

exercise

-15 minutes: presentation of continuation exercise

-10 minutes: presentation of next week's class and ongoing model of learning

Week 02 Word

review of self-preparation exercise

review of self-assessment questionnaire

presentation of class notebook

presentation of text and word processing

self-preparation quiz

self-preparation exercise

GRADING

On the main page for Week 02 there is a list of 15 formatting tasks that the students are asked to perform. Check their submitted work. They earn 1 point for each of the tasks they have completed, up to a maximum of 10 points.

in-class exercise

challenge

https://www.kpl.org/sites/default/files/intro-word-practice.pdf

https://creativebooster.net/products/free-modern-elegant-photo-cv-resume-template-in-microsoft-word-doc-format

Week 03 PowerPoint

From this week onwards the grading system changes slightly:

https://www.inf.ed.ac.uk/teaching/courses/pi/2016_2017/phil/tufte-powerpoint.pdf

http://web.mit.edu/5.95/readings/doumont-responds-to-tufte.pdf

https://files.eric.ed.gov/fulltext/EJ1000695.pdf

Create a presentation about yourself or some favorite topic

Instructions: 03-in-class.pptx

Funny stuff

Don McMillan: Life After Death by PowerPoint

Week 04 Excel

Excel

https://contexturesblog.com/archives/2009/07/13/14-basic-skills-for-excel-users/

https://engineering.sjsu.edu/e10/labs/excel/

https://engineering.sjsu.edu/e10/wp-content/uploads/E10-Excel-Lab-Exercises-F18.doc

https://www.cours-gratuit.com/excel-courses/excel-pdf-training-for-engineers

https://www.cours-gratuit.com/excel-courses/excel-data-analysis-training-course

https://onemat.files.wordpress.com/2012/05/ebooksclub-org__excel_for_scientists_and_engineers__numerical_methods.pdf

video scripts

Self-preparation assignment [5 points]

  1. Create an Excel spreadsheet to track your scores in each of your classes.
  2. The spreadsheet should show your percentage score so far, and the predicted percentage score based on known results.
  3. Use conditional formatting to shade actual or predicted percentages less than 60 percent in red.
  4. One way to do this would be to make a column for each week of the semester.
  5. For each class use two rows.
  6. The first row contains the scores obtained each week, and the second row contains the maximum score possible each week.
  7. Calculate the actual percentage grade from the sum of scores already obtained (SUM function) divided by the sum of possible score for all 15 weeks (SUM function).
  8. Calculate the predicted percentage grade from the sum of scores already obtained (SUM function) divided by the sum of possible scores for those weeks that have a reported score (SUMIF function).
  9. Find out about the VLOOKUP function.
  10. Use it to convert the actual and predicted percentage scores into a letter grade.
  11. A sample of my spreadsheet is attached (showing how much I suck at maths).

04-self-preparation-sample

Self-preparation challenge
  1. Watch video 13 and reproduce the experiment

Self-assessment questionnaire

In-class assignment [10 points]

  1. Create a spreadsheet to track and predict your scores and grades. [5 points]
  2. Import a data set and use Excel to smooth the data and visualise it in different ways. [5 points]

Assignment attachments: 04-in-class.xlsx 04-METARs.csv

In-class challenge exercise [1 bonus point]
  1. Reproduce the LPF example from video 13, if you have not done so already.
  2. Implement the HPF example described at the end of video 13.
  3. An audio amplifier usually has a big capacitor at the output, to protect the loudspeaker from DC voltages that would destroy it.
  4. The loudspeaker is connected to ground.
  5. The output capacitor and loudspeaker therefore form a high-pass circuit (capacitor in series, loudspeaker in parallel, with the signal).
    • This is logical, if you think about it, because DC voltage has a frequency of 0 Hz and we want to completely attenuate it.
  6. A typical loudspeaker has an impedance (resistance) of 8 Ohms.
  7. A very good amplifier will try to reproduce low frequencies faithfully, which means having a very big capacitor on the output to balance the very low resistance of the loudspeaker.
  8. If we want the amplifier output power to be attenuated by only 3 decibels (an attenuation of approximately 0.709 from the capacitor-resistor high-pass filter combination), what value of output capacitor do we have to use with an 8 Ohm loudspeaker?

Week 05 Filesystems

Outcomes:

how big is a file?

what is a byte?

what can you keep in a byte?

note on SI units and orders of magnitude

prefix multiplier name
p 10-12 pico
n 10-9 nano
μ 10-6 micro
m 10-3 milli
1
k 103 kilo
M 106 mega
G 109 giga
T 1012 tera
P 1016 peta

Memory hierarchy = cpu / ram / hdd ssd / nas / backup

level size speed / latency / bandwidth cost
cpu a few kB fastest .333 ns 2 TB/s very expensive
cache a few MB very fast 10 ns 0.5 TB/s quite expensive
ram tens of GB fast 50 ns 25 GB/s expensive (10$/GB)
ssd a couple TB medium 1 ms 500 MB/s medium (100 GB/$)
hdd tens of TB slow 10 ms 125 MB/s cheap (300 GB/$)
nas a PB slow 10 ms 100 MB/s cheap (300 GB/$)

https://lh3.googleusercontent.com/D1tZNSvoc5MzwnXxmoq3_cqAU1GnNRN5J2Xh9z931OC29ffEY9r8sz5EpD_lZldnw9T9hgiym9phkeW2ao4I4mqU8vbrOD--2m2JVUHBvWtIimahHP4LAcDJMpa3Dphi_p1Jk0jo

Permanent storage of files ⇒ hdd ssd

software architecture

application
OS virtual file system
file system (NTFS, AFS, EXT4)
disk fixed size blocks
cylinders, heads, sectors

https://www.brainbell.com/tutors/A+/Hardware/_Geometry.htm

filesystem requirements

https://opensource.com/life/16/10/introduction-linux-filesystems

self-prep

install a POSIX environment with terminal (command line) interface

you must do this before class or you will not be able to complete the in-class assignment

Finder/Explorer vs. the command line: file system layout and navigation
Why using the command line will make you ten times more productive and a more effective engineer
+++ Everyone has to submit a text file for the next week's class.
    Content of the file has to be non-trivial but easy to generate.
    About a paragraph to a page is OK.
    Make it something interesting to read.

Week 06 Command line

“You do not rise to the level of your goals. You fall to the level of your systems.” – James Clear

http://web.cs.ucla.edu/~miryung/teaching/EE461L-Spring2012/labs/posix.html

https://wiki.lib.sun.ac.za/images/c/ca/TLCL-13.07.pdf

https://swcarpentry.github.io/shell-novice/

https://flaviocopes.com/bash/

https://flaviocopes.com/bash-scripting/

http://www.ee.surrey.ac.uk/Teaching/Unix/

Outcomes:

Commands and arguments versus words in text
Searching, sorting, modifying, analysing data stored in text files using command-line tools
Standard input and output, pipelines: combining simple commands to perform more complex tasks
using CSV and text files (e.g., from "office" tools) as simple databases
Editing plain text files
+++ Extract, analyse and generate a report on the contents of many files,
		 and e-mail the script and its results to your instructor
+++ Count characters, words, lins for many text files.
    Generate a CSV file containing the raw data.
    Import the data into a spreadsheet.
    Analyse the number of caracters per word, words per line, words per file, lines, per file, etc.
    (wc command piped into tr command to change spaces into commas)
+++ Using same data files calculate a histogram of word usage.
    Alphabetical list of unique words used with a count of how many times they are used.
    (sort command)

Week 07 Command line: command sequencing

Commands and arguments versus words in text
Searching, sorting, modifying, analysing data stored in text files using command-line tools
Standard input and output, pipelines: combining simple commands to perform more complex tasks
using CSV and text files (e.g., from "office" tools) as simple databases
Editing plain text files
+++ Extract, analyse and generate a report on the contents of many files,
		 and e-mail the script and its results to your instructor
+++ Count characters, words, lins for many text files.
    Generate a CSV file containing the raw data.
    Import the data into a spreadsheet.
    Analyse the number of caracters per word, words per line, words per file, lines, per file, etc.
    (wc command piped into tr command to change spaces into commas)
+++ Using same data files calculate a histogram of word usage.
    Alphabetical list of unique words used with a count of how many times they are used.
    (sort command)

Week 08 Command line: variables

Commands and arguments versus words in text
Searching, sorting, modifying, analysing data stored in text files using command-line tools
Standard input and output, pipelines: combining simple commands to perform more complex tasks
using CSV and text files (e.g., from "office" tools) as simple databases
Editing plain text files
+++ Extract, analyse and generate a report on the contents of many files,
		 and e-mail the script and its results to your instructor
+++ Count characters, words, lins for many text files.
    Generate a CSV file containing the raw data.
    Import the data into a spreadsheet.
    Analyse the number of caracters per word, words per line, words per file, lines, per file, etc.
    (wc command piped into tr command to change spaces into commas)
+++ Using same data files calculate a histogram of word usage.
    Alphabetical list of unique words used with a count of how many times they are used.
    (sort command)

Week 09 Command line: loops and conditionals

Commands and arguments versus words in text
Searching, sorting, modifying, analysing data stored in text files using command-line tools
Standard input and output, pipelines: combining simple commands to perform more complex tasks
using CSV and text files (e.g., from "office" tools) as simple databases
Editing plain text files
+++ Extract, analyse and generate a report on the contents of many files,
		 and e-mail the script and its results to your instructor
+++ Count characters, words, lins for many text files.
    Generate a CSV file containing the raw data.
    Import the data into a spreadsheet.
    Analyse the number of caracters per word, words per line, words per file, lines, per file, etc.
    (wc command piped into tr command to change spaces into commas)
+++ Using same data files calculate a histogram of word usage.
    Alphabetical list of unique words used with a count of how many times they are used.
    (sort command)

Week 10 The Internet

Commands and arguments versus words in text
Searching, sorting, modifying, analysing data stored in text files using command-line tools
Standard input and output, pipelines: combining simple commands to perform more complex tasks
using CSV and text files (e.g., from "office" tools) as simple databases
Editing plain text files
+++ Extract, analyse and generate a report on the contents of many files,
		 and e-mail the script and its results to your instructor
+++ Count characters, words, lins for many text files.
    Generate a CSV file containing the raw data.
    Import the data into a spreadsheet.
    Analyse the number of caracters per word, words per line, words per file, lines, per file, etc.
    (wc command piped into tr command to change spaces into commas)
+++ Using same data files calculate a histogram of word usage.
    Alphabetical list of unique words used with a count of how many times they are used.
    (sort command)

Week 11 Data mobility

Commands and arguments versus words in text
Searching, sorting, modifying, analysing data stored in text files using command-line tools
Standard input and output, pipelines: combining simple commands to perform more complex tasks
using CSV and text files (e.g., from "office" tools) as simple databases
Editing plain text files
+++ Extract, analyse and generate a report on the contents of many files,
		 and e-mail the script and its results to your instructor
+++ Count characters, words, lins for many text files.
    Generate a CSV file containing the raw data.
    Import the data into a spreadsheet.
    Analyse the number of caracters per word, words per line, words per file, lines, per file, etc.
    (wc command piped into tr command to change spaces into commas)
+++ Using same data files calculate a histogram of word usage.
    Alphabetical list of unique words used with a count of how many times they are used.
    (sort command)

Week 12 The WWW

Commands and arguments versus words in text
Searching, sorting, modifying, analysing data stored in text files using command-line tools
Standard input and output, pipelines: combining simple commands to perform more complex tasks
using CSV and text files (e.g., from "office" tools) as simple databases
Editing plain text files
+++ Extract, analyse and generate a report on the contents of many files,
		 and e-mail the script and its results to your instructor
+++ Count characters, words, lines for many text files.
    Generate a CSV file containing the raw data.
    Import the data into a spreadsheet.
    Analyse the number of caracters per word, words per line, words per file, lines, per file, etc.
    (wc command piped into tr command to change spaces into commas)
+++ Using same data files calculate a histogram of word usage.
    Alphabetical list of unique words used with a count of how many times they are used.
    (sort command)

Week 13 Content creation

self-prep assignment

Commands and arguments versus words in text
Searching, sorting, modifying, analysing data stored in text files using command-line tools
Standard input and output, pipelines: combining simple commands to perform more complex tasks
using CSV and text files (e.g., from "office" tools) as simple databases
Editing plain text files
+++ Extract, analyse and generate a report on the contents of many files,
		 and e-mail the script and its results to your instructor
+++ Count characters, words, lins for many text files.
    Generate a CSV file containing the raw data.
    Import the data into a spreadsheet.
    Analyse the number of caracters per word, words per line, words per file, lines, per file, etc.
    (wc command piped into tr command to change spaces into commas)
+++ Using same data files calculate a histogram of word usage.
    Alphabetical list of unique words used with a count of how many times they are used.
    (sort command)

Week 14 Web applications and cloud services

Commands and arguments versus words in text
Searching, sorting, modifying, analysing data stored in text files using command-line tools
Standard input and output, pipelines: combining simple commands to perform more complex tasks
using CSV and text files (e.g., from "office" tools) as simple databases
Editing plain text files
+++ Extract, analyse and generate a report on the contents of many files,
		 and e-mail the script and its results to your instructor
+++ Count characters, words, lins for many text files.
    Generate a CSV file containing the raw data.
    Import the data into a spreadsheet.
    Analyse the number of caracters per word, words per line, words per file, lines, per file, etc.
    (wc command piped into tr command to change spaces into commas)
+++ Using same data files calculate a histogram of word usage.
    Alphabetical list of unique words used with a count of how many times they are used.
    (sort command)

Week 15 Safety and security

Commands and arguments versus words in text
Searching, sorting, modifying, analysing data stored in text files using command-line tools
Standard input and output, pipelines: combining simple commands to perform more complex tasks
using CSV and text files (e.g., from "office" tools) as simple databases
Editing plain text files
+++ Extract, analyse and generate a report on the contents of many files,
		 and e-mail the script and its results to your instructor
+++ Count characters, words, lins for many text files.
    Generate a CSV file containing the raw data.
    Import the data into a spreadsheet.
    Analyse the number of caracters per word, words per line, words per file, lines, per file, etc.
    (wc command piped into tr command to change spaces into commas)
+++ Using same data files calculate a histogram of word usage.
    Alphabetical list of unique words used with a count of how many times they are used.
    (sort command)