Tuesday, February 28, 2017

Feb 28 2017 - What Are We Doing In Class Today?

Entrance Ticket - (15 min) Write Code, Save Lives - find out more... This started as a Google Summer of Code event with openMSR

https://opensource.googleblog.com/2011/12/students-write-code-and-save-lives-with.html
 and
http://openmrs.org/

Write a 50-100 words about openMSR
  1. What is openMSR?
  2. How to get involved in a project like this?  
  3. If you wanted to work on a openMSR project, how would you apply?
  4. How would Cyber Security be important to openMRS
  5. For 10 points Extra Credit - Can you find any other programs, where you can code to save lives and help people?

Class Agenda:

Raspberry PI Instructables class

Please sign up for the Instructables Raspberry PI class found:


https://www.instructables.com/class/Raspberry-Pi-Class/?utm_medium=search%2F

This is a 10 lesson class.  I want you to go through this class self paced.  You will have all week to complete it.  You will not actually be building all the hardware, but you will want to review all lessons to be able to answers the questions.  Turn your answers in to Jupiter.

Lesson 1
  1. Who is the creator or the Push_Reset?
  2. What is the end goal of this Instructables project?
  3. What is a Raspberry PI?
  4. What are the main "flavors" of the RPi family?
  5. Who Created the Raspberry PI?
  6. Why is it called a Raspberry PI?
  7. What Assumptions are made about you, the student?
Lesson 2
  1. What is a Pi Hat?
  2. What Pi Hat is recommended?
  3. What size monitor is required?
Lesson 3
  1. How many GPIO does a RPI have?
  2. List all the "input" & "output" ports
  3. Is a wireless mouse & Keyboard recommended? if so , why?
  4. What does NOOBS stand for?
  5. What is the recommended method to setup your keyboard preferences?
  6. If you want to change the Mouse and Keyboard settings, where do you do it?
  7. Who is the Japanese sci-fi illustrations artist mentioned
Lesson 4 (part 1)
  1. What does an OS do?
  2. What are the 2 ways to get around in the Raspberry PI software?
  3. _____________ are found on the Tool bar?
  4. Does the RPi have a on/of switch?
  5. Is it OK to just pull the power plug to turn off your RPI?
  6. what is the recommended way to turn off the RPi?  
  7. At the command prompt when you see $ what that mean?  What does it mean when you see # at the command prompt?
  8. What is "scrot"?
  9. What is "sudo" used for?
  10. What cool jewelry is Lara wearing?  would you get one?
Lesson 4 (part 2)
    Watch the TED talk (20 min).  What did you learn, that you did not know before?
    1. Who Created Linux?
    2. Why did he create Linux?
    3. How long has he been working on it?
    4. What school did his "friend" who introduced him to "open Sourced community" come from? 
    5. What was Linus Torvalds biggest worry about what would happen to his Linux project?
    6. When he was 21, and people started looking at his code, what did he think was an amazing revelation?
    7. Does Linus "love" other people?
    8. Did his Linux project just "take off" at some point?
    9. How was Linus involved in "GIT" and why did he work on it?  and did people "love it"?  
    10. What was the tool he used before "GIT"? Did he like it? - CVS... No, he hated it
    11. What did his Sister say about him? - His biggest exceptional quality was that "he would not let go"
    12. What did Linus say about other peoples feelings?
    13. What doe the work he used mean?
    14. What would happen if Linux had to design a pretty UI (User Interface)?.
    Lesson 5
    1.  What does "apt-get update" command do?
    2. If you tried to run it, do it work?  What did you need to change?
    3. How do you get an install install with out continuing to ask yes/no to continue?
    4. How do you remove an application?  What is the command?  
    5. Create a short text file.  turn it in with these answers. (hint, you should be able to save a file to you google drive, or even log in to Jupiter)
    6. While We will not be using a camera right now (because we don't have any), what is another shell script you can write?  Create a simple shell script.  It could be something simple, like get the current time, and print some thing every minute...
    7. How do you find other packaged that might exist? How do you search?
    8. What command do you use to see if a specific package exists?
    9. How do you find any dependencies that package might have?  What is that command?
    Lesson 6
    1.  What is this lesson about?
    2. How do you tell the RPi to play sound from the Audio Jack?
    3. Were you able to install mpg321?
    4. Where you able to play an mp3 file?
    5. Using pygame.mixer, can you play a sound file?
    6. Using pygame.movie can you play a movie?
    SonicPI
    1. Work through the SonicPI tutorial.
    2. Play a "song" with at least 4 notes
    3. Create and play a sign wave
    4. Create a new "song"
    Lesson 7
    1. Turn in a python3 script that you wrote as part of working through Lesson 7
    Lesson 8
    1.  We will do Lesson 8 as a class lab... so you can skip this or not... if you are ahead, you can work through this lab, or wait for when we do this as a class... you choose.
    Lesson 9
    1.  We will do Lesson 9 as a class lab... so you can skip this or not... if you are ahead, you can work through this lab, or wait for when we do this as a class... you choose.
    Lesson 10
    1. We may do something here... but tell me what type of booth you would build.







    Other Instructables:

    Monday, February 27, 2017

    Feb 27 2017 - What Are We Doing In Class Today?

    Entrance Ticket - (15 min) Hacker Shows How Easy It Is To Hack People While Walking Around in Public
    Write a 50-100 words about how to protect your devices in Public

    Class Agenda:

    • HUB?
    • Take a break for about 10 min, AND CLEAN UP THE ROOM SOME... ALL THE PAPERS AT YOUR DESK, TOOLS, WIRES, ETC...

    Wednesday, February 15, 2017

    Feb 16 2017 - What Are We Doing In Class Today?

    Entrance Ticket - Cyber Security Current Event  - 30 min   See the Rubric for full points.  I will be looking for bullets, relevant graphics, etc...

    Class Agenda:

    • (30 min) Entry Ticket - 30 min  Work on your Presentations
    • (20 Min) 2 Students should then volunteer to present no more than 10 each... you can have the class evaluate the presentation in a class discussion .  They can open their presentation on the PC on my desk and project it on the screen.  5-6 min each - 5 points Extra Credit for Volunteers
    • (30 min) WireShark -
      • Start Watching (on your own computer with Headphones)  https://www.youtube.com/watch?v=vUdOxcRJgME   
      •  Answer these Questions
        • What is this class designed to do? What is the Authors goals?
        • Is the class targeted at Beginners or Advanced Users?
        • For Whom is Wireshark a must have?
        • What is his IP address?
        • What type of IP address types do business vs personal users have (Static vs Dynamic?
        • is data over port 443 encrypted or not?
        • What does DNS servers do?
        • when he talks about the NMAP and the port Service State, what is the state of his port 631 and what does he say about that?
        • What does he say is a "burnt in Hardware Address"
      • You can skip the Install section
    • (30 min) Python- Programming for Everybody (Getting Started with Python) -Class Resources  
    Here is an example of my code:

    def stripEmail():
        fhand = open('mbox.txt')
        countEmail = 0
        for line in fhand:
            countEmail = countEmail + 1
            line = line.rstrip()
            if '@' in line :
                setOfSubStrings = (line.split(sep=' '))
             # print(setOfSubStrings)
             # print()
             for email in setOfSubStrings :
                 if '@' in email :
                     print(email)
        print(countEmail)

    You still need to figure out how to strip stuff like "<" and ">" and even some ":" and "~"

    wagnermr@iupui.edu
    cwen@iupui.edu
    postmaster@collab.sakaiproject.org
    200801032122.m03LMFo4005148@nakamura.uits.iupui.edu
    source@collab.sakaiproject.org
    source@collab.sakaiproject.org
    source@collab.sakaiproject.org
    apache@localhost)       <--- This one is also not an email.... so there is still some more work
    source@collab.sakaiproject.org
    cwen@iupui.edu
    source@collab.sakaiproject.org
    cwen@iupui.edu
    cwen@iupui.edu
    wagnermr@iupui.edu
    1909
    • Take a break for about 10 min, AND CLEAN UP THE ROOM SOME... ALL THE PAPERS AT YOUR DESK, TOOLS, WIRES, ETC...

    Tuesday, February 14, 2017

    Feb 14 2017 - What Are We Doing In Class Today?

    Entrance Ticket - Jupiter or Python Games / Code - 20 min


    Jupiter:  Turn in 2 jupiter assignments or Turning an update that is different from yesterday of what you did.  If you played a Game, submit screen shots, if you wrote code, submit a file.py file

    Grades are Due!!!!!!!!!!!!!!!!!!!!!!!! So Please turn in missing assignments.  I will only accept any late work until the end of class on Tuesday.

    Class Agenda:

    Wireshark Lab #6 - HTTP Authentication

    HTTP Authentication
    Finally, let’s try visiting a web site that is password-protected and examine the sequence of HTTP message exchanged for such a site. The URL http://www.steamclown.org//cyberSecuritySVCTE/wireshark/auth/wireshark_lab_006.htm is password protected. The username is “Zim” (without the quotes), and the password is “learn” (again, without the quotes). So let’s access this “secure”
    password-protected site. Do the following:
    • Make sure your browser’s cache is cleared, and close down your browser. Then, start up your browser
    • Start up the Wireshark packet sniffer
    • Enter the following URL into your browser http://www.steamclown.org//cyberSecuritySVCTE/wireshark/auth/wireshark_lab_006.htm 
    • Type the requested user name and password into the pop up box
    • Stop Wireshark packet capture, and enter “http” in the display-filter-specification window, so that only captured HTTP messages will be displayed later in the packet-listing window.

    Now let’s examine the Wireshark output. You might want to first read up on HTTP
    authentication by reviewing the easy-to-read material on “HTTP Access Authentication
    Framework” at http://frontier.userland.com/stories/storyReader$2159

    Answer the following questions:
    1. What is the server’s response (status code and phrase) in response to the initial HTTP GET message from your browser?
    2. When your browser’s sends the HTTP GET message for the second time, what new field is included in the HTTP GET message
    The username (Zim) and password (learn) that you entered are not encoded. this is because the web site does not have base64 encoding.  Now if you re-run  the steps, but use the following link: http://gaia.cs.umass.edu/wireshark-labs/protected_pages/HTTP-wireshark-file5.html with the username is “wireshark-students” (without the quotes), and the password is “network” (again, without the quotes).

    • Make sure your browser’s cache is cleared, and close down your browser. Then, start up your browser
    • Start up the Wireshark packet sniffer
    • Enter the following URL into your browser http://gaia.cs.umass.edu/wireshark-labs/protected_pages/HTTP-wireshark-file5.html
    • Type the requested user name and password into the pop up box
    • Stop Wireshark packet capture, and enter “http” in the display-filter-specification window, so that only captured HTTP messages will be displayed later in the packet-listing window.

    Now answer the following questions again:
    1. What is the server’s response (status code and phrase) in response to the initial HTTP GET message from your browser?
    2. When your browser’s sends the HTTP GET message for the second time, what new field is included in the HTTP GET message

    The username (wireshark-students) and password (network) that you entered are encoded in the string of characters (d2lyZXNoYXJrLXN0dWRlbnRzOm5ldHdvcms=) following the “Authorization:  Basic” header in the client’s HTTP GET message. While it  may appear that your username and password are encrypted, they are simply encoded in a format known as Base64 format. The username and password are not encrypted! To see this, go to http://www.motobit.com/util/base64-decoder-encoder.asp and enter the base64-encoded string d2lyZXNoYXJrLXN0dWRlbnRz and decode. Voila! You have translated from Base64 encoding to ASCII encoding, and thus should see your username! To view the password, enter the remainder of the string Om5ldHdvcms= and press decode. Since anyone can download a tool like Wireshark and sniff packets (not just their own) passing by their network adaptor, and anyone can translate from Base64 to ASCII (you just did it!), it should be clear to you that simple passwords on WWW sites are not secure unless additional measures are taken.

    Fear not! As we will see later there are ways to make WWW access more secure.
    However, we’ll clearly need something that goes beyond the basic HTTP authentication
    framework!

    Monday, February 13, 2017

    Wireshark Lab #5 - HTML Documents with Embedded Objects

    HTML Documents with Embedded Objects
    Now that we’ve seen how Wireshark displays the captured packet traffic for large HTML files, we can look at what happens when your browser downloads a file with embedded objects, i.e., a file that includes other objects (in the example below, image files) that are stored on another server(s).

    Start up your web browser, and make sure your browser’s cache is cleared, as discussed above.
    • Start up the Wireshark packet sniffer
    • Enter the following URL into your browser
    • Your browser should display a short HTML file with two images. These two images are referenced in the base HTML file. That is, the images themselves are not contained in the HTML; instead the URLs for the images are contained in the downloaded HTML file. Your browser will have to retrieve these images from the indicated web sites.
    • Stop Wireshark packet capture, and enter “http” in the display-filter-specification window, so that only captured HTTP messages will be displayed.
    Answer the following questions:
    1. How many HTTP GET request messages did your browser send? 
    2. To which Internet addresses were these GET requests sent?
    3. Can you tell whether your browser downloaded the two images serially, or whether they were downloaded from the two web sites in parallel? Explain.

    Feb 13 2017 - What Are We Doing In Class Today?

    Entrance Ticket - Python Games / Code - 20 min

    Jupiter: Turning an overview of what you did.  If you played a Game, submit screen shots, if you wrote code, submit a file.py file

    Grades are Due!!!!!!!!!!!!!!!!!!!!!!!! So Please turn in missing assignments.  I will only accept any late work until the end of class on Tuesday.

    Class Agenda:

    Friday, February 10, 2017

    Feb 10 2017 - What Are We Doing In Class Today?

    Entrance Ticket - LinkedIn Training - Time Management - 15 min

    Grades are Due!!!!!!!!!!!!!!!!!!!!!!!! So Please turn in missing assignments.  Friday I will be Grading every thing, and Wed Feb 15 I will be submitting your 6 week grade.


    Class Agenda:

    • LinkedIn Training - Time Management - 15 min
    • WireShark intro  - 
    •  Python- Programming for Everybody (Getting Started with Python) -Class Resources  
    • Future Crime - Reading - Stand up and get your books.. Turn to page 71  
    • Hub?
    • Hardware Makers day - 2:20 -3:20 Robots Club and other hardware Projects
    • Clean up....

    Thursday, February 9, 2017

    Wireshark Lab #4 - Retrieving Long Documents

    Retrieving Long Documents

    In our examples thus far, the documents retrieved have been simple and short HTML files. Let’s next see what happens when we download a long HTML file. Do the following:
    • Start up your web browser, and make sure your browser’s cache is cleared, as discussed above.
    • Start up the Wireshark packet sniffer
    • Enter the following URL into your browser
    • Your browser should display the rather lengthy "The Most Horrible X-Mas Ever."
    • Stop Wireshark packet capture, and enter “http” in the display-filter-specification window, so that only captured HTTP messages will be displayed.
    In the packet-listing window, you should see your HTTP GET message, followed by a multiple-packet TCP response to your HTTP GET request. This multiple-packet response deserves a bit of explanation. Remember that the HTTP response message consists of a status line, followed by header lines, followed by a blank line, followed by the entity body. In the case of our HTTP GET, the entity body in the response is the entire requested HTML file. In our case here, the HTML file is rather long, and at more than 4500 bytes, it is too large to fit in one TCP packet.

    The single HTTP response message is thus broken into several pieces by TCP, with each piece being contained within a separate TCP segment. In recent versions of Wireshark, Wireshark indicates each TCP segment as a separate packet, and the fact that the single HTTP response was fragmented across multiple TCP packets is indicated by the “TCP segment of a reassembled PDU” in the Info column of the Wireshark display.

    Earlier versions of Wireshark used the “Continuation” phrase to indicated that the entire content of an HTTP message was broken across multiple TCP segments.. We stress here that there is no  “Continuation” message in HTTP!

    Answer the following questions:
    1. How many HTTP GET request messages did your browser send? Which packet number in the trace contains the GET message for the Bill or Rights?
    2. Which packet number in the trace contains the status code and phrase associated with the response to the HTTP GET request?
    3. What is the status code and phrase in the response?
    4. How many data-containing TCP segments were needed to carry the single HTTP response and the text of the Bill of Rights? 
     Turn in to Jupiter as a PDF

    Wireshark Lab #3 - The HTTP CONDITIONAL GET/response interaction

    HTTP, Browser Caching, And Conditional Get
    Most web browsers perform object caching and thus perform a conditional GET when retrieving an HTTP object. Before performing the steps below, make sure your browser’s cache is empty. (To do this under Firefox, select Tools->Clear Recent History and check the Cache box, or for Internet Explorer, select Tools->Internet Options->Delete File; these actions will remove cached files from your browser’s cache.) Now do the following:

    • Start up your web browser, and make sure your browser’s cache is cleared, as discussed above
    • Start up the Wireshark packet sniffer
    • Enter the following URL into your browser
    • Your browser should display a very simple five-line HTML file.
    • Quickly enter the same URL into your browser again (or simply select the refresh button on your browser)
    • Stop Wireshark packet capture, and enter “http” in the display-filter-specification window, so that only captured HTTP messages will be displayed later in the packet-listing window
    Answer the following questions:
    1. Inspect the contents of the first HTTP GET request from your browser to the server. Do you see an “IF-MODIFIED-SINCE” line in the HTTP GET?
    2. Inspect the contents of the server response. Did the server explicitly return the contents of the file? How can you tell?
    3. Now inspect the contents of the second HTTP GET request from your browser to the server. Do you see an “IF-MODIFIED-SINCE:” line in the HTTP GET? If so, what information follows the “IF-MODIFIED-SINCE:” header?
    4. What is the HTTP status code and phrase returned from the server in response to this second HTTP GET? Did the server explicitly return the contents of the file? Explain.
     Turn in to Jupiter as a PDF

    Feb 9 2017 - What Are We Doing In Class Today?

    Entrance Ticket - What Did you Learn from the Career Fair?  Was it useful?  Why?  Why Not?  How Can SVCTE meet your Employment and Post graduation Education needs?

    Grades are Due!!!!!!!!!!!!!!!!!!!!!!!! So Please turn in missing assignments.  Friday I will be Grading every thing, and Wed Feb 15 I will be submitting your 6 week grade.

    Class Agenda:
    • Entry Ticket - 15  min
    • LinkedIn Training - Time Managment - 15 min
    • WireShark intro  - 
    •  Python- Programming for Everybody (Getting Started with Python) -Class Resources  
      • See py4inf-06-iterations.pdf  - chapter 5
    • Future Crime - Reading - Stand up and get your books.. Turn to page 71  
    • 2:20 -3:20 Robots Club and other hardware Projects
    • Clean up....

    Wednesday, February 8, 2017

    Wireshark Lab #2

    Intro to Basic HTTP
    Having gotten our feet wet with the Wireshark packet sniffer in the introductory lab, we’re now ready to use Wireshark to investigate protocols in operation. In this lab, we’ll explore several aspects of the HTTP protocol: the basic GET/response interaction, HTTP message formats, retrieving large HTML files, retrieving HTML files with embedded objects, and HTTP authentication and security.

    The Basic HTTP GET/response interaction
    Let’s begin our exploration of HTTP by downloading a very simple HTML file - one that is very short, and contains no embedded objects. Do the following:
    1. Start up your web browser.
    2. Start up the Wireshark packet sniffer, as described in the Introductory lab (but stop the capture)
    3. Enter “http” (just the letters, not the quotation marks) in the display-filter-specification window, so that only captured HTTP messages will be displayed later in the packet-listing window. (We’re only interested in the HTTP protocol here, and don’t want to see the clutter of all captured packets).
    4. Wait a bit more than one minute (we’ll see why shortly), and then begin Wireshark packet capture.
    5.  Enter the following URL in your browser
    6.  Your browser should display the very simple, HTML file.
    7. Stop Wireshark packet capture.
    Your Wireshark window should look similar to the window shown below

    The example above shows in the packet-listing window that two HTTP messages were captured: the GET message (from your browser to the steamclown.org web server) and the response message from the server to your browser. The packet-contents window shows details of the selected message (in this case the HTTP OK message, which is highlighted in the packet-listing window). Recall that since the HTTP message was carried inside a TCP segment, which was carried inside an IP datagram, which was carried within an Ethernet frame, Wireshark displays the Frame, Ethernet, IP, and TCP
    packet information as well.

    We want to minimize the amount of non-HTTP data displayed (we’re interested in HTTP here, and will be investigating these other protocols is later labs), so make sure the boxes at the far left of the Frame, Ethernet, IP and TCP information have a plus sign or a right-pointing triangle (which means there is hidden, un-displayed information), and the HTTP line has a minus sign or a down-pointing triangle (which means that all information about the HTTP message is displayed).

    By looking at the information in the HTTP GET and response messages, answer the following questions. When answering the following questions, you should print out the GET and response messages (see the introductory Wireshark lab for an explanation of how to do this) and indicate where in the message you’ve found the information that answers the following questions. When you hand in your assignment, annotate the output so that it’s clear where in the output you’re getting the information for your answer (e.g., for our classes, we ask that students markup or annotate electronic copies with text in a colored font.  Best to Screen capture the wireshark image and paste into a PPT, then save as PDF to turn in to the Jupiter grading system.  See the end of this lab for text capture instructions).

    Basic HTTP GET/response Quiz Questions

    1. Is your browser running HTTP version 1.0 or 1.1? What version of HTTP is the server running?
    2. What languages (if any) does your browser indicate that it can accept to the server?
    3. What is the IP address of your computer? Of the steamclown.org server?
    4. What is the status code returned from the server to your browser?
    5. When was the HTML file that you are retrieving last modified at the server?
    6. How many bytes of content are being returned to your browser?
    7. By inspecting the raw data in the packet content window, do you see any headers within the data that are not displayed in the packet-listing window? If so, name one.
    In your answer to question 5 above, you might have been surprised to find that the document you just retrieved was last modified within a minute before you downloaded the document. That’s because (for this particular file), the steamclown.org server is setting the file’s last-modified time to be the current time, and is doing so once per minute. Thus, if you wait a minute between accesses, the file will appear to have been recently modified, and hence your browser will download a “new” copy of the document



    How To Capture And Markup Your Assignment

    To capture the packet data and save it to a Google or Word doc and then turn it in as a PDF do the following:
    • in wireshark, capture the packets, and highlight the specific one you want to look at
    • in the Packet details frame "right" mouse click and select "expand all"


    • Then you will want to copy the packet data and paste it into a Google or Word doc

    • Paste this in a Doc and high lite the sections as you answer the Lab questions







    Tuesday, February 7, 2017

    Wireshark Lab #1


    • Start Wireshark
     
    •   Select your Ethernet or Wireless network connection (Double Click on it)


    •  Stop the auto capture of packet data...

    •  Get ready to restart the capture of data... but before you do, be ready to click on a web page link... not yet, just be ready, Do the following quickly... 
      • Start capture (and click capture with out saving)
      • click on this link to a web page
      • Stop the capture of packet data



    •  You should see an HTTP "get" packet like this... Scroll around to find it mixed in all the packets that were scanned.
      • GET /cyberSecuritySVCTE/wireshark/wireshark_lab_001.htm HTTP/1.1
    •  Is it kinda hard to find this specific HTTP "get" packet?
    • Let's try doing while using a filter
    • In the top left display filter field, type HTTP
    • The field will turn green, indicating that this is a valid Wireshark display filter



    •  Cool, now you see just the HTTP packets. and specifically you can see the HTTP "Get" packet where your browser requested the load of a web page.
    • You can click on the "Packet Details" section in the middle section of the display, and see an expanded view of the details of this packet

    Question time:
    1. What is the top URL of the web site this HTTP  "get" packet came from? 
      •  GET /cyberSecuritySVCTE/wireshark/wireshark_lab_001.htm HTTP/1.1
    2. How did you find it? 
      • Take a screen shot to turn in
    3. What is the destination IP address?  Is it for the requested page or somewhere else?
      • Take a screen shot to turn in

    How To Capture And Markup Your Assignment

    To capture the packet data and save it to a Google or Word doc and then turn it in as a PDF do the following:
    • in wireshark, capture the packets, and highlight the specific one you want to look at
    • in the Packet details frame "right" mouse click and select "expand all"
    • Then you will want to copy the packet data and paste it into a Google or Word doc
    • Paste this in a Doc and highlite the sections as you answer the Lab questions



    Feb 7 2017 - What Are We Doing In Class Today?

    Entrance Ticket College and Career Exploration Fair - Who are you going to go see?  Are you looking for a job now or later in the summer?  Are you planning to go to Junior or 4year collage... Is there some classes you would like to take?

    Turn in an overview of 2 companies that you might be interested in working for:
    1) What should you know about them, before you talk to them?
    2) What should you be prepared to give them? Resume? What else?  What will they want to know about you?


    EMPLOYERS
    Alliance Credit Union (14)
    ATR International (2)
    *Code Hobbits (Engineering) (3)
    *Crown Lift Trucks (4)
    Dolce Hayes Mansion (8)
    *Home Depot (26)

    Meriwest Credit Union (7)
    One Republic Fitness (5)
    *Randstad (9)
    Safeway (10)

    SCC Federal Credit Union (11)
    *Villara Building Systems (12)
    Wendy's (1)
    *Work2Future Foundation (13)


     blue are hiring now


    *MUST BE 18 YEARS OLD TO BE HIRED

    COLLEGES
    Academy of Art University (15)
    Carrington College (18)
    De Anza College (16)
    Evergreen Valley College (24)
    FIDM Fashion Institute of Design Merch.(19)
    Foothill College (17)
    Johnson & Wales University (27)
    Metas Program at SJCC (22)
    Mission College (21)
    San Jose City College (23)
    Universal Technical Institute (6)
    West Valley College (20)
    SVCTE (25)


    Grades are Due!!!!!!!!!!!!!!!!!!!!!!!! So Please turn in missing assignments.  Friday I will be Grading every thing, and Wed Feb 15 I will be submitting your 6 week grade.


    Class Agenda:

    Monday, February 6, 2017

    python code for pay

    Original 

    def main():
       hours = float(input("enter hours: "))
       rate = float(input("enter rate: "))
       if hours <= 40:
          pay - hours * rate;
       else:
          pay = 40 * rate + (hours - 40) * (rate * 1.5);
       print(pay)

       
    main()

    With Function

     def pay(hours, rate):
       if hours <= 40:
          return hours * rate;
       else:
          return 40 * rate + (hours - 40) * (rate * 1.5);
         
    def main():
       hours = float(input("enter hours: "))
       rate = float(input("enter rate: "))

       print(pay(hours, rate))

       
    main()

    Feb 6 2017 - What Are We Doing In Class Today?

    Entrance Ticket Tune your Linked in Profile - Add school or work experience

    Grades are Due!!!!!!!!!!!!!!!!!!!!!!!! So Please turn in missing assignments.  Friday I will be Grading every thing, and Wed Feb 15 I will be submitting your 6 week grade.


    Class Agenda:
    • Clean up....

    Friday, February 3, 2017

    Feb 3 2017 - What Are We Doing In Class Today?

    Entrance Ticket Jupiter..

    Grades are Due next week..!!!!!!!!!!!!!!!!!!!!!!!! So Please turn in missing assignments.  Friday I will be sending "Grade Warnings" to any one with a C- of less.

    Class Agenda:
    • Entry Ticket - 15  min
    • Python- Programming for Everybody (Getting Started with Python) -Class Resources
    • Maker Friday - Pick some hardware to play with. Arduino, RasberryPI, Robots... Hack something...
    • 1:20 - 2:20 - Guest Speaker - Kim Burnham - How to maximize your Linked profile
    • More Maker Friday Projects
    • Future Crime - Reading - Stand up and get your books.. Turn to page ?? 
    • Clean up....

    Thursday, February 2, 2017

    Python Loops: String Values

    Using an editor, like Notepad++ or VIM open a file called:
     
    loop1.py
     
    In the editor enter the code shown below. Do NOT omit the indentation--in Python, indentation is required to indicate what code is inside a loop:



    Save the file and run in a Cygwin terminal.


    python3 loop1.py
    
    As you can see below, the code loops through all the listed computer brands
    .



    Python Loops: Numerical Values

    Using an editor, like Notepad++ or VIM open a file called:

    loop2.py
    
    In the editor enter the code shown below. Do NOT omit the indentation--in Python, indentation is required to indicate what code is inside a loop:

    Save the file and Execute this command to run the script:

    python3 loop2.py
    
    As you can see, the code loops through all the numbers and evaluated the summing equation all 10 in the range from 0 to 9

    :

    Using an editor, like Notepad++ or VIM open a file called:

    loop3.py
    
    In the editor enter the code shown below. Do NOT omit the indentation--in Python, indentation is required to indicate what code is inside a loop:



    Save the file and Execute this command to run the script:

    python3 loop3.py
    
    As you can see, the code loops through all the numbers and evaluated the summing equation all 6 number [1,10,20,30,40,50]:


    Feb 2 2017 - What Are We Doing In Class Today?

    Entrance Ticket Take a Look at this contest - Hackaday's 2017 Sci-Fi Contest -- Build something Awesome...

    Grades are Due next week..!!!!!!!!!!!!!!!!!!!!!!!! So Please turn in missing assignments.  Friday I will be sending "Grade Warnings" to any one with a C- of less.
    Class Agenda:
    • Clean up....