CIS 1057: Introduction to Programming in C

For the syllabus, click here (doc) or here (pdf). Click each homework  (below) to open up the details.

For grades, click here. The ID is the one that canvas provided to you. See if you can find out from Canvas what your ID is.

Set Up Your C IDE (Interactive Development Environment)

  • If you are a MAC user click here to learn how to install XCode. Click here for another page that looks good for MAC users, suggesting certain Xcode settings that will make it easier for you to program in C. Disclaimer: I do not have a MAC and I did not try this install. If you are a MAC user, please try to install early and ask for help if you need it. I will try to find you some help.
  • If you are a PC user, click here to learn how to install Visual Studio Community (free download).
  • If you cannot get an IDE set up on your personal computer, click here to learn how to use the Tech Center.

Homework 1: Calculate

Click here for the requirements of your first programming homework named "Calculate".

Homework 2: Functions

Click here for the requirements of your "Functions" homework.

Homework 3: If

Click here for the requirements of your "IF" homework.

Homework 4: Loops

Click here for the requirements of your "Loops" homework.

Homework 5: Pointers (Function Output Arguments)

Click here for the requirements of your "Pointers" homework, where you learn how to write and call a function that has output parameters.

Homework 6: Intro to Arrays

Click here for the requirements of your "Array Intro" homework, where you learn how to use parallel arrays (read data into, calculate from, print report).

Homework 7: Strings (Hangman Game)

Click here for the requirements of your "Strings" homework, where you learn how to use String handling functionality (from String.h and ctype.h header files) AND reenforce concepts from modules: Functions, Pointers (output parameters), and Arrays.

Homework 8: Structs (Structures)

Click here for the requirements of your "Structs" homework, where you learn about "structs" in C which is like "records" in other programming languages. Instead of having multiple parallel arrays, the code is much cleaner if we have a single array of structs. In this homework, you will pre-populate a struct array with data, allow the user to add a struct to the array, print a report of the struct data, and sort the data by various sort keys.

Homework 9: Text Files

Click here for the requirements of your "Text Files" homework, where you learn how to read and write text files (that can be opened up, for example, in a text editor like notepad).

Homework 10: Game

Click here for the requirements of your "Game" homework, where you learn design and implement your own game using most of what you have learned in this course. This is a two week homework, with the first half completed and submitted the first week and the final game completed and submitted the second week.