What This Document Is
This is a laboratory assignment for CSCI 101L, Fundamentals of Computer Programming, at the University of Southern California. Specifically, it’s Lab 2A, focusing on input/output (I/O) programming in C. It outlines a practical exercise designed to reinforce core programming concepts through hands-on coding and submission procedures. The assignment details expectations for code quality, documentation, and proper submission techniques within the course environment.
Why This Document Matters
This assignment is crucial for students enrolled in CSCI 101L who are learning the fundamentals of C programming. Successfully completing this lab will solidify your understanding of how to interact with users, receive input, process data, and display results – essential skills for any programmer. It’s particularly important to review this material *before* beginning to code, as it details the grading criteria and submission process, ensuring your work is evaluated correctly. Students will benefit from understanding the expectations for program style and commenting.
Common Limitations or Challenges
This assignment provides the framework for a programming task, but it does *not* offer pre-written code solutions or step-by-step instructions on *how* to solve the problem. It assumes a basic understanding of C syntax and programming logic. It also doesn’t cover advanced I/O techniques beyond the scope of introductory concepts. Students will need to apply their knowledge of the course material and potentially consult additional resources to complete the exercise.
What This Document Provides
* A detailed breakdown of the assignment’s grading scheme, outlining the weight of different components.
* Specific instructions for submitting your work using the `submit` command, including examples for single and multiple files.
* A list of available lab sections, including times, locations, and teaching assistant information.
* A sample C program demonstrating basic input and output operations using `printf` and `scanf`.
* An exercise prompt requiring the application of learned concepts to calculate a geometric property.
* Guidance on compiling and running C programs using the `gcc` command.
* Information on linking external libraries, such as the math library, during compilation.