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/Tue/Wed 10-10:40am, Wed 4:10pm-4:50pm
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 and applications. M. T. Goodrich and R. Tamassia. Wiley, 2014, ISBN 978-1-118-33591-8
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. 

Ch1-1.1.4,1.2-1.3,2.1-2.3,12.2-12.3: Introduction. Algorithm Analysis. Asymptotic notation. Sorting.Algorithm Design Techniques. Elementary data structures.

T2. 

Ch1.1.4-1.1.6, 11.1: Asymptotic growth of functions; Recurrence relations.

T3. 

Ch1.4,2.3-2.4,7.1-7.2:Graphs and their representation. Traversals.UnionFind.

T3. 

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

T4. 

Ch6-6.3: Hashing (by chaining and open-addressing).Google Example.

T5. 

Ch 5-5.5: Heaps and Priority Queues.Greedy Method.Huffman codes.

T6. 

Ch8.2-8.3,9.1, 10.3: QuickSort. Complexity of sorting. Linear-time sorting.

T7. 

Ch 9.2, 9.3: Selection; Order statistics

T8. 

Ch 13, 14, 15: Graph Searching (DFS, BFS). Strong connectivity. Topological sorting. Shortest paths on graphs. Minimum cost spanning trees.

T9. 

Ch 11.2-11.3, 12.1: Integers, Polynomials, Matrices. Complexity issues: WORD, BIT, SLP models.

T10. 

Ch3-3.1, 4-4.2: Binary Search Trees (BST) and Balanced BSTs: search trees of bounded height.

T11. 

Ch20-20.3: Search Trees of Bounded Depth (and height)

T12. 

Ch23-23.4: String and Pattern matching algorithms (if time permits).

T13. 

Ch17.1-17.2.1: Theory of NP-completeness: P, NP, co-NP, NPC, NP-hard.

1.4 CALENDAR

Spring 2023








Week
Tue
Out
In/Comments




W01 01/17 HW 1 out on 01/17
W02 01/24 VoP in 1/29 before noon
W03 01/31 HW 2 out on 01/31 HW1 in 1/31 before noon
W04 02/07
W05 02/14 HW 3 out on 02/14 HW2 in 02/14 before noon
W06 02/21 HW 4 out on 02/21 HW3 in 02/21 before noon
W07 02/28 HW4 in 02/28 before noon
W08 03/07 Exam 1 on 03/07 in classroom
W– —– SPRING BREAK
W09 03/21 HW 5 out on 03/21
W10 03/28
W11 04/04 Mon 3 APR: WithdrrawalDay
W12 04/11 HW5 in 04/11 before noon
W13 04/18 PrP in 04/18 before noon
W14 04/25 Last day of classes
W– FRIDAYNJIT follows a Friday Schedule on Tue
W15 04/21 Exam 2: Check 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 send an email 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.

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).

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).

Provost  

”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

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