Purdue Engineering Computer Programming Studio and Python Workflow Guide

File Storage and Cloud Management Options at Purdue

Purdue provides students with access to Box through purdue.box.com, a cloud storage platform similar to Dropbox, OneDrop, or Droppnote, which enables file sharing among university students using their official login credentials. In addition to Box, Microsoft OneDrive and GitHub are supported options for storing and sharing project files. For all collaborative team assignments, every individual team member must maintain a personal copy of all active files on their own device or account. Relying exclusively on a single team member to store primary files risks loss of access and prevents individual team members from reviewing the work when completing individual tasks, studying for assessments, or executing complex assignments later in the semester, such as the individual project.

Terminal Directory Configuration and Local File Execution

When working with Python files through a command-line terminal, file directory paths must be managed carefully, particularly when integrated with cloud sync services like OneDrive. Running files directly out of a OneDrive directory creates a different file system path than running files stored locally on a device. Omitting or improperly referencing OneDrive path notation in terminal commands often leads to path mismatches, directory confusion, and script execution errors. To avoid terminal location issues, Python script files should be downloaded directly to a local directory on the machine—such as a designated folder on the Desktop or in Downloads—and executed locally. When opening project directories in code editors like Visual Studio Code, students must open the entire project folder rather than opening isolated files. Opening the parent folder ensures the integrated terminal initializes directly inside the correct working directory.

Course Schedule and Assignment Deadlines

The course schedule includes specific deliverables across individual and team tasks. Wednesday deliverables include three items: the Excel 2 individual tasks, the information literacy assignment, and the resume. Thursday features Team Quiz 1, which students complete in their assigned studio teams. Studio time prior to the quiz is provided for teams to collaborate on creating crib sheets. Lecture content on Thursday is kept minimal to reserve nearly the entire class period for assignment work. On Friday, the first Python team task is due. On Wednesday of the following week, both the team code of cooperation and the team poster are due, after which instruction moves into Python 2.

Group Work Setup and Pretask Code Comparison

During studio sessions, students work in assigned teams, such as Group 22, to review code and complete team tasks. When initiating group work, team members distribute shared assignment files using shared OneDrive folders or shared document links distributed via email. A key step in team task execution, such as Task 0, involves comparing individual code solutions across team members. Students analyze differences in code logic, inspect execution results against provided benchmark answers, and verify functional correctness across different implementations.

Mathematical Syntax, Parentheses, and Precision Formatting in Python

Implementing mathematical equations in Python requires precise syntax management, particularly for formulas containing exponential terms (ee), trigonometric functions (sin(x)\sin(x)), square roots, and division. Omission of nested parentheses around complex denominators or compound terms inside functions like sin(x)\sin(x) causes evaluation errors and incorrect output values. Rounding floating-point outputs to a specific decimal precision is accomplished using string format specifiers such as 3f to display values rounded to three decimal places. Structural differences among working student solutions often include variations in variable layout, function naming conventions (such as defining functions as eq_a, eq_b, eq_c versus result_a, result_b, result_c or results1), direct print statements versus intermediate variable assignments, and explicit utilization of the math library.

Gradescope Pretask Evaluation and Completeness Grading Policy

Pretask assignments submitted to Gradescope are evaluated based strictly on completeness rather than functional or algorithmic correctness. Submitting a pretask with the correct file name yields full credit (such as a score of 2/22/2). While Gradescope performs automated syntax and output checks and highlights specific code errors within the submission feedback, no points are deducted for logic or output discrepancies on pretasks. The primary purpose of pretask submissions is to provide an opportunity to test environment setups, verify library installations, and practice code execution without academic penalty.

Precision Specifiers for Thousands Separators

Python string formatting allows numeric outputs to include thousands separators by using the comma (,) or underscore (_) specifier characters. To format numbers correctly, the comma or underscore must be placed directly before the decimal point in the format specifier string (for example, :,3f or :_3f). Positioning the specifier before the decimal point instructs Python to insert thousands separators into the integer portion of the output value, improving readability for large numbers. If a format specifier places the separator character after the decimal point (such as :.3,f), Python will raise a syntax or formatting error, indicating an incorrect specifier structure in the assignment prompt.

Team Submission Protocols and Collaborator Management on Gradescope

For team assignment submissions on Gradescope, a single team member uploads the finalized code file on behalf of the group. To ensure every member receives full credit, the submitting student must manually add all team members as official collaborators within the Gradescope submission interface. Following submission, the final code file should be placed in the team's shared storage repository or OneDrive folder so all members retain full access for future reference.