User Tools

Site Tools


Sidebar

projects

pct0 (bonus; due 20230823)
wcp1 (due 20230823)
abc0 (due 20230830)
pct1 (bonus; due 20230830)
pct2 (due 20230830)
wcp2 (due 20230830)
dac0 (due 20230906)
pct3 (bonus; due 20230906)
wcp3 (due 20230906)
gtf0 (due 20230913)
pct4 (due 20230913)
wcp4 (due 20230913)
pct5 (bonus; due 20230920)
tpb0 (due 20230920)
wcp5 (due 20230920)
gfo0 (due 20230927)
pct6 (due 20230927)
tpb1 (due 20230927)
wcp6 (due 20230927)
pct7 (bonus; due 20231004)
tpb2 (due 20231004)
wcp7 (due 20231004)
bwp1 (bonus; due 20231018)
pct8 (due 20231018)
usr0 (due 20231018)
wcp8 (due 20231018)
fwg0 (due 20231025)
pct9 (bonus; due 20231025)
wcp9 (due 20231025)
gfo1 (due 20231101)
pctA (due 20231101)
upf0 (due 20231101)
wcpA (due 20231101)
pctB (bonus; due 20231108)
usf0 (due 20231108)
wcpB (due 20231108)
ldg0 (due 20231115)
pctC (due 20231115)
wcpC (due 20231115)
bwp2 (bonus; due 20231129)
pctD (bonus; due 20231129)
wcpD (bonus; due 20231129)
gfo2 (due 20231206)
pctE (bonus; due 20231206)
wcpE (bonus; due 20231206)
EoCE (due 20231214)
haas:fall2023:unix:projects:tpb1

Corning Community College

CSCS1730 UNIX/Linux Fundamentals

PROJECT: The Next Puzzle Box (TPB1)

OBJECTIVE

To continue to cultivate your problem solving skills, and to demonstrate your basic scripting skills for task automation.

COMMENTARY

The first puzzlebox was in many ways a test of your observational skills. To many, the frustrations emerged from what was being taken for granted. But once you took proper notice, and could apply the appropriate skills, its secrets could be obtained.

This second puzzlebox will test both your observation skills (in a slightly different way) and reasoning skills in an abstract manner. Along with that, your scripting skills are being put to the test as well: your submission will more heavily rely upon a fully functional steps file that will entirely automate the process. If you are observant, the information you need is presented early on, but is a few layers of abstraction out of reach. Patience and perseverance will be key to victory.

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.

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

  • tpb1.results - the final instructions correctly unscrambled
  • tpb1steps - 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:

TPB1

Begin by going to /var/public/fall2023/unix/gfo0/. You should go into your directory and copy the file/s that are there to your home directory. Make sure to also grab the README file.

HINTS

It can prove to be helpful to use piping and redirection in this project

TOOLBOX

  • file(1)
  • sed(1)
  • basenc(1)
  • cat(1) - Used to view the contents of a file.
  • cut(1) - Outputs part the specified amount of a file. Can use the `-c` modifier to specify how many columns across you would like to output.
  • grep(1) -
  • head(1) - Outputs specified amount of a file. Can use the `-n` modifier to specify which rows starting from the top, to include.
  • paste(1) - Outputs the contents of two files next to each other horizontally. Can specify paste -d “” file1 file2 to output the files without any spaces seperating them.
  • sort(1) -
  • tail(1) - Similar to head but outputs rows of file from the bottom up. You can use the `-n` modifier to specify the number of lines from the bottom up you would like to be included.
  • tr(1) -
  • uudecode(1) -
  • uniq(1) -
  • Cat - Can use to merge 2 files vertically for example “cat AEIOU aeiou > test” so basically opposite of paste -d
  • sed - can be used to remove gap in line example : sed -i '/^$/d' file.txt

VERIFICATION

MD5SUM
 

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:

39:tpb1:final tally of results (39/39)
*:tpb1:submitted tpb1.results file via submit tool [3/3]
*:tpb1:submitted tpb1steps file via submit tool [3/3]
*:tpb1:both files pushed to lab46 semester repository [6/6]
*:tpb1:tpb1.results is correctly unscrambled and assembled [6/6]
*:tpb1:tpb1.results md5sum matches project MANIFEST [6/6]
*:tpb1:tpb1steps has valid list of non-interactive instructions [3/3]
*:tpb1:tpb1steps uses shell features like wildcards, IO redir [3/3]
*:tpb1:tpb1steps contains comments explaining process [3/3]
*:tpb1:tpb1steps automates the project when executed [3/3]
*:tpb1:tpb1steps when executed outputs nothing [3/3]

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/fall2023/unix/projects/tpb1.txt · Last modified: 2023/09/10 20:53 by 127.0.0.1