Weekly Labs
Problem Sets
LAB 10 -
This lab will not be graded.
LAB 9,
calc.c,
phone_book -
To be completed and submitted IN LAB on Friday, Nov. 19 and Monday, Nov. 22.
Lab 9 handout has been modified. Reload the questions and solve BOTH problems. File calc.c has also been modified to add a new function called prtError().
LAB 8,
lab8a.c,
lab8b.c,
lab8main.c,
lab8main.out -
To be completed and submitted IN LAB on Friday, Nov. 12 and Monday, Nov. 15.
LAB 7,
lab7.c,
lab7main.c,
lab7main.out -
To be completed and submitted IN LAB on Friday, Nov. 5 and Monday, Nov. 8.
LAB 6, lab6.c,
lab6main.c, lab6main.out -
To be completed and submitted IN LAB on Friday, Oct. 29 and Monday, Nov. 1.
LAB 5, lab5.c, lab5main.c - To be completed and submitted IN LAB on Friday, Oct. 22 and Monday, Oct. 25.
LAB 4, lab4.c
- To be completed and submitted IN LAB on Friday, Oct. 8 and Monday, Oct. 18. However, submitted programs will not be graded.
LAB 3, lab3a.c, lab3b.c
- To be completed and submitted IN LAB on Friday, Oct. 1 and Monday, Oct. 4. This lab is worth 1% to 1.5% of the overall grade.
LAB 2 - To be completed and submitted IN LAB on Friday, Sept. 24 and Monday, Sept. 27. This lab is worth 1% to 1.5% of the overall grade.
LAB 1 - To be completed and submitted IN LAB on Friday, Sept. 17 and Monday, Sept. 20. However, this is a mock test and submitted programs will not be graded.
How Do They Work?
-
A set of 2-3 small problems is posted on Mondays after each lecture for you to prepare.
-
In the following Friday (Monday) lab session, one problem from the set is given. You will complete and submit the program in the "labtest" mode.
-
No books or notes are allowed.
-
Friday and Monday "labtest" problems may be the same or different.
-
Depending on the number of labs (7-10), each lab is worth 1%-1.5%.
-
Results and marks will be sent to your cse email accounts.
Lab Rules
- Be present on time. No one will be allowed to enter the lab 20 minutes after the session starts.
- After entering the lab, no one will be allowed to leave within the first 20 minutes of the session.
-
These are closed-book tests. Put away all your materials (under the desks) and keep only a pen or pencil. The lab monitor will give you some paper for scrap work.
- Turn off cell phones and pagers while in the lab.
- Submit your work periodically. You can submit a file several times. A new submission will overwrite the previous version.
-
Towards the end of the lab session, you will see a warning message that time is running out and
the system will be re-booted soon. Submit your work one last time before you are logged off the system.
Which OS Should I Use?
All labs, assignments and labtests must be completed and will be graded on Unix/Linux systems. However, you may develop programs under Windows operating systems. Following are different ways to work with Windows:
- Use PuTTY to connect to a CSE server and work online.
- Use CygWing, which emulates a UNIX environment.
- Use any Windows-based C compiler. Some are available from Wiki. A good compiler is a GCC compiler called MinGW. Just make sure that you test your final programs on Unix/Linux before submitting them.