R Scripts for Final Project
NOTE: Make sure to change the names of the files created in these scripts to your own unique names (not your_answer_file, etc). We don't want you to copy
these lines word for word. You can copy everything except the names of the intermediate/output files. Make sure to change the names of the files created
by the grep statements and Rscripts so that we know you understand what is happening and what files you are creating and manipulating.
Attached are 3 R scripts which you will need for the final project. Each one has been commented to explain what it does. Please read through them and make sure
you understand what they are doing.
FirstConvert.R
SecondConvert.R
WidetoLong.R
To run the scripts, you can add the bolded lines to your script where you created your_student_answers_file and your_answer_key_file from Code Review 8:
grep.... your.answer.key.file
grep.... your.student.answers.file
Rscript FirstConvert.R your_student_answers_file your_answer_key_file your_output_from_FirstConvert
Rscript WidetoLong.R your_output_from_FirstConvert your_output_from_WidetoLong
After running your script you should have a file that we'll call Long, which has Student_ld's, Form_Letter, Question_Number, and a column of o's and I's indicating if
they got the question right or wrong. You will notice that if you look at Long, there are quotes around the Form_Letter. These need to be removed. You can do this
using sed:
sed -i 'sA"//g' your_results_from_WidetoLong.R
You won't turn anything in for this part, but you will want to be sure that you understand this code and that it runs on your machine. If you have questions, ask the
T.A.'s.
CS 340 Milestone One Guidelines and Rubric Overview: For this assignment, you will implement the fundamental operations of create, read, update,
Retail Transaction Programming Project Project Requirements: Develop a program to emulate a purchase transaction at a retail store. This
7COM1028 Secure Systems Programming Referral Coursework: Secure
Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip
CS 340 Final Project Guidelines and Rubric Overview The final project will encompass developing a web service using a software stack and impleme