Syllabus

Course Description

CSE 130 is an introduction to programming concepts using the C programming language. Topics include variables, data types, expressions, conditional and iterative statements, and functions. It also covers program organization, structures, pointers, arrays and strings. It includes programming projects of an interdisciplinary nature and is suitable as an introductory programming course for all majors.

Prerequisites

Level 3 on the mathematics placement examination.

Text Books

  • A Book on C, 4th Edition, by Al Kelley and Ira Pohl (Addison-Wesley 1998). Copies of the textbook are available on 2-hour reserve in the Science and Engineering Library.
  • Ref: The C Programming Language, by Brian W. Kernighan and Dennis Ritchie, Prentice Hall, Second Edition 1988.

Course Outcome

    The following are the official course goals agreed upon by the faculty for this course:
  • Write, compile and run (on his or her own) 8 - 10 computer programs in C that utilize basic features of the programming language to solve various introductory problems from mathematics, the sciences and text processing.
  • Determine if any elementary C program is correct given some initial input, and if not, demonstrate where to find the computational error(s).
  • Write small programs in an exam environment to demonstrate his or her problem-solving abilities and proficiency with the language syntax.

Course Topics

Major topics covered in this course:

  • Introduction to course.
  • Variables, data types, compiling and running a program.
  • Expressions, basic input/output in C.
  • Using conditional statements: if, else and switch.
  • Using loop (iteration) statements: while and do-while.
  • Using loop (iteration) statements: for.
  • Introduction to pointers.
  • Using functions, parameter passing.
  • Using structures.
  • Storage classes and scope rules.
  • Program organization.
  • Introduction to arrays.
  • The relationship between arrays and pointers.
  • Strings, C functions for strings.
  • Arrays of pointers, multidimensional arrays.
  • Files
  • Advanced I/O

Book Chapters

A book on C:

  • Chapter 1: An Overview of C
  • Chapter 2: lexical Elements, Operators, and the C System
  • Chapter 3: The Fundamental Data Types
  • Chapter 4: Flow of Control
  • Chapter 5: Functions
  • Chapter 6: Arrays, Pointers, and Strings
  • Chapter 7: Bitwise Operators and Enumeration Types
  • Chapter 8: The Preprocessor
  • Chapter 9: Structures and Unions
  • Chapter 10: Structures and List Processing
  • Chapter 11: Input/Output and the Operating System

Important Dates

  • Midterm 1: Wednesday, February 28, 9:00 AM - 9:53 AM, classtime, in class
  • Spring Break: March 12 - March 18
  • Midterm 2: Wednesday, April 4, 9:00 AM - 9:53 AM, classtime, in class
  • Final Exam: Wednesday, May 9, 8:30 PM - 11:00 PM in Javits 101

Grading Schema

  • Homeworks: 20% (4 homeworks each 5%)
  • Final Project: 10%
  • Quizzes: 10%
  • 2 Midterm exams: 30% (each 15%)
  • Final exam: 30%

Final grades are NOT curved. The final letter grade conversion table is below. All grades will be posted on Blackboard.

Final Weighted Grade Corresponding Letter
94-100 A
91-93 A-
88-90 B+
84-87 B
81-83 B-
78-80 C+
74-77 C
71-73 C-
65-70 D+
60-64 D
0-59 F

The exams will be open-book, open-notes. However, NO ELECTRONIC DEVICES may be used during the exam for any reason. The visibility or use of any such items will be treated as evidence of academic dishonesty. Do not miss the exam. Make-up exams will be given only in extenuating circumstances (e.g., doctor's note stating that you were ill and unfit to take the exam). Students who miss an exam for a valid reason may need to take a make-up exam; specific arrangements will be made on a case-by-case basis.

Late Assignment and Make-up Exam Policy: Late submissions of the homework assignments or final project will NOT be accepted for grading, barring a valid medical, religious, or other excuse (with documentation). Late submissions with a valid excuse may be accepted at the instructor's discretion, with an accompanying 50% penalty to the assignment grade.

Grade Challenge Policy:
The TAs and I will endeavor to post grades as soon as possible after assignments/exams are turned in (normally within 7–10 days). Questions about or challenges to assignment or midterm exam grading MUST be made within TWO WEEKS of the grades being posted; after that period, grades are considered final for that assignment or exam.

Exam Policies:
All students must bring photo ID to each exam. Students will not be admitted more than 10 minutes late to any exam. Make-up exams will be granted at the instructor's discretion, and ONLY for valid medical reasons (a doctor's note is required), for religious reasons, or for documented participation in University-sponsored events. Except for medical excuses, reasonable prior notification (at least 48 hours prior to the exam) to the instructor is REQUIRED in order for a make-up opportunity to be granted. Quizzes may NOT be made up.

Policy on Electronic Devices in Class:

Students are encouraged to bring laptops and tablet devices to class for writing codes and note-taking purposes, especially during the programming lectures. All communication and entertainment devices should be silenced or (preferably) turned off for the duration of the class unless otherwise directed by the instructor. No electronic devices of any sort, may be consulted or used during exams; this will be considered an instance of academic dishonesty, and will be treated as such.

Disability Support Services (DSS) Statement:

If you have a physical, psychological, medical or learning disability that may impact your course work, please contact Disability Support Services, ECC (Educational Communications Center) Building, room 128, (631) 632-6748. They will determine with you what accommodations, if any, are necessary and appropriate. All information and documentation is confidential. Students who require assistance during emergency evacuation are encouraged to discuss their needs with their professors and Disability Support Services. For procedures and information go to the following website: http://www.stonybrook.edu/ehs/fire/disabilities

Academic Integrity Statement:

Each student must pursue his or her academic goals honestly and be personally accountable for all submitted work. Representing another person's work as your own is always wrong. Faculty are required to report any suspected instances of academic dishonesty to the Academic Judiciary. Faculty in the Health Sciences Center (School of Health Technology & Management, Nursing, Social Welfare, Dental Medicine) and School of Medicine are required to follow their school-specific procedures. For more comprehensive information on academic integrity, including categories of academic dishonesty, please refer to the academic judiciary website at http://www.stonybrook.edu/commcms/academic_integrity/index.html

Critical Incident Management Statement:

Stony Brook University expects students to respect the rights, privileges, and property of other people. Faculty are required to report to the Office of Judicial Affairs any disruptive behavior that interrupts their ability to teach, compromises the safety of the learning environment, or inhibits students' ability to learn. Faculty in the HSC Schools and the School of Medicine are required to follow their school-specific procedures.