Syllabus for Fall 2025
CISC-1600-E01 Computer Science I
CISC-1610-E01 Computer Science I Lab
FCRH (Fordham College at Rose Hill)

CISC-1600-E01 is course reference number 27620, 3 credits.
CISC-1610-E01 is course reference number 27621, 1 credit.
The home page for these two courses is https://markmeretzky.com/fordham/1600/

Course Description

A computer is a machine that follows instructions. The list of instructions you put into the computer is called a program. In the future, it will be possible to write programs in English. But that day isn’t quite here yet, so for the time being we write programs in simpler languages such as C++. This is a course in reading, writing, executing, and debugging programs in C++.

CISC-1600 will cover the parts of C++ that it has in common with the earlier language C, except for pointers. (A pointer is a variable that contains the address of another variable.) The rest of the C++ language, including pointers and the features for object-oriented programming, will be covered in CISC-2000.

CISC-1610 is the hands-on lab that goes with CISC-1600, and CISC-2010 is the hands-on lab that goes with CISC-2000. Both labs are given on a Fedora Linux server.

Instructor

Mark Meretzky has no office or office hours. But you can Zoom him, or email him at mmeretzky@fordham.edu. Please contact him when you need help. If the students desire, he can arrive on the Rose Hill campus an hour before class to offer individual help.

Dates and times

CISC-1600-E01 and CISC-1610-E01 will meet on the following 15 Thursday nights in Fall 2025.
There is no class on Thursday, November 27, 2025 (Thanksgiving), and no class on Thursday, December 11, 2025.
The midterm exam will be on the eighth night of the course, Thursday, October 16, 2025.
The final exam will be on Thursday, December 18, 2025.

  1. Thursday, August 28, 2025
  2. Thursday, September 4, 2025
  3. Thursday, September 11, 2025
  4. Thursday, September 18, 2025
  5. Thursday, September 25, 2025
  6. Thursday, October 2, 2025
  7. Thursday, October 9, 2025
  8. Thursday, October 16, 2025 (midterm)
  9. Thursday, October 23, 2025
  10. Thursday, October 30, 2025
  11. Thursday, November 6, 2025
  12. Thursday, November 13, 2025
  13. Thursday, November 20, 2025
  14. Thursday, December 4, 2025
  15. Thursday, December 18, 2025
                               2025                               

        July                  August                September     
Su Mo Tu We Th Fr Sa   Su Mo Tu We Th Fr Sa   Su Mo Tu We Th Fr Sa
       1  2  3  4  5                   1  2       1  2  3  4  5  6
 6  7  8  9 10 11 12    3  4  5  6  7  8  9    7  8  9 10 11 12 13
13 14 15 16 17 18 19   10 11 12 13 14 15 16   14 15 16 17 18 19 20
20 21 22 23 24 25 26   17 18 19 20 21 22 23   21 22 23 24 25 26 27
27 28 29 30 31         24 25 26 27 28 29 30   28 29 30            
                       31                                         
       October               November               December      
Su Mo Tu We Th Fr Sa   Su Mo Tu We Th Fr Sa   Su Mo Tu We Th Fr Sa
	  1  2  3  4                      1       1  2  3  4  5  6
 5  6  7  8  9 10 11    2  3  4  5  6  7  8    7  8  9 10 11 12 13
12 13 14 15 16 17 18    9 10 11 12 13 14 15   14 15 16 17 18 19 20
19 20 21 22 23 24 25   16 17 18 19 20 21 22   21 22 23 24 25 26 27
26 27 28 29 30 31      23 24 25 26 27 28 29   28 29 30 31         
                       30                                         
		       

CISC-1600-E01 meets from 6:00 to 8:45 pm, with a 10-minute intermission at 7:30 pm.
CISC-1610-E01 meets from 8:50 to 9:55 pm.

Location

CISC-1600-E01 and CISC-1610-E01 meet in rooms 205 and 312, respectively, in Keating Hall, in the Rose Hill (Bronx) campus of Fordham University.
For personal sanity, you can visit the Blue Chapel on the west side of the third floor of Keating.
Take the B or D subway to the Fordham Road station in the Bronx, and then walk six blocks east on Fordham Road.
Or take the Harlem or New Haven lines of Metro North to the Fordham station, and then walk ten feet east on Fordham Road.

Platform

Each student’s desk in the classroom has a Microsoft Windows PC. We will use these machines to connect to the Fedora Linux server storm.cis.fordham.edu, which is the computer that will actually execute our C++ programs. We will use the GNU C++ compiler /usr/bin/c++ (version 15.1.1-2) on storm to translate each C++ program into terms that storm can understand and execute.

If a student has access to a computer at home or at work, he or she should also connect to storm.cis.fordham.edu during the week between classes.

In fact, if the student’s own computer is portable, he or she can bring it to class and use it instead of the Microsoft Windows PCs in KE 317. Most people are more comfortable using their own computer.

Textbook

The textbook is the many examples of C++ programs on the web at
https://markmeretzky.com/fordham/1600/src/
No loginname or password is required.

Prerequisites

There are no programming prerequisites for CISC-1600-E01 and ISC-1610-E01, and it’s okay if the student’s typing skills are at the hunt-and-peck level. The student should already know how to copy and paste text on a Microsoft Windows PC or Apple Macintosh.

A student has to be able to proofread his or her own work, and to compare their work on a character-by-character basis with the exmples presented in class. In this business, a typographical error of even a single keystroke can kill you.

Homework, midterm, and final exam

Each homework will be a C++ program. There will be one or two assignments per week, each one due in six days Don’t fall behind: you can’t hand in all your overdue homework in one big lump at the end of the semester. A student should expect to spend at least three hours per week outside class on homework.

A student will submit his or her homework by posting it in the public_html directory of their account on the fedora Linux server storm.cis.fordham.edu. This means that every student will be able to see the work of every other student.

The midterm and final exam will be presented and answered on paper. If a student has done their own homework reasonably successfully all semester, they will have no trouble with the midterm or final: it will just be more of the same. But if a student has plagiarized their homework all semester, or has been massively late or absent, they will fail the midterm and final. That’s obvious, isn’t it?

Students will get the same grade for CISC-1600-E01 and CISC-1610-E01. The grade for the these courses will be taken
50% from the homeworks
25% from the midterm
25% from the final exam
In practice, a student’s grade for the homeworks and the grade for the final exam will almost always be very similar. If you’ve been working hard all semester, and been present in class, it will show on the final.

Lateness and Absence

Attendance will be taken when the class begins at 6:00 pm. If you are not present at that time, you will be marked “absent” for that week. Being late or absent will have a devastating effect on your grade. Read the Fordham policy lateness and absences.

Fordham policy on cheating

Read the Fordham policy on plagiarism.

Academic integrity is the pursuit of scholarly activity in an honest, truthful and responsible manner. Fordham students are expected to accept the responsibility to be honest and to respect ethical standards in completing their academic assignments, assessments, and other requirements. Students are expected to adhere to academic integrity by completing all assignments and other requirements on their own without assistance from external resources (including any artificial intelligence or machine-learning tools) unless directly authorized by the instructor. It is the student’s responsibility to give credit to any quotation, idea, or data used from an outside source. Students who fail to meet the responsibility for academic integrity subject themselves to sanctions ranging from a reduction in grade, course failure in the assignment, or expulsion from the University.

You can’t use AI to write your homework.

Reliable indications that a student has plagiarized their work include

  1. Initializing a variable with the old fashioned = instead of with the contemporary {curly braces}. (See variable3.C.)
  2. Flushing the output buffer unnecessarily with endl instead outputting a simple "\n".
  3. Returning 0 instead of EXIT_SUCCESS from the main function.
  4. Indenting with spaces instead of tabs.
  5. Storing their program in a file whose name ends with .cpp instead of (uppercase) .C.

Pronoun policy, etc.

Some members of the Fordham community are known by a name other than their legal name. Students who wish to be identified by a chosen name can email the instructor at mmeretzky@fordham.edu to request that their chosen name and pronoun be used.

Please also let the instructor know if he accidentally spelled your name wrong when creating your computer account on storm.cis.fordham.edu. You can check this by typing the following Linux command on storm.

awk -F: '$1 == "jsmith" {print $5}' /etc/passwd
where jsmith is your Fordham ID.

Tutoring center

The tutoring center is in room 310 of JMH (John Mulcahy Hall), south of Keating Hall in the Rose Hill (Bronx) campus of Fordham. It is open Monday through Friday, 11:30 am to 3:45 pm. Drop in, no reservations are required.

There’s a Fordham Computer Science Society, but they haven’t posted anything since 2019. They have been known to give out free pizza, however.

Special needs

Please contact the dean of your school if you are unable to attend class or do any work this semester.

Here are links to the
Fordham Emergency Medical Services
Fordham Counseling and Psychological Services
Fordham Office of Disability Services

C++ language topics

We have 14 × 2.75 = 38.5 classroom hours, plus 14 lab hours, to explore the following topics, in approximately the following order.

Prologue: the Linux Tools

We will be creating our C++ programs as files on a Linux server (storm.cis.fordham.edu), and will also store our files of input and output there. We will therefore need to know the basic Linux commands for creating, editing, saving, naming, renaming, copying, moving, and removing files. For example, to type in the statements (commands) of a C++ program and save them in a text file, we will use the Linux editor vi.

Output

Our first C++ program must command the computer to produce output; otherwise we would never know if the program was executed correctly, or even if it was executed at all. Our program will produce three types of output:

  1. standard output, the answers produced by the program when everything has gone well
  2. standard error output, the error messages produced by the program when it detects that something has gone wrong
  3. exit status, a normally invisible code number that tells the rest of the computer whether the program succeeded or failed in its primary mission.
The standard output of a program can be directed to different destinations, including
  1. to the screen of a computer
  2. to an output file on a disk
  3. through a pipe, an intravenous connection leading to another program
Initially, our output will be in the form of a stream (i.e., a series) of characters, including invisible characters such as the beep (\a), the tab (\t), and the newline (\n). In later examples, our output will be in the form of the pixels (i.e., tiny colored dots, as in a magazine photo) of an image, each with measured amounts of the primary colors red, green, and blue.

Input

If our programs could not accept input, they would be very boring because they would behave exactly the same way each time we ran them (in the absence of the random numbers coming later in the course). Our programs will draw input from different sources, including

  1. from the keyboard of a computer
  2. from an input file on the disk
  3. from a pipe, an intravenous connection carrying data in from another program
Input is intrinsically more dangerous than output, because the data coming in from the outside world might be garbage, against which we would have to defend ourselves.

Basic C++ syntax and formatting

Certain rules are imposed by the C++ language itself. These include rules about case (uppercase vs. lowercase), spacing (the places where white space is forbidden or required), and punctuation marks (characters such as (parentheses), {curly braces}, and [square brackets], which must come in matched pairs). The computer will reject the program if these rules are violated.

But other rules are imposed by human convention. In English, For example, we indent the first line of each paragraph; in C++, we indent the statements of each block. The human reader will reject the program if these rules are violated. The human also expects to see comments, invisible to the computer, embedded in the program as explanations.

Constants, variables, operators, and expressions

A variable is a container in the computer that can contain a number, a word, a series of characters, or a logical conclusion such as TRUE or FALSE. A program must be able to create a variable, store a value into a newborn variable (via initialization), change the value in the variable (via assignment) unless the variable is a constant, and use a value that has been previously deposited into a variable.

Each variable has a name, and there are rules about what names are permitted, and what happens if two variables have the same name. Each variable has its own scope or habitat, the part of the program in which we are allowed to mention the name of the variable. Each variable also has a well defined lifetime, and is created and destroyed at precise times during the execution of the program. It would be wasteful to create the variable before we need it, or to allow the variable to linger after we no longer need it.

Variables such as x and y may be combined with operators such as + and , and literals such as 10 and 20, to form expressions such as x+y and y−10 to command the computer to perform arithmetic (and other more exotic operations). These expressions are made almost unambiguous by the rules of precedence (higher vs. lower) and associativity (left vs. right). For example, in the expression 1-2-3, which subtraction should be executed first? Should the final result of the two subtractions be -4 or +2? The students will be warned away from the rare expressions that are ambiguous in C++. For example, in the expression f(x)+g(x), which function is executed first? And when would it matter? This is a question of side effects.

Control Structure

This is the most important part of CISC-1600, since control structure is what makes computer programming different from all other forms of human endeavor. (The only thing remotely similar to a computer program is knitting instructions, because knitting instructions have control structure.)

A program is a list of instructions; by default, they are executed by the computer from top to bottom. We can insert special instructions (called control structure) into this list to tell the computer to skip, or to repeat, other instructions or groups of instructions in the list. We could even tell the computer to jump around from point to point in the program, but that would make the program hard to understand and harder to debug. Instead, we limit ourselves to a very restricted set of stylized maneuvers, consisting of the instructions if, else, while, for, and do. These statements will let the program respond flexibly to different inputs and different situations, but only in familiar, conventional ways whose execution a human can trace when things go wrong. The topic of control structure will include the crown jewel of computer programming, “nested loops”.

Data types

Each variable in C++ can hold only one type of data. For example, one variable might be capable of holding numbers; another might be capable of holding words. And among the numeric variables, there are different types of data. One variable might be capable of holding numbers with fractions (e.g., 2½); another might be capable of holding only whole numbers. There are different types of non-numeric variables too. For example, one variable might be capable of holding an entire word or sentence; another might be capable of holding only a single character.

What would happen if we take a number with a fraction and try to store it in a variable that can hold only whole numbers? In general, what sorts of things can go wrong when we try to copy a value from one type of variable into another? And what are the tradeoffs between space and speed when selecting the different types of variables to use in our programs? This question becomes imporant when we have thousands or millions of variables, because our memory or available time might be limited.

Arrays

An array is a long series of mass produced variables, all of the same data type. An array can also be two-dimensional, consisting of rows and columns of variables instead of a one-dimensional line. When we process the variables in an array, one by one, we always use control structure to repeat the same instructions over and over again. (In other words, we have to write a loop because there are so many variables in the array.)

Let’s assume that all the variables in a given array hold numbers. There are many kinds of tasks that a C++ program might want to do with such an array, including

  1. finding the largest (or smallest) number in the array
  2. rearranging the numbers into increasing (or decreasing) order
  3. copying all the numbers from one array into another array
Ditto for an array that holds words instead of numbers. In fact, the list of instructions (i.e., the algorithm) for sorting an array of names into alphabetical order are almost identical to the list of instructions for sorting an array of numbers into increasing order.

[The loops that perform the most common array tasks (searching, sorting, copying) have already been written for us once and for all in the “C++ Standard Library”. This topic is outside of the scope of CISC-1600 (it’s covered in CISC-2000), but this topic is the instructor’s vote for what we should do with any extra time we may have left at the end of the course.]

Functions, their arguments, and their return value

We can package part of a program as a separate function to execute it at more than one time as the program runs. For example, consider a program that outputs the lyrics to a song consisting of verses and a repeated chorus. We can execute a function to output the chorus at several different times as the program runs. We may also want to package various sections of a larger program as separate functions in order to break the program into pieces of manageable size.

Often we want to do more than simply execute the instructions in a function. We may also need to transmit information to the function from the rest of the program. These values passed to the function are called the arguments of the function. We will explore the tradeoffs between the two mechanisms for passing arguments to a function, pass-by-value and pass-by-reference. To make sure that a function has received valid values as arguments, it can contain assert statements.

The rest of the program may want to receive a resulting value, called the return value, from the function. We have the same two mechanisms for transmitting a return value that we had for transmitting an argument. And we can also write an assert statement inside the function to make sure that the return value is valid.

Looking forward to CISC-2000-E01 and CISC-2010-E01

To provide a foundation for the concepts of CISC-2000 in Spring 2026, CISC-1600 will emphasize certain distinctions that will become important later. For example, CISC-1600 will point out the exact limits of the scope and lifetime of a variable, because these boundaries will trigger the “constructors” and “destructors” that will play a large role in the object-oriented programming in CISC-2000. CISC-1600 will also recognize the difference between initialization and assignment, in preparation for the “operator overloading” topic in CISC-2000. And CISC-1600 will train students to program in the same style with variables of every data type, in preparation for the C++ “templates” in CISC-2000. See you again in Spring 2026!