Professor Kate Poirier, Spring 2017

Category: Uncategorized (Page 1 of 3)

Grades submitted

Your final grades have been submitted to the registrar. You can see the grade breakdown in Blackboard’s gradebook. Check the OpenLab grading page for the grading scheme. The item labelled “Spring Break Project” is the maximum of two grades, either your code-breaking assignment or your Quiz #7 (the one based on your independent study over spring break).

A number of you have final exam grades that are better than your in-class test grades. I’m glad you prepared so well! Please remember that you are all capable of earning the grades that you want, it just takes consistent hard work throughout the semester. Have a great summer and best of luck in the future!

Final exam seating plan

FRONT OF ROOM

Mahrukh Chris Ka Yat Juliano  Syed          Tariq Javed  Christian Francis Shannon

Lillian Kemoy Mario David Kazi         Yaqoob Joshua  Shah Kenny Jose

Jason Mohammad R.  Fuad Geovanny         Elbert Iscah Myrka Jiayu Mohammed G.

Final exam topics

The course outline contains a list of all textbook sections that can appear on the final exam. Your exam will not have questions from 11.3, 11.4, or 11.5, but all other sections are fair game.

Remember that Tuesday’s class is reserved as a review session. I am not preparing anything for this class. You should pretend that the final exam is on Tuesday. That way we can use the time to discuss only the topics that you all are still struggling with. Practice problems from the homework, quizzes, and tests.

I will hold my usual office hours on Tuesday: 11am-1pm in N707.

Your final exam will be given during usual class time on Thursday, May 25 (only one more week!).

This week in the Math Club

This week’s math club talk is about Turing Machines and should be of interest to those studying computer science or computer systems.

The club meets on Thursdays in N719 from 12:45 to 2pm (and provides you with free pizza!).

You can find the abstract for all the talks here: https://sites.google.com/site/mathclubcitytech/

 

Test #2 and midterm grades

I hope everyone is enjoying the break so far!

Test #2 and midterm grades are now available in Blackboard.

Your midterm grade is a rough calculation of how you are doing in the class so far. To calculate it, each of your two tests is worth one third and your quiz average and participation are each worth one sixth.

I’m enjoying breaking your codes so far. Don’t forget about your spring break assignments. See you on April 25!

Reminders/updates

  • Thanks to Chris for pointing out that student licenses for MATLAB are available from CityTech! Choose MathWorks here. Now you can download MATLAB to your own computer for your spring break assignment (instead of Scilab, the free alternative I mentioned in class).
  • Your Test #2 grades will be available on Blackboard as soon as they’re available (sometime during the break). You will also be assigned a rough mid-semester grade there. The last day to withdraw from the course is April 19, so you will have this grade information available before then so you can make an informed decision. If you’re unsure about whether you should stay in the course, I can’t make an official recommendation, but I’m happy to talk with you about it over email.
  • Don’t forget about your three spring break assignments.
  • HAVE A GREAT SPRING BREAK! SEE YOU ON APRIL 25!

In-class Exercise algorithm in JavaScript

I know two other students wrote an algorithm in Java and C++, but I had finished my code right after class the other day and forgot to post on here. Incase others wanted to see another way to solve it, I used JavaScript.

background(255, 255, 255);
var m = 30;
var i = 0;
var x = 7;
var a = 19;
var c = 8;
var num, div, num1, mod;

while( i <10){
var change = (i+1) * 25;
num = (a*x)+c;
div = floor(num/ m);
num1 = div*30;
fill(0, 0, 0);
text(x, 100,change);
x= num-num1;
i++;
}

In the above code, I declared/ initialized some variables. I used a While loop using "i" as a counter. I have the variables outside the loop as a static number and "change", "num", "div", "num1", "x" as a variable inside the loop that will continuously change each time the program loops.

I hope this helps if anyone was confused, or wanted to see another solution. Feel free to message/ reply to this post if you have questions.

I attached a screenshot I took. I wrote the code in Khan Academy since the website lets you write programs and run them.

Also, the variable “change” is just used to format where I want the text to print the number. You can see that in the text command where I text “x” and then place it at 100 on the X-axis and the “change” is the Y-axis. The X- axis is always at 100 and the “change” keeps changing on the Y-axis by 25 pixels each loop.

« Older posts