Programming Assignment Zero - Computer Networks | CMSC 417, Assignments of Computer Systems Networking and Telecommunications

Material Type: Assignment; Class: Computer Networks; Subject: Computer Science; University: University of Maryland; Term: Unknown 1989;

Typology: Assignments

Pre 2010

Uploaded on 02/13/2009

koofers-user-c08-1
koofers-user-c08-1 🇺🇸

10 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
cmsc 417 programming assignment zero
Due: Tuesday, February 12, 2008, 11:59pm
This is a tiny programming assignment mostly to ensure that you can login to the linux lab machines,
write a four-line C program, turn it in via the submit server, and verify that you passed tests.
Your code will first print a line consisting of the text: “ready”, then, for every line of text read from
standard input, it will echo that line right back on standard output.
You’ll use “fgets” and “printf”. See printf(3) (the output of “man 3 printf”) and fgets(3).
Your code must compile without warnings listed in the style handout and included in the makefile in the
template.
This assignment is to be done individually.
1 grades.cs
Login to https://grades.cs.umd.edu/ to learn your username and password for linuxlab.csic.umd.edu. All
logins and passwords besides this linuxlab-specific one will be your Maryland directory id.
You may login to this server now and then to check that your grades have been well-recorded.
2 The template
You may download “template-zero.tar.gz” from the course web page: http://www.cs.umd.edu/class/
spring2008/cmsc417/. Untar (using tar xf template-zero.tar.gz), then rename (mv template-zero cmsc417-
0) as you like. Edit zero.c (do not rename, unless you know what you’re doing). Run make. Run ./zero.
When satisfied, run “make submit”.
3 submit.cs
Login to https://submit.cs.umd.edu. You may upload a zip file for project zero, or use “make submit”
from the command line. That rule runs a java program to upload the file; it requires your username and
such.
4 Objectives
At the end of this assignment, you should understand:
How to login to the csic linuxlab.
How to submit your assignments.
How to check your code against tests on the submit server.
1

Partial preview of the text

Download Programming Assignment Zero - Computer Networks | CMSC 417 and more Assignments Computer Systems Networking and Telecommunications in PDF only on Docsity!

cmsc 417 programming assignment zero

Due: Tuesday, February 12, 2008, 11:59pm

This is a tiny programming assignment mostly to ensure that you can login to the linux lab machines, write a four-line C program, turn it in via the submit server, and verify that you passed tests. Your code will first print a line consisting of the text: “ready”, then, for every line of text read from standard input, it will echo that line right back on standard output. You’ll use “fgets” and “printf”. See printf(3) (the output of “man 3 printf”) and fgets(3). Your code must compile without warnings listed in the style handout and included in the makefile in the template. This assignment is to be done individually.

1 grades.cs

Login to https://grades.cs.umd.edu/ to learn your username and password for linuxlab.csic.umd.edu. All logins and passwords besides this linuxlab-specific one will be your Maryland directory id. You may login to this server now and then to check that your grades have been well-recorded.

2 The template

You may download “template-zero.tar.gz” from the course web page: http://www.cs.umd.edu/class/ spring2008/cmsc417/. Untar (using tar xf template-zero.tar.gz), then rename (mv template-zero cmsc417-

  1. as you like. Edit zero.c (do not rename, unless you know what you’re doing). Run make. Run ./zero. When satisfied, run “make submit”.

3 submit.cs

Login to https://submit.cs.umd.edu. You may upload a zip file for project zero, or use “make submit” from the command line. That rule runs a java program to upload the file; it requires your username and such.

4 Objectives

At the end of this assignment, you should understand:

  • How to login to the csic linuxlab.
  • How to submit your assignments.
  • How to check your code against tests on the submit server.