{"id":32518,"date":"2026-07-07T21:01:03","date_gmt":"2026-07-07T21:01:03","guid":{"rendered":"https:\/\/academicwritersbay.com\/solutions\/csc-110-project-4-programming-languages-ideas-programming-cmpsc-461-project-2-due-august-5-2019-at-1159-pm-instructions\/"},"modified":"2026-07-07T21:01:03","modified_gmt":"2026-07-07T21:01:03","slug":"csc-110-project-4-programming-languages-ideas-programming-cmpsc-461-project-2-due-august-5-2019-at-1159-pm-instructions","status":"publish","type":"post","link":"https:\/\/academicwritersbay.com\/solutions\/csc-110-project-4-programming-languages-ideas-programming-cmpsc-461-project-2-due-august-5-2019-at-1159-pm-instructions\/","title":{"rendered":"CSC 110 Project 4 Programming Languages Ideas Programming CMPSC 461 Project 2 Due August 5, 2019 at 11:59 pm Instructions:"},"content":{"rendered":"<p>CSC 110 Project 4<\/p>\n<p>Programming Languages Ideas Programming<\/p>\n<p>CMPSC 461<\/p>\n<p>Project 2<\/p>\n<p>Due August 5, 2019 at 11:59 pm<\/p>\n<p>Instructions:<\/p>\n<p>Download Dr. Racket and employ it to entire the next programming workout routines.<\/p>\n<p>NOTE: You would ONLY employ outmoded functions lined in module 10 equivalent to: append, pair, cons, null, automobile, cdr, plan, eval, demonstrate, write, learn, enter, position! beginning, cond, if, else, member, all predicates lined (eq?, eqv?\u2026..), let, let*, letrec, symbol, outline, lambda, length, checklist, quote (if there&#8217;s any varied functions that was lined within the lectures and is missing right here, please let me know. You would write extra helper functions whilst you&#8217;ll want to to to. In the occasion you use functions not lined within the modules, you&#8217;re going to create a 0 on your entire project and might maybe well unbiased be enviornment to plagiarism. Please test with the syllabus for more critical parts.<\/p>\n<p>Scrutinize more Academic Sources Records Administration knowledge Rubrics: as shown on Canvas<\/p>\n<p>Concerns: Whisper Racket language to answer the next questions.<\/p>\n<p>Write a feature delicate that ranges a nested checklist and returns fully one easy checklist (not nested). A sample flee is as follows: (delicate \u2018(a (b) ((c (d)) e))) must return (a b c d e)<\/p>\n<p>Implement a feature to meet a predicate Write a Contrivance feature that returns a checklist containing all aspects of a given checklist that fulfill a given premise. For instance, (fun (lambda (a) (< a 10)) \u2018(1 2 12 14 15)) must return (1 2).<\/p>\n<p>Write a feature multiply that multiplies two lists. You might maybe well take a look at your feature on varied lists, where lists will be empty, easy or nested lists. For instance:<\/p>\n<p>(multiply \u2018() \u2018(4 5)) returns () ii.(multiply \u2018(1 2) \u2018(3 4)) returns ((1 . 3) (1 . 4)(2 . 4) (2 . 3)) (Show that your printout instruct will be varied than mine)<\/p>\n<p>Scrutinize more Vocational &#038; Persevering with Training Java Machine Learning &#038; Synthetic Intelligence iii.(multiply \u2018(1 (10 2)) \u2018(4 5)) returns<\/p>\n<p>(((10 2) . 5) ((10 2) . 4) (1 . 5) (1 . 4))<\/p>\n<p>Elaborate a Contrivance feature known as overlap that takes two sorted lists of numbers as arguments and that returns a checklist of the values in approved between the two lists. For instance: (overlap \u2018(1 2 2 3 3 4 7 7 7) \u2018(1 2 2 2 2 3 5 7 8))<\/p>\n<p>(1 2 2 3 7)<\/p>\n<p>You would unbiased judge that your feature is passed two easy lists, that they be pleased fully numbers, and that the numbers appear in sorted (nondecreasing) instruct.\u00a0 Nonetheless as within the instance above, they&#8217;d perhaps unbiased be pleased duplicates.\u00a0 Any given amount from a checklist can match at most once.\u00a0 Thus, the two occurrences of two within the first checklist can match 2 of the occurrences of two within the 2d checklist, nonetheless the extra occurrences of two within the 2d checklist save not appear within the  because they aren\u2019t matched.\u00a0 In a similar vogue, the  includes fully one 7 even though the first checklist has three occurrences of seven since the 2d checklist has fully 1 such incidence.<\/p>\n<p>5-\u00a0\u00a0\u00a0 Implement checklist-tail and checklist-ref Your checklist-tail and checklist-ref functions must rob two operands, where the first operand needs to be a checklist, and the 2d operand needs to be an int.<\/p>\n<p>Scrutinize more Distance Learning Mathematics Coaching &#038; Certification (checklist-tail ) (checklist-ref )<\/p>\n<p>It&#8217;s an error ifhas fewer thanelements.<\/p>\n<p>checklist-tail must return the sublist ofobtained by omitting the firstelements.<\/p>\n<p>checklist-ref must return the kth ingredient of checklist. (This is equivalent to the automobile of (checklist-tail )). Listing-ref affords us an indexing operator luxuriate in operator[] in C++.<\/p>\n<p>For instance:<\/p>\n<blockquote><p>(checklist-tail \u2018(a b c d e) 2) (c d e) (checklist-ref \u2018(a b c d e) 2) c<\/p><\/blockquote>\n<p>Implement assoc The theory that of an alist (for \u201cassociation checklist\u201d) is fundamental to Contrivance\/LISP, and is the excellent imaginable implementation of a dictionary ADT built out of easy cons lists (c.f. plan in C++ STL). An alist needs to be a checklist of cons pairs, to illustrate:<\/p>\n<blockquote><p>(outline e \u2018((a 1) (b 2) (c 3)))<\/p><\/blockquote>\n<p>The Current Library plot assoc has the next form.:<\/p>\n<p>(assoc )<\/p>\n<p>It finds the first pair in whose automobile self-discipline is , and returns that pair. If no pair inhas as its automobile, then 0 (not the empty checklist) is returned.<\/p>\n<p>Show that assoc is required to employ equal? to evaluation with the gadgets in .<\/p>\n<p>For instance:<\/p>\n<blockquote><p>(assoc \u2018a e) (a 1) (assoc \u2018b e) (b 2) (assoc \u2018d e) 0 (assoc (checklist \u2018a) \u2018(((a)) ((b)) ((c)))) ((a)) (assoc 5 \u2018((2 3) (5 7) (11 13))) (5 7)<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>CSC 110 Project 4 Programming Languages Ideas Programming CMPSC 461 Project 2 Due August 5, 2019 at 11:59 pm Instructions: Download Dr. Racket and employ it to entire the next programming workout routines. NOTE: You would ONLY employ outmoded functions lined in module 10 equivalent to: append, pair, cons, null, automobile, cdr, plan, eval, demonstrate, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-32518","post","type-post","status-publish","format-standard","hentry","category-solutions"],"_links":{"self":[{"href":"https:\/\/academicwritersbay.com\/solutions\/wp-json\/wp\/v2\/posts\/32518","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/academicwritersbay.com\/solutions\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/academicwritersbay.com\/solutions\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/academicwritersbay.com\/solutions\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/academicwritersbay.com\/solutions\/wp-json\/wp\/v2\/comments?post=32518"}],"version-history":[{"count":0,"href":"https:\/\/academicwritersbay.com\/solutions\/wp-json\/wp\/v2\/posts\/32518\/revisions"}],"wp:attachment":[{"href":"https:\/\/academicwritersbay.com\/solutions\/wp-json\/wp\/v2\/media?parent=32518"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/academicwritersbay.com\/solutions\/wp-json\/wp\/v2\/categories?post=32518"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/academicwritersbay.com\/solutions\/wp-json\/wp\/v2\/tags?post=32518"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}