Purdue Cs 159 Homework Helper

Course Objectives:

CS 159 introduces the tools of software development that have become essential for creative problem solving in Engineering. Educators and employers agree that it is important for future Engineering professionals to be able to function as part of a technical team and CS 159 will require students to work in assigned teams for lab assignments. Educational research informs us that structured collaboration leads to increased learning gains for students participating in an introductory programming course.

  • Collaboration is a requirement of the course. You will be assigned to your teams by your lab instructor.

CS 159 explores programming concepts in computing environments that are new to most students and will require implementation of solutions in more than one programming language. Our goals are for you to recognize how programming concepts are common to a variety of programming languages and how those concepts can be used to solve a problem.

Pre-requisites/Preparation

:

The University asks students to place 2-3 hours outside of class per week in preparation for each credit hour of a course. The key to success in this course requires preparation and taking initiative on assignments and review of course materials. The most successful students in previous offerings of CS 159 report habits such as reading the text, attending every lecture, and daily code writing that goes beyond the minimum of completing assignments.

  • CS 159 does have a co-requisite of ENGR 132.
    • Authorized equivalent courses or consent of instructor may be used in satisfying the course co-requisite.
  • What does the co-requisite imply? ENGR 132 as a co-requisite would imply that you are (1) enrolled in a course that will expose you to the fundamentals of MATLAB or (2) have had some previous programming experience in a language such as C, C++, or JAVA. Most students in CS 159 will be enrolled ENGR 132 and will be introduced to writing programs in MATLAB using structured programming constructs.

Distance Learning (DIS)

:

For the Fall 2012 session CS 159 will meet for one 50-minute lecture a week and one two-hour weekly lab meeting. This redesign of the course is part of Purdue's IMPACT program that looks to modify how courses are offered to maximize the student learning through the use of innovative applications of educational technology, smaller class sizes, and interactive sessions.

  • What will replace the extra hour of lecture time? Students are expected to use this time reviewing demonstrations that will be placed on-line to introduce the programming topics of the course prior to the weekly lecture and lab meetings.

Supplemental Instruction

: There are Supplemental Instruction (SI) student sessions available for this course. These student groups are open to anyone enrolled in this course who would like to stay current with the course material and understand it better. Attendance at these sessions is voluntary, but for the most benefit you should attend regularly. Time and locations for the study sessions can be found here: http://www.purdue.edu/si. Students who attend these interactive sessions will find themselves working with peers as they compare notes, demonstrate and discuss relevant problems and important concepts, and share study and test-taking strategies.
  • Students are asked to arrive with their student ID card, lecture notes, and questions to these sessions.
  • SI leaders are undergraduate students who have previously been very successful in the course and model their success to current students.
  • All sessions meetings cover new material! No two sessions will repeat the same content.

Course Staff:

Instructor: William Crum

Office Location: HAAS G-26

Instructor Office Hours (HAAS G-26):

Monday: 1:00 - 2:30pm
Tuesday: 10:00 - 11:30am
Thursday: 10:00 - 11:30am

Additional TA Office Hours (HAAS G-25):

Monday: 11:30am - 1:00pm
Friday: 12:00pm - 2:00pm


TA Evening Hours:
Sunday through Thursday 7:00pm - 9:00pm   Location: SC 189
 

  • Please visit during office hours for any administrative concerns regarding the course.
  • Note that the phone number and e-mail address of the instructor are not listed above. If you have a concern that is of importance to you it is expected that you make the effort to visit office hours.

Important Dates:

Midterm Exam #1Midterm Exam #2Final ExamAcademic Calendar

Date:

September 26, 2012
Time: 6:30 - 7:30pm

Location:

STEW 183

Date:

November 8, 2012
Time: 8:00 - 9:30pm

Location:

STEW 183

Date: December 15, 2012
Time: 1:00 - 3:00pm

Location:

Lambert Fieldhouse

Last Day to Drop:

October 24, 2012
  • Please make your travel arrangements accordingly. The final exam may be on Saturday December 15th from 3:20 � 5:20pm. Requests for alternative exam offerings will not be considered for reasons not outlined by the regulations of the university.

Blackboard:

All relevant class information, updates, and announcements will be available on the CS 159 Blackboard Learn site. This incudes a course Twitter feed which will be used regularly to send reminders, notices, and hints related to the course. Regular announcements and reminders will be posted on the "message of the day" which is visible when you log into your UNIX account. It is expected that you check both frequently for updates.

In the event of a major campus emergency, course requirements, deadlines, and grading percentages are subject to changes that may be necessitated by a revised semester calendar or other circumstances.

  • In case of campus emergency, check Blackboard, do not email or call course staff.
  • The instructor reserves the right to revise the syllabus with notice.

Course Required Materials:

  • Computer Science, A Structured Programming Approach Using C, Forouzan and Gilberg, THIRD EDITION, ISBN: 0-534-49132-4
  • Programming Applications for Engineers Course Packet (Fall 2012 edition)
  • iClicker response pad

Assignments:

Lab Assignments (12 total, 5 points each):

Lab assignments are to be completed collaboratively in your assigned lab groups and each of these lab programming assignments will be due 30 minutes prior to your next lab meeting.

  • Collaborative groups are expected to communicate who will submit the assignment, when the assignment will be submitted, and how successful submission will be confirmed with all participating group members.

Lab Quizzes (12 total, 5 points each):

At the end of every lab there will be an individual assessment of your knowledge related to the topics introduced in lecture and implemented in the most recent assignments. Knowledge of course standards and good programming practices will be evaluated throughout the semester.

  • The best way to prepare for lab quizzes is to actively participate with your team during the lab session including co-operating on both the written problems and the development of the programming problem solution.

Homework Assignments(7 total, 5 points each):

 
The homework assignments are individual efforts designed to give you the opportunity to solve problems on your own without the assistance of other students.

All assignments will be posted on Blackboard 10-14 days before they are due.

Please review the course policies as they relate to academic integrity found later in this document.

Homework Assignment

Due at 11pm on

1

September 3

2

September 17

3

October 1

4

October 22

5

November 5

6

November 19

7

December 3

Lecture Quiz

(50 total points possible): 

Dates of in-lecture quizzes will not be made known in advance, you should assume a quiz will take place at each and every lecture meeting. Quizzes may take place at the start of lecture, in the middle, and/or at the end of lecture.

iClicker response pads are required to participate in lecture quizzes. You should bring your response pad to every lecture. Your iClicker must be registered by visiting the course Blackboard Learn site. Visit the ITaP Customer Service Center in the HSSE library (main floor) if you cannot read your serial number. Should your pad fail, or if you forget your pad, you may submit a written quiz using the form found in the back of your notes packet. You may only utilize this method once during the semester. Only the form provided in the course notes packet will be accepted.

  • Please review the academic integrity policies regarding the misrepresentation of identity as it relates to taking a lecture quiz for another student.

Exams

(two midterms 100 points each, one final exam 150 points):

Exams will be individual assessments of your knowledge. Exams will consist of multiple-choice problems covering concepts and the interpretation of code. Note from the point distribution of the course that being successful on exams is very important.

Lecture Policies:

You are expected to arrive to lecture on time and to remain on-task. Disruptive students will be excused from lecture and asked to meet with course staff before returning to class. Please silence your cell phone during lecture. Lecture seats will be assigned by section and group. Check Blackboard Learn for your seat assignment.

Lab Policies:

CS 159 labs will meet weekly (see lab schedule). You are expected to attend and to participate in every lab this semester. All lab assignments (as described previously) will be completed in collaborative teams assigned by your lab instructor. Lab assignments will be due 30 minutes before the start of your next lab and may require that your team meet outside of lab to complete the assignment.

  • Groups are expected to communicate regarding the completion and submission of each lab programming assignment. Only one effort submitted by the group will be considered for grading. This is left to the descretion of the lab instruction as to which submission will be considered the official submission.

Because of our use of teaming, no points will be given to a student who is absent from, or late arriving to, a lab. If you are going to have a regular conflict with your lab time, please change sections.

  • Any student missing more than two labs (unexcused) will receive a failing grade for the course. We feel that you must be present in lab as you are expected to function as part of a team. Secondly, you are receiving one credit (of the three for the course) based on the laboratory component of the course.

Grading:

AssignmentPoints
Homework

35

Lab Tasks

60

Midterms

200

Final

150

Lecture Quizzes

50

Lab Quizzes

60

Total:

555

Grades:

GradePoints Required

A

470

B

415

C

360

D

305

  • An equivalent number of points to earn a C are needed to receive a Pass if taking the course Pass/No Pass. It is recommended that graduate students in the course elect this option (see your advisor).
  • The instructor reserves the right to lower the minimum score required for each letter grade. If such a move is made it will not be announced until after the final exam.
  • At no time during the semester will it be speculated if this will be done or how much any given cutoff will be lowered.
  • You should have no expectation that all cutoffs if moved will be moved by an equal amount.
  • If you want to guarantee yourself a letter grade then earn more points than required as listed above.


Our expectation of your lab instructor is that he/she grades your assignment in a timely manner and provides you with adequate feedback. If you feel this is not the case please address your concern to your lab instructor and the lecturer of the course. Typically, your lab instructor should be returning assignments 4-6 days after a given assignment is due.
 

Re-grade Request Policy:

To request a re-grade on any assignment you must make your request in writing to the instructor during office hours. You have five days to appeal any grade from the day the assignment is returned to you. After that period the grades are frozen and no appeal will be considered.

A re-grade request must include the following:

  • The original graded assignment that was returned to you (if applicable).
  • The reason you believe a re-grade is warranted.
  • Note: A re-grade is not a second chance to complete an assignment. It is not a means to challenge posted policies, such as the acceptance of late work.

Absences:

Only documented serious hardships will be considered for any make-up work.

If you have documentation of what you consider to be a serious hardship then you should contact the instructor in a timely manner during office hours when you are able to resume participating in class. Any student who knows in advance of an absence must make a request for consideration one week prior to the planned absence.

  • University policies on absence and absence reporting are available from the Office of the Dean of Students: http://www.purdue.edu/odos/services/classabsence.php
  • Do not expect assignment deadlines to be altered for reason of personal travel or vacation.
  • Make-up requests for reasons of illness MUST be accompanied by a physician�s note stating the dates you were under their professional care and the date you were cleared to return to school/work.

Important Assignment Guidelines:

All assignments must abide by the programming and documentation standards of the course.In ALL cases no credit will be given for programs that do not compile (that is, execution is suppressed due to compilation errors) or are un-testable (MATLAB). Programs that execute meet minimum assignment requirements but are not correct or complete will be considered for partial credit.

To receive full credit, your program must produce correct results, be well-designed, be efficient, follow assignment requirements, and adhere to course programming and documentation standards.


An assignment that is not submitted as expected cannot be considered for a grade. Only work submitted correctly prior to the assignment deadline can be considered for grading. Late work is not accepted.

 

Resources and course staff may become heavily loaded as an assignment deadline nears. Waiting until the last minute to work on your project is discouraged! Course policy is NOT to extend deadlines unless campus resources (not your local ISP) are widespread and unavailable for an extended period near the deadline for an assignment.

You are responsible for knowing how to use the technology utilized by the course, this includes but is not limited to UNIX and related course tools such as the assignment submission script.


Plan to submit work early! Allow sufficient time to seek assistance should you experience any difficulties with assignments or submitting an assignment.
 

Academic Integrity:

CS 159 applies very detailed set of criteria that is enforced rigourously regarding academic integrity. The consequences for violating course policies are serious.

You are encouraged to discuss any CS 159 topic including ideas about how to complete assignments. But, under no circumstances will exchange of code via written or electronic means be permitted between teams for collaborative assignments or individuals for individual assignments.

It is considered dishonest either to read another team's solution or to provide anyone with access to your work (or that of another student). Be very careful when working with others on individual assignments as this is generally discouraged. The work you submit must be your own original effort.


When is it no longer acceptable to discuss an assignment with another s tudent or someone not from my group?

  • Discussions with peers are most appropriate during the early phases of solution development. Once you begin to implement your solution or have constructed detailed flowcharts or structure charts you should be referencing course staff members exclusively for assistance.
  • Working closely with another student on a homework assignment, or students, may result in highly similar work due to collaboration. Collaboration may not have been the intended approach to solving the problem but the end result of working closely with others for extended periods of time.

Every student is responsible for protecting his/her own work. Do not make the assumption that roommates, neighbors, significant others, or other trusted individuals would not take advantage of knowing your password, having access to your computer (use a password protected screen saver, logout when done), or finding a stray copy of your work left on a printer or your desk. You are responsible for such events that leave your work unprotected.

Do not make the mistake of thinking that superficial changes in a program (such as altering comments, changing variable names, or interchanging statements) will avoid detection. If you are unable to complete the work yourself, it is extremely unlikely that you will succeed in disguising someone else's work as your own. We are adamant that violations in any form will not be tolerated. Even the most trivial assignment is better not done than if you violate course integrity policies to complete it.


As easy as it is to share an electronic copy of a file, to gain access to a file through account sharing, or sharing a hard copy of your work, it is as just as easy to analyze and detect such sharing as it results in similar efforts being submitted.
 

Assume that every submission you make during the semester will be analyzed by a software similarity service. This service will return the percentage of similarity between your solution and those submitted by others in the course. Additionally, the service indicates the number of lines matched among submissions. You will be solving problems this semester that have no unique solution and your solution is expected to be uniquely yours. Concerns regarding any of our policies should be addressed during office hours.


The software service utilized is not for profit. The service does not retain your file. The course will retain your files for the purpose of record keeping for the current semester and may retain your files for similarity comparisons in future semesters.
 

Minimum consequences for violating course policies will include:

  • First offense, a zero for the assignment, a reduction of one letter grade at the end of the semester, AND a referral to the Office of the Dean of Students for disciplinary action.
  • Second offense, a zero for the assignment, a failing grade for the course, AND a referral to the Office of the Dean of Students for disciplinary action.
    • Penalties for being found in violation from the Office of the Dean of Students will typically range from disciplinary probation, to probated suspension, to dismissal from the University.

Exceptions to the minimum consequences:

  • Any violation on an exam will result in a failing grade for the course and a Dean of Students referral.
  • Acts such as a misrepresentation of identity (or location) will result in a failing grade for the course and a Dean of Students referral. (This includes quizzes.)

Collaborative Learning/Teaming/Participating as a Member of a Technical Team:

Here are our expectations of you and your group:

  1. Make time to meet with your group regularly. There are 168 hours in a week, finding some common time for two or three people to meet should not be difficult. It is acceptable for just part of the group to meet some of the time if everyone cannot attend every meeting. It is the responsibility of each individual to plan their contribution to the group effort accordingly.
    • A group may exclude the name of a member from the lab assignment header as a means of indicating a lack of satisfactory contribution to the group assignment.
  2. Allow everyone an opportunity to express their ideas on how to approach an assignment. One benefit of collaborative teaming is that everyone brings a different idea to the group and the resulting effort should be a stronger one than if it was completed individually.
    • When a group member becomes unresponsive to requests to meet or to update the other members of the group then those contributing members must continue without unresponsive member.
  3. All group members must be satisfied with the final submission. It is not acceptable for a group to submit an assignment that is not approved by all group members. "It is good enough" may be true for you but it is unfair for the others in the group who aspire for the strongest grade possible.
    • Likewise, each group member must be satisfied with your contribution to the group effort.
  4. Each group member must fully understand the entire assignment submitted. Do not start your group meetings by trying to delegate the tasks to the different group members. Everyone must understand and contribute to every aspect of the assignment and its development.
    • Assignments are an opportunity for you to demonstrate your knowledge of the programming concepts being utilized. Additionally, an assignment can be used to serve as a measure of what you don't know.
  5. Designate who will turn in the assignment, when it will be turned in, and how successful submission will be communicated with the rest of the group. Only one person from the group will submit the assignment. Set a goal to submit the assignment well in advance of the due date to avoid any last minute problems related to group communication.
    • All groups are encourage to exchange that work which was developed in lab before leaving. This can be accomplished by making a submission with the Purdue e-mail address of each group member in the assignment header. Should a group member be unresponsive outside of class the remaining group members can proceed without starting over.
  6. You will work with the group assigned. There is no other option in this course. Please see us with concerns you may have with your group. Take a professional approach with your group experience as similar to what you may experience at an internship or co-op experience.
    • Groups will be re-assigned after every four labs.
    • Future group assignments may take into consideration lecture attendance and assignment submission as an indicator of your interest in participating in the course. Active students in the course should not be burdened with partners who are not willing to stay current with course content.

Schedules:

 

CS 159 Lab Schedule

All assignments due 30 minutes before the next lab begins.
 

Week ofLab Assignment
August 20Account Set-Up Exercises
August 27Lab #1
September 3Lab #2
September 10Lab #3
September 17Lab #4
September 24Lab #5
October 1Lab #6
October 8October Break - No Lab
October 15Lab #7
October 22Lab #8
October 29Lab #9
November 5Lab #10
November 12Lab #11
November 19Thanksgiving Break - No Lab
November 26Lab #12
December 3OPEN
December 10Finals Week - No Lab
  • Labs will NOT meet during "open" weeks unless warranted by an extenuating circumstance.
 

CS 159 Topic Schedule
All reading is a reference to the Gilberg/Forouzan text

Last Revised - August 16, 2012
 

Week ofTuesday SectionsThursday Sections
August 20Introduction - UNIX and course tools
August 27Chapter 2
September 3Chapter 3
September 10Chapter 4
September 17Chapter 4
September 24Chapter 5
October 1Chapter 5
October 8October BreakChapter 6
October 15Chapter 6Chapter 6
October 22Chapter 6 MATLAB File I/O
October 29MATLAB File I/O Chapter 8
November 5Chapter 8Chapter 8
November 12Chapter 8Chapter 8
November 19Chapter 8Thanksgiving Break
November 26Chapter 11
December 3Chapter 9 & 10
December 10Final Exam Week

Course Syllabus Subject to Change with Notice

CS 159 – HW #01 5 Points Possible Due: January 24, 2011 at 11:00pm. Background (From: http://en.wikipedia.org/wiki/Pythagorean_triple ): A Pythagorean triple consists of three positive integers a , b , and c , such that a 2 + b 2 = c 2 . Such a triple is commonly written ( a , b , c ), and a well-known example is (3, 4, 5). Euclid's formula is a fundamental formula for generating Pythagorean triples given an arbitrary pair of positive integers m and n with m > n . The formula states that the integers below form a Pythagorean triple. Problem: Given the two integer values described above as m and n input, calculate the lengths of side #1 (a), side #2 (b), and the hypotenuse (c). • Both inputs will be positive integer values. You may assume that the second integer will be less than the first. • You are permitted to use mathematical function for power if desired. Example Execution #1: Enter the first positive integer value: 3 Enter the second positive integer value (less than 3): 1 The Pythagorean triple given positive integers [3 and 1]:

0 comments

Leave a Reply

Your email address will not be published. Required fields are marked *