Difference between revisions of "EGR 103/Concept List Fall 2019"

From PrattWiki
Jump to navigation Jump to search
Line 4: Line 4:
  
 
=== Lecture 1 - Introduction===
 
=== Lecture 1 - Introduction===
* Class web page: [http://classes.pratt.duke.edu/EGR103F18/ EGR 103L]; assignments, contact info, readings, etc - see slides on Errata/Notes page
+
* Class web page: [http://classes.pratt.duke.edu/EGR103S19/ EGR 103L]; assignments, contact info, readings, etc - see slides on Errata/Notes page
* Sakai page: [https://sakai.duke.edu/portal/site/egr103f18 Sakai 103L page]; grades, surveys and tests, some assignment submissions
+
* Sakai page: [https://sakai.duke.edu/portal/site/egr103s19 Sakai 103L page]; grades, surveys and tests, some assignment submissions
* Piazza page: [https://piazza.com/duke/fall2018/egr103/home Piazza 103L page]; message board for questions  
+
* Piazza page: [https://piazza.com/duke/spring2019/egr103/home Piazza 103L page]; message board for questions
 +
 
 
=== Lecture 2 - Programs and Programming===
 
=== Lecture 2 - Programs and Programming===
 
* To play with Python:
 
* To play with Python:

Revision as of 22:13, 11 January 2019

This page will be used to keep track of the commands and major concepts for each lab in EGR 103.

Lectures

Lecture 1 - Introduction

  • Class web page: EGR 103L; assignments, contact info, readings, etc - see slides on Errata/Notes page
  • Sakai page: Sakai 103L page; grades, surveys and tests, some assignment submissions
  • Piazza page: Piazza 103L page; message board for questions

Lecture 2 - Programs and Programming

  • To play with Python:
    • Install it on your machine or a public machine: Download
  • Quick tour of Python
    • Editing window, variable explorer, and console
    • Variable explorer is your friend
  • From Dewey - programming language typically have ability to work with input, output, math, conditional execution, and repetition
  • Hilton and Bracy Seven Steps
  • Class work developing algorithm for program to determine if a number is prime
  • Inputs in Python using input() command - always grab strings
  • Convert strings containing integer characters to integers using int()
  • Some commands are only available by importing from modules; import numpy as np will bring in all the functions of the numpy module. Access these commands by typing np.VALUE or np.FUNCTION (for example, np.pi or np.cos(2))