User Tools

Site Tools


Sidebar

projects

wcp1 (due 20240828)
wcp2 (due 20240904)
pct0 (bonus; due 20240905)
pct1 (bonus; due 20240905)
pct2 (due 20240905)
abc0 (due 20240906)
dac0 (due 20240911)
pct3 (bonus; due 20240911)
wcp3 (due 20240911)
gtf0 (due 20240918)
pct4 (due 20240918)
wcp4 (due 20240918)
pct5 (bonus; due 20240926)
tpb0 (due 20240926)
wcp5 (due 20240926)
gfo0 (due 20241002)
pct6 (due 20241002)
tpb1 (due 20241002)
wcp6 (due 20241002)
pct7 (bonus; due 20241009)
usr0 (due 20241009)
wcp7 (due 20241009)
bwp1 (bonus; due 20241016)
pct8 (due 20241016)
tpb2 (due 20241016)
wcp8 (due 20241016)
pct9 (bonus; due 20241023)
wcp9 (due 20241023)
wpa0 (due 20241023)
fwg0 (due 20241030)
gfo1 (due 20241030)
pctA (due 20241030)
wcpA (due 20241030)
pctB (bonus; due 20241106)
upf0 (due 20241106)
wcpB (due 20241106)
ldg0 (due 20241113)
pctC (due 20241113)
wcpC (due 20241113)
pctD (bonus; due 20241120)
wcpD (bonus; due 20241120)
bwp2 (bonus; due 20241204)
gfo2 (due 20241204)
pctE (bonus; due 20241204)
wcpE (bonus; due 20241204)
EoCE (due 20241216)
haas:fall2024:unix:projects:tpb0

Corning Community College

CSCS1730 UNIX/Linux Fundamentals

PROJECT: The Puzzle Box (TPB0)

OBJECTIVE

Use your observational skills, ability to track and utilize details, problem solving abilities, and investigative prowess to unravel the puzzle box, which will attempt to throw obstructions in your path to deter you from success.

As usual, provide documentation on the project page.

PROCESS

Do note, the productive way to go about this project involves taking the following steps:

  • starting early
  • reading the project page
  • asking questions regarding things you do not know, are not clear on, or are confused about
  • as information, concepts, processes become clear, that is something you can contribute to the project documentation (so you can better remember)

If you start too late, and do not ask questions, and do not have enough time and don't know what is going on, you are not doing the project correctly.

TASK

You are to unravel the puzzle, getting to the instructions inside. Be wary of deceptions and obstacles trying to throw you off track.

To start off, there is a starter puzzle, ascii.512 that must be solved and acted upon first before you can get to your actual puzzle.

You are seeking the creation of two files, that you will submit:

  • results - the final instructions correctly unscrambled
  • tpb0steps - a list of the steps taken to accomplish the core task

EDIT

You will want to go here to edit and fill in the various sections of the document:

TPB0

In this puzzle box we will navigate around our terminal environment to retrieve the initial project files from /var/public/USER, and mingle with different commands, archives, and encoding systems while solving the puzzle. Some of the commands we will use are outlined in the toolbox below.

After retrieving setup.exe, we have to figure out what to do with the file. Extensions are deceiving as they don't necessarily dictate what the file type really is, which is a common theme in this puzzle. We'll have to be cautious of this. In fact, in some cases we will actually have to change the extension of the file so that the tools we use know they can interact with them. Some of the tools we use will ignore files that seem incompatible based off of their naming convention.

TOOLBOX

  • base64(1) - base64 encode/decode data and print to standard output
  • chmod(1) - change file mode bits
  • cp(1) - copy files and directories
  • file(1) - determine file or data format
  • mv(1) - move (rename) files
  • tac(1) - concatenate and print files in reverse line-wise
  • rev(1) - concatenate and print files in reverse character-wise
  • tar(1) - an archiving utility
  • uudecode(1) - decode an uuencoded file
  • grep(1) - searching text within files
  • sort -n - sort file numerically by start of each line
    • This will become especially useful towards the end of our puzzle box as it will allow us to sort our results which we will ultimately submit. You can pipe the results of this command into your *results* file directly.
 

SUBMISSION

To be successful in this project, the following criteria (or their equivalent) must be met:

  • Project must be submit on time, by the deadline.
    • Late submissions will lose 33% credit per day, with the submission window closing on the 3rd day following the deadline.
  • All code must run cleanly (no warnings or errors)
    • all requested functionality must conform to stated requirements (either on this document or in a comment banner in source code files themselves).
  • Executed programs must display in a manner similar to provided output
    • output formatted, where applicable, must match that of project requirements
  • Processing must be correct based on input given and output requested
  • Output, if applicable, must be correct based on values input
  • Code must be nicely and consistently indented
  • Code must be consistently written, to strive for readability from having a consistent style throughout
  • Code must be commented
    • Any “to be implemented” comments MUST be removed
      • these “to be implemented” comments, if still present at evaluation time, will result in points being deducted.
      • Sufficient comments explaining the point of provided logic MUST be present
  • Track/version the source code in your lab46 semester repository
  • Submit a copy of your source code to me using the submit tool

Submit Tool Usage

Let's say you have completed work on the project, and are ready to submit, you would do the following:

lab46:~/src/SEMESTER/DESIG/PROJECT$ submit DESIG PROJECT file1 file2 file3 ... fileN

You should get some sort of confirmation indicating successful submission if all went according to plan. If not, check for typos and or locational mismatches.

RUBRIC

I'll be evaluating the project based on the following criteria:

65:tpb0:final tally of results (65/65)
*:tpb0:submitted results file via submit tool [8/8]
*:tpb0:submitted tpb0steps file via submit tool [8/8]
*:tpb0:results md5sum matches project MANIFEST [8/8]
*:tpb0:results is correctly unscrambled and assembled [8/8]
*:tpb0:tpb0steps contains valid set of instructions [8/8]
*:tpb0:tpb0steps any commentary after hash mark [8/8]
*:tpb0:emailed results via instructions [8/8]
*:tpb0:matching subject line as per instructions [9/9]

Pertaining to the collaborative authoring of project documentation

  • each class member is to participate in the contribution of relevant information and formatting of the documentation
    • minimal member contributions consist of:
      • near the class average edits (a value of at least four productive edits)
      • near the average class content change average (a value of at least 256 bytes (absolute value of data content change))
      • near the class total content contribution average (a value of at least 1kiB)
      • no zero-sum commits (adding in one commit then later removing in its entirety for the sake of satisfying edit requirements)
    • adding and formatting data in an organized fashion, aiming to create an informative and readable document that anyone in the class can reference
    • content contributions will be factored into a documentation coefficient, a value multiplied against your actual project submission to influence the end result:
      • no contributions, co-efficient is 0.50
      • less than minimum contributions is 0.75
      • met minimum contribution threshold is 1.00

Additionally

  • Solutions not abiding by spirit of project will be subject to a 50% overall deduction
  • Solutions not utilizing descriptive why and how comments will be subject to a 25% overall deduction
  • Solutions not utilizing indentation to promote scope and clarity or otherwise maintaining consistency in code style and presentation will be subject to a 25% overall deduction
  • Solutions not organized and easy to read (assume a terminal at least 90 characters wide, 40 characters tall) are subject to a 25% overall deduction
haas/fall2024/unix/projects/tpb0.txt · Last modified: 2024/09/02 14:58 by 127.0.0.1