User Tools

Site Tools


haas:fall2021:unix:projects:mtf0

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
haas:fall2021:unix:projects:mtf0 [2020/10/17 14:20] – external edit 127.0.0.1haas:fall2021:unix:projects:mtf0 [2021/10/04 15:05] (current) – [bc] wedge
Line 115: Line 115:
  
 <cli> <cli>
-lab46:~/src/unix/mtf0$ bc -q+lab46:~/src/SEMESTER/DESIG/mtf0$ bc -q
 4*5 4*5
 20 20
Line 122: Line 122:
 Because it takes input from STDIN, and sends output to STDOUT, it can be especially useful in a command pipeline. Because it takes input from STDIN, and sends output to STDOUT, it can be especially useful in a command pipeline.
  
-By default, it expects input values to be in base 10, and outputs the result in base 10.+<cli> 
 +lab46:~/src/SEMESTER/DESIG/mtf0$ echo "4*5" | bc -q 
 +20 
 +</cli>
  
 +By default, it expects input values to be in base 10, and outputs the result in base 10. But it possesses the ability to change the base used for output and input transactions.
 +
 +NOTE: when changing the base, unless you take into account the representation of the base once the input base has been modified, change the output base before changing the input base. 
 ====printf==== ====printf====
-The **printf** tool is an especially powerful output formatter. +The **printf** tool is an especially powerful output formatter. 
 + 
 +=====Submission===== 
 +To successfully complete this project, the following criteria must be met: 
 + 
 +  * Code must compile cleanly (no notes, warnings, nor errors) 
 +  * Output must be correct, and match the form given in the sample output above. 
 +  * Code must be nicely and consistently indented 
 +  * Code must be well commented 
 +  * Do NOT double space your code. Group like statements together. 
 +  * Output Formatting (including spacing) of program must conform to the provided output (see above). 
 +  * Track/version the source code in a repository 
 +  * Submit a copy of your source code to me using the **submit** tool. 
 + 
 +To submit this program to me using the **submit** tool, run the following command at your lab46 prompt: 
 + 
 +<cli> 
 +lab46:~/src/SEMESTER/DESIG/mtf0$ make submit 
 + 
 +Project backup process commencing 
 + 
 +Taking snapshot of current project (mtf0)      ... OK 
 +Compressing snapshot of mtf0 project archive   ... OK 
 +Setting secure permissions on mtf0 archive     ... OK 
 + 
 +Project backup process complete 
 + 
 +Submitting DESIG project "mtf0": 
 +    -> ../mtf0-DATESTAMP-HOUR.tar.gz(OK) 
 + 
 +SUCCESSFULLY SUBMITTED 
 +lab46:~/src/SEMESTER/DESIG/mtf0$  
 +</cli> 
 + 
 +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. 
 + 
 +What I'll be looking for: 
 + 
 +<code> 
 +78:mtf0:final tally of results (78/78) 
 +*:mtf0:obtained via grabit by Sunday before deadline [6/6] 
 +*:mtf0:script contains no syntax errors [6/6] 
 +*:mtf0:script contains no logical errors [6/6] 
 +*:mtf0:script contains no runtime errors [6/6] 
 +*:mtf0:script performs stated task/algorithm [6/6] 
 +*:mtf0:script output conforms to formatting expectations [6/6] 
 +*:mtf0:proper error checking and status reporting performed [6/6] 
 +*:mtf0:code implements solution using relevant concepts [6/6] 
 +*:mtf0:code updates committed/pushed to lab46 semester repo [6/6] 
 +*:mtf0:code uses readable variable names describing action [6/6] 
 +*:mtf0:project is submitted with relevant and complete script [6/6] 
 +*:mtf0:project is submitted on lab46 using 'make submit' [6/6] 
 +*:mtf0:runtime runtime tests of submitted script succeed [6/6] 
 +</code> 
 + 
 +Additionally: 
 +  * Solutions not abiding by **SPIRIT** of project will be subject to a 25% 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 will be subject to a 25% overall deduction 
 +  * Solutions lacking **ORGANIZATION** ior are not easy to read (within 90 char width) are subject to a 25% overall deduction
haas/fall2021/unix/projects/mtf0.1602944425.txt.gz · Last modified: 2020/10/17 14:20 by 127.0.0.1