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: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

In this puzzle box we'll be using tools such as stegsnow, to find hidden data in files, and other useful tools such as cut, paste, and tac to assemble our ASCII image results with the correct orientation.

The first thing we want to do as always is investigate the files we received from /var/public/fall2024/unix/tpb1. We can do so using the file command. We should investigate all of the files we received if we want to be thorough. We should have two files, a README and a text file of some sort. An example might be iliad.txt

TOOLBOX

  • file(1) - determine file type
  • head(1) - output the first part of files
  • tail(1) - similar to head except it outputs the lines from the bottom up (-n can be used to specify the number of lines
  • rev(1) - reverse lines characterwise
  • stegsnow(1) - hides or reveals messages within trailing spaces of ASCII text that may or may not be encrypted
  • tac(1) - reverses the order of lines in a file, delimited by newline characters by default (this can be changed with the -s option)
  • cut(1) - used to extract sections of lines using delimiters that can be defined by the user with the -d option. The -f option will also be pertinent
  • paste(1) - used to merge lines from multiple files side by side using a user defined delimiter
  • cat(1) - cat can be used to merge two files vertically (cat file1 file2 > file3)
  • * uniq(1) - report or omit reported lines
 

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:

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

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/tpb1.txt · Last modified: 2024/09/10 14:12 by 127.0.0.1