MTH 4300: Algorithms, Computers and Programming (Fall 2017)

General information

Section information: HMWA, MW 9:55AM - 11:35AM, VC 6-130
Instructor: Ivan Matic
Office and phone: VC 6-294, 646-312-4142
Office Hours: M 11:35AM-1:35PM


Announcement: Tutoring is available for this course through SACC

SACC is located in the Newman Vertical Campus, Room 2-116.

Mondays: 10am-2pm
Tuesdays: 10am-11am, 12pm-1pm
Wednesdays: 10am-1pm
Thursdays: 10am-1pm

Content of the course

Prerequisite: MTH 3300 or CIS 3100 and 1 semester of calculus (MTH 2006, MTH 2007, MTH 2107, MTH 2201, MTH 2206, 2207, 2010, 2610, 2610H). Not open to students who have completed CIS 4100 or CIS (STA) 3363.

This course is intended to be a sequel to MTH 3300 and focuses on the notion of classes, along with the concepts of references, pointers, inheritance, polymorphism, parallel programming, and usage of standard libraries. The implementation of classes in a practical setting, such as scientific computing or quantitative finance, will be part of the course. The topics will also include administration of unix systems, secure connections, and management of remote servers.

Grading policy

The final grade for the course will be based on homeworks, one midterm, project, presentation, and the final.

The following formula will be used:

  • Homeworks: 16%

  • Midterm (October 18, 2017; closed book, no computers or calculators allowed): 25%

  • Project and presentation: 25%

  • Final (TBA; closed book, no computers or calculators allowed): 34%

The following three policies hold in addition to the described formula:

  • 1. A student who could not complete the Homework 1 during the first two weeks and does not drop the class will have the final grade decreased by one letter in the end of the semester.

  • 2. A student who borrowed a laptop from Baruch College Newman Library but does not properly restore the operating system and return the computer to the library before the final exam will have the final letter grade decreased by one letter.

  • 3. A student who receives a score below 50% on the final exam will get F in the course regardless of other grades.

The homework 1 checks the ability of students to maintain the computers by locating, reading, and understanding the manuals and instructions posted on the internet. It also requires a student to send an email to the instructor with an acceptance of the responsibilities towards the course and the equipment.

Suggested reading

Suggested reading will be provided during the course and will include documents on the course website and links to documents on the internet.

Official hardware and software for the course

Dell Latitude E5470, Intel Core i5-6300U Processor Base, Integrated HD Graphics 520 6th Generation Intel(R) Core(TM) i5-6300U (Dual Core, 2.4GHz, 3M cache)E5470 M.2 128GB SATA Class 20 Solid State Drive, 8GB (1x8GB) 2133MHz DDR4 Memory, Intel Dual Band Wireless 8260 (802.11ac) W/ Bluetooth, 35.6cm (14.0") FHD (1920x1080) Non-Touch Anti- Glare LCD with Camera and Mic, Primary 4-cell 62W/HR Battery, Intel Wireless 8260 Driver.

Course assignments

September 6, 2017Wednesday
September 20, 2017Wednesday
October 4, 2017Wednesday
October 16, 2017Monday
October 18, 2017WednesdayMidterm 1
November 1 , 2017Wednesday
November 8, 2017Wednesday
May 10, 2017 Wednesday

The homeworks are due at the beginning of the class on the date indicated in the table. The homework problems are located in the documents that are linked. Your submission has to be sent to mth4300Baruch"at"gmail"dot"com before the beginning of the class. The subject of the email has to be of the format "Homework 1 by Bart Simpson". The C++ source files have to be placed in the attachment of the message.

Other material

Practice problems for the midterm

Midterm from Spring 2017

Introduction to cURL and Quandl with C++

Parallel programming on Intel graphic cards using C++ and OpenCL

Setting up OpenCL and CUDA 8.0 on AWS G2 instance running Ubuntu 16.04


Baruch College reserves the right to choose and modify the dates of the final exams until late November. The most current information is available at

Policy for missed exams

In order to have a fair grading scheme, the requirement that all students take the same exams at the same time will be strictly enforced.

Late homeworks will not be accepted. Homework is a grading instrument that needs to determine the ability of students to complete and submit the assignments correctly and on time.

In the case of a missed midterm, the student will be required to submit a written appeal with a well-documented reason for missing the exam. If the appeal is approved, the rescaled score on the final may be used as the score for the missed midterm.

The math department‘s policy states that any score on the final below 50% results in an automatic failure in the course, regardless of scores received during the semester. Thus, students who miss the final will receive an F. In the case of an extraordinary circumstance resulting in the missed final, a student who had a term average of at least 55% may appeal to the Mathematics Department. If that appeal is accepted, the student may receive an INC grade. A student who misses the final and has term grade lower than 55% will receive F regardless.

Disability accommodations

To receive special accommodations for the lectures and exams, students with disabilities need to contact the Office of Services for Students with Disabilities at (646) 312‑4590. More information can be found at

Academic integrity

Any act of a student that provides an unfair advantage to themselves or an accomplice is dishonest. If during an exam a student has within reach an object that can be used to gain an unfair advantage, the student is violating academic honesty codes, regardless of whether the student is observed to use such object. For example, phones or smart watches, even if turned off, cannot be on desks or wrists during an exam.

Academic dishonesty will not be tolerated. Depending on the severity of the offense, cheating on an exam or assignment will result in a grade of 0 on that exam or assignment, or in a final course grade of F. All offenders will be reported to the Associate Dean of Students.