Send
Close Add comments:
(status displays here)
Got it! This site uses cookies. You consent to this by clicking on "Got it!" or by continuing to use this website.nbsp; Note: This appears on each machine/browser from which this site is accessed.
A1: Asmt#1: Programs that write programs
You are not logged in. Go to
Login page.
You need to login before you can view more content.(content omitted that requires login)
4. A1: Programs that write programs
175: Asmt#1: Programs that write programs , Name: ___________________________
CS 340, Fall 2019, York College of Pennsylvania
178, 40 points, 2019-09-20 (due by midnight)
Resubmit by 2019-10-03 with the following changes, if needed.
Your userid is the userid or user name that is in your YCP email address (Not your student number or anything else).
For example, the userid for email
rsnyder9@ycp.edu is
rsnyder9.
The subject line should be
A1, nothing else.
Submit a valid zip file (not a tgz, not a xzip, not a tar, etc.) that contains the following.
The program file for this assignment with the proper file extension. The filename should be userid-a1 (all lowercase).
The Word document as a valid docx file. The filename should be userid-a1 (all lowercase).
Word documents need to look nice. In the Word document, use a fixed width font for program text and a serif font (e.g., Times) for document text and a sans-serif font (e.g., Helvetica or Arial) for headers. Headers should be in bold and bigger than the other text.
Write a program that writes a program that writes a program that outputs your first and last name.
Find your user id below and use that sequence of languages.
acanzano : Go to Ruby to PHP
acastro7 : Go to Ruby to Python
aloehr : Go to Ruby to JavaScript
alouderback : Go to Ruby to Lua
cbrandt6 : Go to Julia to PHP
creynolds1 : Go to Julia to Python
dchism : Go to Julia to JavaScript
dhilbert1 : Go to Julia to Lua
dretzlaf : Go to Racket to PHP
jclegg1 : Go to Racket to Python
jgross11 : Go to Racket to JavaScript
jrhine : Go to Racket to Lua
jsam : Haskell to Ruby to PHP
jstambaugh : Haskell to Ruby to Python
jsteck : Haskell to Ruby to JavaScript
kkennelly : Haskell to Ruby to Lua
lgartrell : Haskell to Julia to PHP
nhays : Haskell to Julia to Python
pnelson1 : Haskell to Julia to JavaScript
pnorris : Haskell to Julia to Lua
qherb : Haskell to Racket to PHP
rgreaves : Haskell to Racket to Python
tjefferson : Haskell to Racket to JavaScript
tmcadams : Haskell to Racket to Lua
tswann2 : Clojure to Ruby to PHP
ttao1 : Clojure to Ruby to Python
vmaresca : Clojure to Ruby to JavaScript
wwyatt : Clojure to Ruby to Lua
zronayne : Clojure to Julia to PHP
5. Top down design
Note that a top-down backward chaining way of programming this assignment may work better than trying a bottom-up forward chaining way of programming this assignment.
6. Submit
Submit the following by sending an email to
rsnyder9@ycp.edu from your YCP email address/account.
Attach the following files to your message.
The program (as a text file, with the proper file extension).
A Word document that describes what you have done.
Include a section for the introduction, each of the program parts, and the summary at the end.
Program text should be in a fixed font such as "Courier New".
7. Comments after first grading
Below are some comments (added 2019-10-12)
8. Programs
Make sure that the escape backslashes work properly.
9. Document
Do not paste screen images into the document. Paste the actual program text and output text of each program with interspersed explanatory text.
Use the proper font styles, as specified above.
10. Scoring rubric
CS 340 - A1 : Asmt#1: Programs that write programs
Your grade: _ / 40
[LATE] Late or redo penalty: _ / -40
Program 2 writes 1: _ / 10
Program 3 writes 2: _ / 10
Document includes program and output: _ / 5
Document explanations as required: _ / 10
Document style - sections, text, programs: _ / 5
[CREDIT] Extra credit: _ / +8
Comments:
11. End of page