Question: I need answer for this question plese using scheme code Question 1 . Your scheme program should return/show up to nth elements of the following

I need answer for this question plese using scheme code

Question 1. Your scheme program should return/show up to nth elements of the following series (solve any two series from the following lists- you may write separate program for each series) (2 pts)

  • 1, 1, 3, 7, 17, 41
  • 10 50 140 300 550
  • 1 2 9 4 20 27 7 56 81 .
  • 1 -4 3 -8 5 -16 7 ..

Question 2: Write a scheme program that accepts two lists- first one contains the key symbols and second one contains random symbols. The program should find out frequency of key symbols in the second list (1.5 pts)

Input: ((A X b) (A M z A X b S R T A X L M))

Output: (A 3 X 2 b 1)

Question 3: Write a scheme program that accepts two lists and use the 1st list to remove elements from the 2nd list. (1.5 pts)

Input: (3 4 8 2) (A B X D 5 W H % K O)

Output: (A 5 W H K O)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!