Monday 30 May 2016

Networking Map Blog Assignment

Networking is an important part of your career. Most people don't understand how big their network really is.  Take some time to sit and think about all the people you know who you could ask for help or a favour.  This will help you some day when you are looking for a job or volunteer experience.


Monday 9 May 2016

Functions Test

Unit 3 Functions Test




First off a lot of you are going to be tempted to cheat on this.  DON'T DO IT.  You are challenging me to make you suffer by doing so.  I am hunting for cheaters today.  Cheaters deserve huge, horrible punishments to learn not to do that again.  Do your best and get the mark you deserve. 

Create a program which does the following:

1.  It asks you what your name is by activating a function from #main   (2 marks)
2.  It says "Hi " + the name entered in part 1 (in #main). (1 mark)
3.  It activates a random number generating function to get a number from 1 to 10
.  (4 marks)
4.  It tells you what the random number was in #main.  (1 mark)
5.  It runs a function that will activate a for-loop.  The for-loop will print the person's name a number of times equal to the random number that was generated in step 3 above. (5 marks)
6.  It will ask you if you want to run the program again (in #main).  If the person says anything but "no", it repeats from the start.   (1 mark)
7. If the person says no, it activates a function to say "Bye" + the name of the person. It will return to main to saying "Exiting..." and the program will quit in #main.  (5 marks)
8. This program must have your name in comments at the top (1 mark)

20 Marks Total.

To be marked, you must name your program with the following format:
FIRSTNAME.LASTNAME-FunctionsTest.py

Failure to label your program properly can result in a penalty.

Your output should look like the following.



Including your name, you can do this program in 26 lines in 20 minutes. You have the entire class to email this to me.

Friday 6 May 2016

Friday, May 5th - Circuit Flow Practice

Circuit Flow Practice

Create a blog post and state what the path flow is for all of the examples below.  IF a wire is missing, state where the wire needs to go to complete the circuit.

See if you can trace the flow through all the circuits below:
Use the following codes:
LED Cathode = LED+
LED Anode = LED -

Example 1:
The path flows from:
Pin 13 - J9 - F9 - E9 - C9 LED+ - C10 LED- - E10 Resistor - F10 Resistor - J10 - GND

Example 2:


Example 3:

 Example 4:


Example 5:

Example 6:

Example 7:









Thursday 5 May 2016

Python Functions Assignment #2, 3 and 4!

Python Unit 3 - Assignment #2

Make a program that asks you for 4 courses and then gives you random grades for those courses.
It does not loop.
It uses at least ONE function.
This can be done in 15 lines


Python Unit 3 - Assignment #3
 
This can be done in 16 lines.


Python Unit 3 - Assignment #4


Modify Assignment 3 to do the following:
-> Add a running score and percentage calculator

This can be done in 21lines

Python Functions Assignment #1

 Create a program that asks you to move between 3 rooms.The rooms are all in a row as shown in the diagram below:
The program will ask the user to enter a number to choose to move to another room.
Your output should look exactly like the following:

Any time the user enters an option that is not valid, it will say "Invalid option" and ask the question again.

In your program, you must END any loops that are not used.  This means you cannot activate a function from a loop without ending it (otherwise that loop will go on forever and use up resources).

This can be done in 32 lines including a line to label #main.

Tuesday 3 May 2016

Python Test

This test is open book, you may use anything you've programmed, the internet, etc.
You may not COPY or talk to anyone.  Doing so results in a zero!

Python Unit 1 Test
Create a program that combines all the practice assignments that were assigned on this day:
Python Practice Assignments 2

The program will produce a menu where you enter a number corresponding to the program you want to run (1 to 4) or the user can enter 5 for a random program.  The program will loop to the starting menu once it is done.

Put your name at the top in comments
Name the program with the following format:
 FirstnameLastname-PythonTest.py

So if your name is Joe Smith it should be:  JoeSmith-PythonTest.py
Failure to do so will result in the loss of marks.

Email it to me before the end of the period.

Marks Breakdown: