1.1 CONTACT INFORMATION

Instructor: Alex Gerbessiotis
E-mail: alexg+cs610@njit.edu
Tel: (973)-596-3244
Office: GITC 4213, 4th floor
@NJIT ”Office” Hours:Mon and Wed 4:10pm-5:30pm
Assistant: Check course web-page
Class Hours/Place: See Registrar’s course schedule
LMS: Learning Management System to be used is canvas.njit.edu
Web-Page:
http://www.cs.njit.edu/~alexg/courses/cs610/index.html
Web-Page:
http://web.njit.edu/~alexg/courses/cs610/index.html

1.2 COURSE ADMINISTRATION

CourseWork: 

2 exams, 5 Homeworks (HW), Programming project (PrP); Verification of Presence (VoP).

 

Points: 1020points=PrP(130)+Ex1(360)+ Ex2(360)+HW(150)+VoP(20)

HW:  

Five homeworks due before 12 o’clock noon i.e. 12PM for Canvas and submission through canvas.njit.edu; see Calendar Sec. 1.4. for dates and Appendix 1 for further information.

PrP:  

A programming project is 130pt. Canvas submission per Document 3 guidelines BEFORE 12-o’clock noon (canvas calls it 12PM); date specified in the Calendar Section 1.4.

Exams:  

See Appendix D.2 and also Document P in canvas Announcements. Dates in Calendar 1.4. Exam 1 (midterm) in classroom 120min; Exam 2 (final) where and when as specified by the Registrar 120min. Both in paper, closed everything and cumulative. A math calculator is allowed but is a waste of time! A student who leaves the exam room before the preannounced departure time and without explicit permission by the instructor gets a 0 in the exam. In case NJIT declares an emergency (e.g. Covid), an exam will become, time permitting, a canvas exam using ProctorU Record+ for proctoring. You are thus expected before 18:00 of the 3rd Friday of the semester to either acquire ProctorU credentials or check your existing credentials that still work for NJIT, and also test that your equipment still works with the ProctorU setup. Hopefully this option will not be exercised. But you and I should be prepared for the possibility of using it!
NJIT computer policies: https://ist.njit.edu/student-computers.

1.3 BASELINE COURSE SYLLABUS

Course:  

CS610. Data structures and algorithms.

Credits:  

3 credits.

Prerequisites: 

(CS114 and CS241) or equivalently (CS505 and CS506) or equivalent.

Description:  

Intensive study of the fundamentals of data structures and algorithms. Presents the definitions, representations, processing algorithms for data structures, general design and analysis techniques for algorithms. Covers a broad variety of data structures, algorithms and their applications including linked lists, various tree organizations, hash tables, strings, storage allocation, algorithms for searching and sorting, and a selected collection of other algorithms.

Textbook:  

[Recommended, designated] Algorithm Design: Foundations, analysis, and internet examples. M. T. Goodrich and R. Tamassia. Wiley, 2001, ISBN 0-471-38365-1.
Referred to hereafter as GT.

Learning Outcomes:

1.  

Learn how and be able to understand and formulate the input-output relationship of computational problems, and formulate the requirements, data and operations of abstract data types (ADT).

2.  

Learn how and be able to asymptotically compare functions using o,O,ω,Ω,Θ, and be able to solve recurrences using the master, iteration/recursion tree, and the substitution methods.

3.  

Learn how and be able to describe, derive and determine, the asymptotic performance of algorithms for computational problems and operations on elementary and more advanced data structures.

4.  

Learn how they operate and be able to understand fundamental algorithms and data-structures, and understand their characteristics for problems related to searching, sorting, selection, operations on numbers and polynmials and matrices and graphs. Be able to choose among a variety of similar ones based on problem/program specification and requirements.

5.  

Learn how and be able to compose more complex algorithms using as building blocks the fundamental algorithms introduced in class.

6.  

Learn how and be able to compose more complex algorithms using the algorithmic design techniques introduced in class.

7.  

Learn how and be able to compose advanced data structures using as building blocks the elementary data structures introduced in class.

8.  

Learn how and be able to implement in a high-level imperative language some of the algorithms and data structures introduced in class in the form of a programming project of considerable complexity.

9.  

Learn how and be able to understand and possibly identify that some problems are complex and are not susceptible to ’easy’ solutions. Learn how and be able to understand the benefits and complexities of using randomness in computation.

Topics (with references to chapters of the designated textbook):

T1. 

Ch 1,2.1-2.3,4.1-4.2,5.1-5.3: Introduction. Algorithm Analysis. Asymptotic notation. Sorting.Algorithm Design Techniques. Elementary data structures.

T2. 

Ch 1, 5.2: Asymptotic growth of functions; Recurrence relations.

T3. 

Ch 2.3,5,6.1-6.4:Graphs and their representation. Traversals.UnionFind.

T3. 

Not in GT:Web-page Ranking: Google’s PageRank, Kleinberg’s HITS algorithm.

T4. 

Ch2.5-2.7: Hashing (by chaining and open-addressing).Google Example.

T5. 

Ch2.4,5.1,9.3: Heaps and Priority Queues.Greedy Method.Huffman codes.

T6. 

Ch4: QuickSort. Complexity of sorting. Linear-time sorting.

T7. 

Ch4: Selection; Order statistics

T8. 

Ch4.2,5.3,6,7: Graph Searching (DFS, BFS). Strong connectivity. Topological sorting. Shortest paths on graphs. Minimum cost spanning trees.

T9. 

Ch5.2-5.3: Integers, Polynomials, Matrices. Complexity issues: WORD, BIT, SLP models.

T10. 

Ch3: Binary Search Trees (BST) and Balanced BSTs: search trees of bounded height.

T11. 

Ch3, 14.1.2: Search Trees of Bounded Depth (and height)

T12. 

Ch9: String and Pattern matching algorithms (if time permits).

T13. 

Ch13.1-13.2: Theory of NP-completeness: P, NP, co-NP, NPC, NP-hard.

1.4 CALENDAR





Fall 2022




Week
W
Out
In/Comments




W01 09/07HW 1 out on 9/7
W02 09/14 VoP in 9/18 before noon
W03 09/21HW 2 out on 9/21 HW1 in 9/21 before noon
W04 09/28
W05 10/05HW 3 out on 10/05 HW2 in 10/05 before noon
W06 10/12HW 4 out on 10/12 HW3 in 10/12 before noon
W07 10/19 HW4 in 10/19 before noon
W08 10/26Exam 1 on Wed 10/26 in classroom
W09 11/02
W10 11/09HW 5 out on 11/09
W11 11/16 Mon 14 Nov: WithdrawalDay
W– 11/23NO CLASS Fri classes meet on Wed
W12 11/30 HW5 in 11/30 before noon
W13 12/07 PrP in 12/07 before noon
W14 12/14 Last day of classes
W15 12/21Exam 2 on Wed 12/21 (Check with Registrar)




Any modification/deviation from the calendar and its items will be done in consultation with the attending a class students and be posted on the course web-page. It is imperative that students check the course web-page regularly and frequently. Exceptions are as announced by the Provost’s Office.

1.5 COURSE POLICIES

OARS:  

If you need special accommodations, contact the Office of Accessibility Resources and Services, KUPF 201, to discuss your specific needs. A Letter of Accommodation Eligibility from OARS authorizing your accommodations will be required and should be received by us at least two weeks plus two days before the first exam, if it also relates to a ProctorU exam, otherwise seven days before the first non ProctorU exam.

MISSING:  

If you miss a class, you make up for lost time. No PrP extensions for any reason, medical or otherwise; submit early. If you miss an exam you MUST CONTACT the Dean of Students (DOS) within 2 working days from the day the reason for the absence is lifted with all necessary documentation and email the instructor of your intent and absence. Do not submit documentation to the instructor: it is a private matter between you and the Dean of Students. The maximum accommodation period will be the number of missing days to the exam date: it is imperative then that you contact DOS even before the 2 working day period has expired if the accommodation period would be shorter. For Exam1, a DOS approval will get you a scaled Exam2 grade for Exam1. No makeup exam for a ProctorU exam.

Provost statement.

”Academic Integrity is the cornerstone of higher education and is central to the ideals of this course and the university. Cheating is strictly prohibited and devalues the degree that you are working on. As a member of the NJIT community, it is your responsibility to protect your educational investment by knowing and following the academic code of integrity policy that is found at: http://www5.njit.edu/poli cies/sites/policies/files/academic-integrity-code.pdf. Please note that it is my professional obligation and responsibility to report any academic misconduct to the Dean of Students Office. Any student found in violation of the code by cheating, plagiarizing or using any online software inappropriately will result in disciplinary action. This may include a failing grade of F, and/ or suspension or dismissal from the university. If you have any questions about the code of Academic Integrity, please contact the Dean of Students Office at dos@njit.edu.” Also, the following link is provided http://www5.njit.edu/provost/sites/provost/files/lcms/docs/Best_Practices_related_to_Academic_Integrity.pdf

1.5 COURSE POLICIES (continued)

Grading:  

For paper exams if you use pencils to write down your answers do not complain about grading AFTER the EXAM. No Scratch paper. Work submitted will be graded for clarity, conciseness and correctness: be brief and to the point. Material covered in class and appearing in the relevant notes and chapters of the designated textbook can be used without proof. Everything else requires a proof (justification). For PrP-grading see Document 3 (Testing and Grading).

Grades:  

Check marks and report errors promptly. Resolve any issues WITHIN 2 CALENDAR WEEKS and before the first Reading Day starting from the day an exam or homework is released or returned. For PrP or the final, within 3 calendar days from the day grades are posted on canvas or Banner. Talk to the grader first, and then to the instructor. The final grade is decided on a 0 to 1000 point scale. Assuming no violation of the Collaboration policy: 820-850 points or more is an A, less than 500 points is F, and thus 500 points or more is C or better.

Incomplete:  

A grade of I(incomplete) is given in rare cases where work cannot be completed during the semester due to documented long-term illness or absence (e.g. unexpected national guard duty). A student needs to be in good standing (i.e. passing the course before the absence). An email (in lieu of a written letter) with a timeline of what is needed to be done will be sent to the student and the Department Chairperson. Not showing up in the final will probably get you an F rather than an I.

Collaboration: 

Collaboration of any kind (in HW, Exams, PrP) is PROHIBITED. Students must turn in work that has fully been composed and written by them and no-one else. Finding an answer on the Internet, Web, on a piece of paper, or otherwise, or it is product of someone else’s work, or it is (partly or fully) common with another student submission, in the same or other section/course risks punishment as outlined by the University. All parties of such interaction receive a 0 and letter grade is lowered by one or two levels. The work you submit must be the result of your own mental effort.

Devices:  

Power down (equivalent to removing battery) and switch off (not just silence) mobile and other devices including wearables (e.g. iwatch) and place them in a zippered bag or zippered backpack or on the floor screen facing down. (See article XI, student contact code.) IF A STUDENT GETS CAUGHT TOUCHING SUCH A DEVICE (on or off) during an exam, the exam receives a 0. DEVICES MUST BE OFF and NOT ON YOU. For ProctorU exams ”ON YOU” means anywhere viewable including at a distance of less than 6ft. A not completely powered down device of yours is assumed to be ”ON YOU” independently of proximity. Note that the use of a device without the express permission of the instructor is considered cheating (Article XI).

Email/SPAM: 

Use an NJIT e-address to send email to the course email address (Appendix G).

Canvas Note: 

Canvas assigns points to non CourseWork. Ignore canvas grades aggregations. Because canvas has synchronization issues, point-assigned material released through canvas will be of limited availability and visibility. Make backups if needed (e.g. take screenshots).

The NJIT Academic Integrity Code will be upheld with violations reported to the Dean of Students. ___.